Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 104 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 192.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 222.8 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3365/0.3365, allocations: 43.5 MB / 313.6 MB, free: 8.461 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00165/0.001651, allocations: 67.91 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1141, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.003265/0.1174, allocations: 1.614 MB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.1182, allocations: 323.5 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.1182, allocations: 0 / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1186, allocations: 91.8 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1188, allocations: 67.81 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.119, allocations: 75.89 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1192, allocations: 67.83 kB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1193, allocations: 28.23 kB / 442.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.1194, allocations: 35.86 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1195, allocations: 47.88 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1196, allocations: 4 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.1196, allocations: 31.98 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1197, allocations: 23.92 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.1197, allocations: 27.69 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1199, allocations: 99.64 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1199, allocations: 0 / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1199, allocations: 0 / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1199, allocations: 0 / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005131/0.1205, allocations: 406.9 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1205, allocations: 11.89 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.1206, allocations: 38.73 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.1206, allocations: 12.84 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1208, allocations: 196.7 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.1208, allocations: 4.375 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.1208, allocations: 384 / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.121, allocations: 57.55 kB / 443.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.121, allocations: 0 / 443.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.121, allocations: 12 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.121, allocations: 0 / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.578e-05/0.1211, allocations: 23.98 kB / 443.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.1215, allocations: 284.9 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1217, allocations: 50.5 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.1218, allocations: 16.94 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1218, allocations: 0 / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1218, allocations: 34.56 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1218, allocations: 0 / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005808/0.1224, allocations: 153.2 kB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1225, allocations: 55.41 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1227, allocations: 227.1 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1227, allocations: 25.7 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.1228, allocations: 104 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.1228, allocations: 23.73 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.1229, allocations: 17.66 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1231, allocations: 326.8 kB / 444.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.1231, allocations: 23.98 kB / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.836e-05/0.1232, allocations: 19.98 kB / 444.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1233, allocations: 56.7 kB / 444.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1233, allocations: 3.984 kB / 444.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001719/0.1235, allocations: 85.58 kB / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1235, allocations: 4 kB / 444.9 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1236, allocations: 0 / 444.9 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1236, allocations: 8 kB / 444.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.1236, allocations: 11.98 kB / 444.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1237, allocations: 0 / 444.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.1237, allocations: 4 kB / 444.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1237, allocations: 7.938 kB / 444.9 MB, free: 9.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.1239, allocations: 125.8 kB / 445 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.1239, allocations: 12.09 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.1241, allocations: 114.8 kB / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1242, allocations: 3.984 kB / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1242, allocations: 0 / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1242, allocations: 0 / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.1247, allocations: 370.4 kB / 445.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1247, allocations: 0 / 445.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.1247, allocations: 11.98 kB / 445.5 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1248, allocations: 4 kB / 445.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1248, allocations: 0 / 445.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1248, allocations: 7.938 kB / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1248, allocations: 0 / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.125, allocations: 183.4 kB / 445.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.1251, allocations: 84.92 kB / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1251, allocations: 4 kB / 445.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.1252, allocations: 11.92 kB / 445.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1252, allocations: 4 kB / 445.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1252, allocations: 3.938 kB / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1254, allocations: 175.2 kB / 446 MB, free: 8.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1254, allocations: 0 / 446 MB, free: 8.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1256, allocations: 16 kB / 446 MB, free: 8.371 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.127, allocations: 1.016 MB / 447 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1272, allocations: 55.91 kB / 447.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1272, allocations: 0 / 447.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.1273, allocations: 27.97 kB / 447.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1276, allocations: 27.73 kB / 447.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1293, allocations: 1.636 MB / 448.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1297, allocations: 0.7119 MB / 449.5 MB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.1297, allocations: 4.25 kB / 449.5 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.1298, allocations: 35.42 kB / 449.5 MB, free: 4.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1298, allocations: 0 / 449.5 MB, free: 4.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3044/0.4342, allocations: 2.656 MB / 452.2 MB, free: 2.098 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/0.4345, allocations: 234.8 kB / 452.4 MB, free: 1.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.628, allocations: 0 / 452.4 MB, free: 1.84 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches