Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 115.8 kB / 19.18 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 212.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 230.2 MB / 255.1 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2436/0.2436, allocations: 46.88 MB / 358.1 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 83.86 kB / 0.4924 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.147, allocations: 65.98 MB / 0.5569 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004294/0.1513, allocations: 2.368 MB / 0.5592 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.154, allocations: 1.404 MB / 0.5605 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.1542, allocations: 7.938 kB / 0.5606 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.1548, allocations: 303 kB / 0.5608 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.1556, allocations: 334.6 kB / 0.5612 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.1561, allocations: 211.5 kB / 0.5614 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006919/0.1568, allocations: 0.5531 MB / 0.5619 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.157, allocations: 37.08 kB / 0.5619 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.1574, allocations: 251 kB / 0.5622 GB, free: 412 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.1578, allocations: 294.8 kB / 0.5625 GB, free: 116 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.1578, allocations: 20 kB / 0.5625 GB, free: 96 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.158, allocations: 55.98 kB / 0.5625 GB, free: 40 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.1582, allocations: 115.5 kB / 0.5626 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1584, allocations: 182.6 kB / 0.5628 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.1589, allocations: 429.8 kB / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1589, allocations: 4 kB / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1589, allocations: 4 kB / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1589, allocations: 0 / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001341/0.1603, allocations: 0.8169 MB / 0.564 GB, free: 14.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1603, allocations: 8.031 kB / 0.564 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.1604, allocations: 56.56 kB / 0.5641 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/0.1612, allocations: 440.2 kB / 0.5645 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1612, allocations: 12.38 kB / 0.5645 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.1613, allocations: 12.38 kB / 0.5645 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.1617, allocations: 206.1 kB / 0.5647 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1617, allocations: 4 kB / 0.5647 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1618, allocations: 12 kB / 0.5648 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1618, allocations: 4 kB / 0.5648 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.162, allocations: 95.86 kB / 0.5648 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1631, allocations: 0.8683 MB / 0.5657 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.1637, allocations: 269.3 kB / 0.566 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.164, allocations: 100.2 kB / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.164, allocations: 4 kB / 0.566 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/0.1644, allocations: 223.5 kB / 0.5663 GB, free: 11.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.1644, allocations: 0 / 0.5663 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.002316/0.1667, allocations: 1.042 MB / 0.5673 GB, free: 10.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.1669, allocations: 170.2 kB / 0.5674 GB, free: 10.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008276/0.1677, allocations: 0.6514 MB / 0.5681 GB, free: 10.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.1677, allocations: 45.69 kB / 0.5681 GB, free: 9.977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.168, allocations: 237 kB / 0.5683 GB, free: 9.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.1681, allocations: 127 kB / 0.5685 GB, free: 9.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.1682, allocations: 70.12 kB / 0.5685 GB, free: 9.543 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00036/0.1686, allocations: 378.8 kB / 0.5689 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.1688, allocations: 96.83 kB / 0.569 GB, free: 9.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.1692, allocations: 184.9 kB / 0.5692 GB, free: 8.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.1698, allocations: 292.5 kB / 0.5694 GB, free: 8.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1698, allocations: 0 / 0.5694 GB, free: 8.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008235/0.1706, allocations: 412.9 kB / 0.5698 GB, free: 8.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1706, allocations: 11.94 kB / 0.5699 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1707, allocations: 7.938 kB / 0.5699 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.1707, allocations: 4 kB / 0.5699 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.171, allocations: 83.89 kB / 0.5699 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.171, allocations: 7.938 kB / 0.5699 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.1712, allocations: 19.92 kB / 0.57 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.1713, allocations: 20 kB / 0.57 GB, free: 7.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0004213/0.1717, allocations: 212.4 kB / 0.5702 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.1718, allocations: 67.52 kB / 0.5703 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.1719, allocations: 60.41 kB / 0.5703 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1719, allocations: 8 kB / 0.5703 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.172, allocations: 0 / 0.5703 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.172, allocations: 7.984 kB / 0.5703 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.1737, allocations: 1.281 MB / 0.5716 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1737, allocations: 0 / 0.5716 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1739, allocations: 51.92 kB / 0.5716 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1739, allocations: 4 kB / 0.5716 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.1739, allocations: 16.14 kB / 0.5716 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1739, allocations: 4 kB / 0.5717 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.1739, allocations: 7.938 kB / 0.5717 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.175, allocations: 0.8166 MB / 0.5725 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1752, allocations: 132.7 kB / 0.5726 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.1752, allocations: 15.94 kB / 0.5726 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.1756, allocations: 19.92 kB / 0.5726 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.1758, allocations: 44.27 kB / 0.5727 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.1758, allocations: 19.98 kB / 0.5727 GB, free: 5.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006067/0.1764, allocations: 490.8 kB / 0.5731 GB, free: 4.605 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1764, allocations: 0 / 0.5731 GB, free: 4.605 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005842/0.177, allocations: 83.92 kB / 0.5732 GB, free: 4.523 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001781/0.1788, allocations: 483 kB / 0.5737 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007523/0.1795, allocations: 280.4 kB / 0.574 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1795, allocations: 3.938 kB / 0.574 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.1798, allocations: 136.1 kB / 0.5741 GB, free: 3.812 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.1809, allocations: 143.9 kB / 0.5742 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.1825, allocations: 0.9559 MB / 0.5752 GB, free: 2.664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.1831, allocations: 0.8557 MB / 0.576 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1832, allocations: 63.42 kB / 0.5761 GB, free: 1.715 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1832, allocations: 3.938 kB / 0.5761 GB, free: 1.711 MB / 430.1 MB Notification: Performance of Templates: time 0.01198/0.1952, allocations: 6.605 MB / 0.5825 GB, free: 11.13 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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: 9.034521467983723]