Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001378/0.001378, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.00151/0.00151, allocations: 211.3 kB / 21.4 MB, free: 1.645 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.498/1.498, allocations: 227.4 MB / 251.7 MB, free: 40 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.2401/0.2401, allocations: 46.17 MB / 351.1 MB, free: 14.25 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003183/0.003183, allocations: 83.28 kB / 490.3 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1523, allocations: 62.44 MB / 0.5397 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004774/0.1572, allocations: 1.693 MB / 0.5414 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1596, allocations: 1.007 MB / 0.5424 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.655e-05/0.1597, allocations: 7.938 kB / 0.5424 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.1602, allocations: 43.81 kB / 0.5424 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.1606, allocations: 103.5 kB / 0.5425 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1609, allocations: 79.66 kB / 0.5426 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.1612, allocations: 95.7 kB / 0.5427 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.1612, allocations: 12.22 kB / 0.5427 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1614, allocations: 39.8 kB / 0.5427 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1615, allocations: 27.84 kB / 0.5428 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1615, allocations: 4 kB / 0.5428 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1616, allocations: 31.98 kB / 0.5428 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.1617, allocations: 27.86 kB / 0.5428 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.763e-05/0.1619, allocations: 47.59 kB / 0.5429 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1622, allocations: 119.4 kB / 0.543 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1622, allocations: 0 / 0.543 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1622, allocations: 4 kB / 0.543 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1622, allocations: 0 / 0.543 GB, free: 0.7891 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007462/0.163, allocations: 449.4 kB / 0.5434 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.163, allocations: 8.031 kB / 0.5434 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.1631, allocations: 12.89 kB / 0.5434 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.1635, allocations: 221.1 kB / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1635, allocations: 384 / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.1635, allocations: 4.312 kB / 0.5437 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1637, allocations: 65.92 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1638, allocations: 3.938 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1638, allocations: 0 / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1638, allocations: 0 / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.791e-05/0.1639, allocations: 15.98 kB / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.1642, allocations: 189.7 kB / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1644, allocations: 50.62 kB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.1645, allocations: 24.84 kB / 0.544 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1645, allocations: 3.938 kB / 0.544 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1647, allocations: 67.33 kB / 0.5441 GB, free: 15.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.1647, allocations: 0 / 0.5441 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003855/0.1651, allocations: 97.77 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.1652, allocations: 55.41 kB / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.1656, allocations: 282.7 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1657, allocations: 25.7 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1658, allocations: 116.1 kB / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.1658, allocations: 11.91 kB / 0.5446 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.1659, allocations: 21.72 kB / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1661, allocations: 326.8 kB / 0.545 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.1662, allocations: 12.06 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/0.1663, allocations: 37.7 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1664, allocations: 41.7 kB / 0.545 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1665, allocations: 0 / 0.545 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002502/0.1667, allocations: 97.45 kB / 0.5451 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1668, allocations: 4 kB / 0.5451 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1668, allocations: 0 / 0.5451 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1668, allocations: 0 / 0.5451 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1669, allocations: 16.03 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1669, allocations: 3.984 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.167, allocations: 3.953 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.167, allocations: 4 kB / 0.5452 GB, free: 14.32 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 (7): * Single equations (assignments): 7 * 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.0001507/0.1672, allocations: 137.8 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.1672, allocations: 15.84 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.1673, allocations: 20.98 kB / 0.5453 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1673, allocations: 0 / 0.5453 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1673, allocations: 4 kB / 0.5453 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1673, allocations: 4 kB / 0.5453 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.1676, allocations: 197.6 kB / 0.5455 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1676, allocations: 0 / 0.5455 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.1676, allocations: 7.938 kB / 0.5455 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1676, allocations: 0 / 0.5455 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1677, allocations: 3.938 kB / 0.5455 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1677, allocations: 4 kB / 0.5455 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1677, allocations: 0 / 0.5455 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.168, allocations: 121 kB / 0.5457 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.1681, allocations: 96.89 kB / 0.5458 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.1681, allocations: 3.984 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.512e-05/0.1682, allocations: 4 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1682, allocations: 0 / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.1682, allocations: 4 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.1685, allocations: 200.6 kB / 0.546 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1685, allocations: 0 / 0.546 GB, free: 13.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.1689, allocations: 20 kB / 0.546 GB, free: 13.4 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002044/0.171, allocations: 398.6 kB / 0.5464 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1713, allocations: 51.92 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1713, allocations: 3.938 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.1714, allocations: 19.98 kB / 0.5464 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1718, allocations: 29.98 kB / 0.5465 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.1724, allocations: 274.3 kB / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.1729, allocations: 0.7197 MB / 0.5474 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.628e-05/0.173, allocations: 16.53 kB / 0.5474 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.173, allocations: 11.44 kB / 0.5474 GB, free: 11.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.173, allocations: 0 / 0.5474 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Templates: time 0.006714/0.1797, allocations: 1.536 MB / 0.5489 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.147958626970649]