Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001512/0.001512, allocations: 123.9 kB / 18.45 MB, free: 4.594 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.001425/0.001425, allocations: 201.8 kB / 21.4 MB, free: 1.648 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.538/1.538, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2576/0.2576, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 92.55 kB / 490.3 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1463, allocations: 62.46 MB / 0.5398 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004148/0.1505, allocations: 2.276 MB / 0.542 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.153, allocations: 1.311 MB / 0.5433 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.1532, allocations: 7.938 kB / 0.5433 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.1537, allocations: 143.2 kB / 0.5434 GB, free: 376 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.1544, allocations: 254.9 kB / 0.5437 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.1548, allocations: 191.5 kB / 0.5439 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.1554, allocations: 458.7 kB / 0.5443 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.1555, allocations: 65 kB / 0.5444 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.1559, allocations: 299 kB / 0.5446 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1561, allocations: 167.1 kB / 0.5448 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.1562, allocations: 16 kB / 0.5448 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1563, allocations: 71.98 kB / 0.5449 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.1565, allocations: 155.4 kB / 0.545 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1567, allocations: 202.3 kB / 0.5452 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.1574, allocations: 485.4 kB / 0.5457 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1574, allocations: 0 / 0.5457 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1574, allocations: 0 / 0.5457 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.1574, allocations: 0 / 0.5457 GB, free: 14.04 MB / 414.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.001325/0.1587, allocations: 0.9211 MB / 0.5466 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1588, allocations: 13.11 kB / 0.5466 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1589, allocations: 68.47 kB / 0.5467 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.1596, allocations: 456.7 kB / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.1596, allocations: 12.38 kB / 0.5471 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.1597, allocations: 20.31 kB / 0.5471 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.1601, allocations: 197.3 kB / 0.5473 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1601, allocations: 0 / 0.5473 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.1601, allocations: 11.98 kB / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1601, allocations: 7.938 kB / 0.5473 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.1604, allocations: 83.94 kB / 0.5474 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009572/0.1613, allocations: 0.829 MB / 0.5482 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/0.162, allocations: 246.5 kB / 0.5485 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.1622, allocations: 91.52 kB / 0.5486 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.1622, allocations: 4 kB / 0.5486 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.1626, allocations: 204.2 kB / 0.5487 GB, free: 10.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.684e-06/0.1626, allocations: 0 / 0.5487 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002754/0.1654, allocations: 1.206 MB / 0.5499 GB, free: 9.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1655, allocations: 140.5 kB / 0.5501 GB, free: 9.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.1666, allocations: 0.9536 MB / 0.551 GB, free: 8.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.1667, allocations: 45.64 kB / 0.551 GB, free: 8.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.1669, allocations: 269 kB / 0.5513 GB, free: 7.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1671, allocations: 146.8 kB / 0.5514 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.1672, allocations: 82.03 kB / 0.5515 GB, free: 7.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1674, allocations: 329.9 kB / 0.5518 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1676, allocations: 112.8 kB / 0.5519 GB, free: 7.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.1679, allocations: 187.2 kB / 0.5521 GB, free: 7.121 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.1685, allocations: 319.1 kB / 0.5524 GB, free: 6.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1685, allocations: 3.938 kB / 0.5524 GB, free: 6.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007883/0.1693, allocations: 445.1 kB / 0.5528 GB, free: 6.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1693, allocations: 4 kB / 0.5528 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1693, allocations: 7.984 kB / 0.5529 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1694, allocations: 4 kB / 0.5529 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.1696, allocations: 87.89 kB / 0.5529 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1697, allocations: 8.125 kB / 0.553 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.1698, allocations: 20 kB / 0.553 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.1699, allocations: 19.98 kB / 0.553 GB, free: 6.191 MB / 414.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.0002967/0.1702, allocations: 259.8 kB / 0.5532 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1703, allocations: 75.48 kB / 0.5533 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.1705, allocations: 93.73 kB / 0.5534 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1705, allocations: 4 kB / 0.5534 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1705, allocations: 0 / 0.5534 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.1705, allocations: 8 kB / 0.5534 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.1722, allocations: 1.33 MB / 0.5547 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1722, allocations: 4.094 kB / 0.5547 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.1724, allocations: 67.84 kB / 0.5548 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.1724, allocations: 4 kB / 0.5548 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.1725, allocations: 19.92 kB / 0.5548 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/0.1725, allocations: 4 kB / 0.5548 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1725, allocations: 4 kB / 0.5548 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/0.1734, allocations: 0.8009 MB / 0.5556 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.1736, allocations: 188.5 kB / 0.5558 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.1737, allocations: 12 kB / 0.5558 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.1739, allocations: 19.98 kB / 0.5558 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.266e-05/0.174, allocations: 43.83 kB / 0.5558 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.1741, allocations: 20 kB / 0.5559 GB, free: 3.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000754/0.1748, allocations: 0.706 MB / 0.5566 GB, free: 2.387 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1749, allocations: 0 / 0.5566 GB, free: 2.387 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005109/0.1754, allocations: 87.92 kB / 0.5566 GB, free: 2.301 MB / 414.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.001914/0.1773, allocations: 0.5252 MB / 0.5571 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006467/0.1779, allocations: 319.6 kB / 0.5575 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.178, allocations: 0 / 0.5575 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.1783, allocations: 163.7 kB / 0.5576 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009272/0.1792, allocations: 134.8 kB / 0.5577 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.1809, allocations: 1.21 MB / 0.5589 GB, free: 84 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.1815, allocations: 0.92 MB / 0.5598 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.1817, allocations: 80.03 kB / 0.5599 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.1818, allocations: 51.42 kB / 0.5599 GB, free: 15.01 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1818, allocations: 4 kB / 0.5599 GB, free: 15.01 MB / 430.1 MB Notification: Performance of Templates: time 0.01107/0.1929, allocations: 5.534 MB / 0.5654 GB, free: 9.512 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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: 5.457178051583469]