Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.001378/0.001378, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001374/0.001374, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.8 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1983/0.1983, allocations: 44.18 MB / 336.1 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.84 kB / 407.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1083, allocations: 60.84 MB / 468.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003599/0.112, allocations: 2.27 MB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.114, allocations: 1.185 MB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.1142, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.1146, allocations: 115.5 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.1151, allocations: 163.4 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.1159, allocations: 279 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.1164, allocations: 394.8 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1166, allocations: 57 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.117, allocations: 259 kB / 473.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1171, allocations: 143.2 kB / 473.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.1172, allocations: 8 kB / 473.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.1174, allocations: 67.92 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1175, allocations: 111.6 kB / 473.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1177, allocations: 178.6 kB / 473.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.1181, allocations: 414.3 kB / 474.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1182, allocations: 0 / 474.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1182, allocations: 0 / 474.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1182, allocations: 0 / 474.2 MB, free: 9.062 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001068/0.1192, allocations: 0.8012 MB / 475 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1193, allocations: 12.03 kB / 475.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.1194, allocations: 46.73 kB / 475.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1195, allocations: 56.22 kB / 475.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.1199, allocations: 407.7 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.12, allocations: 8.375 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.12, allocations: 23.92 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.1204, allocations: 193.5 kB / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1204, allocations: 7.891 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1204, allocations: 4 kB / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1205, allocations: 4 kB / 475.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.1207, allocations: 91.88 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009336/0.1217, allocations: 0.8015 MB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.1223, allocations: 238.5 kB / 476.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.1225, allocations: 99.45 kB / 477 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1226, allocations: 4 kB / 477 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/0.123, allocations: 192.3 kB / 477.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.123, allocations: 8 kB / 477.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002494/0.1255, allocations: 1.084 MB / 478.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.1256, allocations: 136.5 kB / 478.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007903/0.1264, allocations: 0.7567 MB / 479.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.1265, allocations: 37.7 kB / 479.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.1267, allocations: 236.9 kB / 479.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.1268, allocations: 138.1 kB / 479.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.1269, allocations: 82.12 kB / 479.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1271, allocations: 370.8 kB / 480 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1274, allocations: 112.8 kB / 480.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1277, allocations: 191.1 kB / 480.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.1282, allocations: 318.7 kB / 480.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1282, allocations: 0 / 480.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007621/0.129, allocations: 432.5 kB / 481.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.129, allocations: 10.5 kB / 481.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1291, allocations: 4.125 kB / 481.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1291, allocations: 4 kB / 481.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.1294, allocations: 83.91 kB / 481.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.1294, allocations: 15.86 kB / 481.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.1296, allocations: 12 kB / 481.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.1296, allocations: 23.98 kB / 481.2 MB, free: 1.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002579/0.1299, allocations: 224 kB / 481.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.13, allocations: 71.08 kB / 481.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.1301, allocations: 88.72 kB / 481.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1301, allocations: 4 kB / 481.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1301, allocations: 3.938 kB / 481.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1302, allocations: 7.984 kB / 481.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.1319, allocations: 1.295 MB / 482.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1319, allocations: 4.25 kB / 482.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1321, allocations: 67.91 kB / 483 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.1321, allocations: 4 kB / 483 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.1321, allocations: 19.98 kB / 483 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1321, allocations: 4 kB / 483 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1321, allocations: 7.938 kB / 483 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.133, allocations: 0.7773 MB / 483.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.1332, allocations: 168.3 kB / 483.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.1332, allocations: 19.98 kB / 484 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1335, allocations: 12 kB / 484 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.1336, allocations: 36.27 kB / 484 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.1337, allocations: 23.98 kB / 484 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006009/0.1343, allocations: 0.5535 MB / 484.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1343, allocations: 0 / 484.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.1348, allocations: 87.94 kB / 484.7 MB, free: 14.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002238/0.1371, allocations: 1.745 MB / 486.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006175/0.1377, allocations: 315.6 kB / 486.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1377, allocations: 0 / 486.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.138, allocations: 152.5 kB / 486.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/0.139, allocations: 122.5 kB / 487 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/0.1452, allocations: 4.901 MB / 491.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.1457, allocations: 0.8813 MB / 492.8 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.1459, allocations: 79.23 kB / 492.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.1461, allocations: 183.4 kB / 493 MB, free: 5.668 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1462, allocations: 3.938 kB / 493 MB, free: 5.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.1687, allocations: 10 MB / 0.4913 GB, free: 11.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.1689, allocations: 245.8 kB / 0.4915 GB, free: 11.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.048, allocations: 0 / 0.4915 GB, free: 11.56 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches