Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 MB " [Timeout remaining time 180] 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 70.86 kB / 491.9 MB, free: 30.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.152, allocations: 64.25 MB / 0.5431 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004485/0.1565, allocations: 1.715 MB / 0.5448 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1582, allocations: 0.8924 MB / 0.5456 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.944e-05/0.1583, allocations: 0 / 0.5456 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1587, allocations: 39.75 kB / 0.5457 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1589, allocations: 51.77 kB / 0.5457 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1593, allocations: 115.2 kB / 0.5458 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.1596, allocations: 99.69 kB / 0.5459 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1597, allocations: 12.5 kB / 0.5459 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1598, allocations: 39.8 kB / 0.546 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.1599, allocations: 31.83 kB / 0.546 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.1599, allocations: 4 kB / 0.546 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.16, allocations: 43.98 kB / 0.546 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.1601, allocations: 27.86 kB / 0.5461 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.1602, allocations: 35.73 kB / 0.5461 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.1604, allocations: 107.5 kB / 0.5462 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1605, allocations: 4 kB / 0.5462 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1605, allocations: 0 / 0.5462 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1605, allocations: 0 / 0.5462 GB, free: 0.9258 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006932/0.1612, allocations: 418.7 kB / 0.5466 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1612, allocations: 15.97 kB / 0.5466 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.1612, allocations: 38.69 kB / 0.5467 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.1613, allocations: 8.891 kB / 0.5467 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.1617, allocations: 208.1 kB / 0.5469 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1617, allocations: 4.375 kB / 0.5469 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1617, allocations: 7.938 kB / 0.5469 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1619, allocations: 53.67 kB / 0.5469 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1619, allocations: 0 / 0.5469 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1619, allocations: 0 / 0.5469 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1619, allocations: 0 / 0.5469 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.855e-05/0.162, allocations: 23.98 kB / 0.547 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.1625, allocations: 288.8 kB / 0.5472 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1627, allocations: 62.66 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.1627, allocations: 12.86 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1627, allocations: 4 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.1629, allocations: 71.31 kB / 0.5474 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1629, allocations: 0 / 0.5474 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005649/0.1635, allocations: 173.4 kB / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.1635, allocations: 59.34 kB / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.1637, allocations: 190.1 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1638, allocations: 29.7 kB / 0.5478 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1638, allocations: 104.1 kB / 0.5479 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.1639, allocations: 23.8 kB / 0.5479 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1639, allocations: 21.7 kB / 0.548 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1641, allocations: 326.8 kB / 0.5483 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.1642, allocations: 20 kB / 0.5483 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.1642, allocations: 33.7 kB / 0.5483 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1644, allocations: 65.64 kB / 0.5484 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1644, allocations: 0 / 0.5484 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.1646, allocations: 101.9 kB / 0.5485 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1646, allocations: 8.031 kB / 0.5485 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1646, allocations: 4 kB / 0.5485 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1646, allocations: 0 / 0.5485 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.1647, allocations: 19.94 kB / 0.5485 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1647, allocations: 0 / 0.5485 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.1648, allocations: 19.86 kB / 0.5485 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1648, allocations: 4.188 kB / 0.5485 GB, free: 14.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001197/0.1649, allocations: 119.5 kB / 0.5486 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1649, allocations: 15.84 kB / 0.5487 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.165, allocations: 20.7 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.165, allocations: 4 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.165, allocations: 0 / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.165, allocations: 3.938 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.1655, allocations: 383.3 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.1655, allocations: 4 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.1655, allocations: 7.984 kB / 0.5491 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1655, allocations: 7.938 kB / 0.5491 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1655, allocations: 8.031 kB / 0.5491 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1655, allocations: 0 / 0.5491 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.1655, allocations: 7.938 kB / 0.5491 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1658, allocations: 196.3 kB / 0.5493 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.1659, allocations: 85.02 kB / 0.5494 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.1659, allocations: 11.94 kB / 0.5494 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.166, allocations: 7.984 kB / 0.5494 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.166, allocations: 4 kB / 0.5494 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.166, allocations: 4 kB / 0.5494 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1662, allocations: 148 kB / 0.5495 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1662, allocations: 0 / 0.5495 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1664, allocations: 16 kB / 0.5495 GB, free: 13.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002313/0.1688, allocations: 1.102 MB / 0.5506 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.169, allocations: 55.92 kB / 0.5507 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.169, allocations: 0 / 0.5507 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.169, allocations: 31.91 kB / 0.5507 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1694, allocations: 34.62 kB / 0.5507 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1717, allocations: 1.626 MB / 0.5523 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1721, allocations: 0.7118 MB / 0.553 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.778e-05/0.1722, allocations: 17.17 kB / 0.553 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.1723, allocations: 31.42 kB / 0.5531 GB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1723, allocations: 0 / 0.5531 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.1983, allocations: 3.383 MB / 0.5564 GB, free: 6.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.087, allocations: 25.22 kB / 0.5564 GB, free: 6.242 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.191806174814701]