Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.001443/0.001443, allocations: 114.4 kB / 19.18 MB, free: 3.871 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.00146/0.00146, allocations: 205 kB / 22.13 MB, free: 0.9258 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.52/1.52, allocations: 230.3 MB / 255.2 MB, free: 15.33 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.2362/0.2362, allocations: 46.91 MB / 358.2 MB, free: 10.43 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70") [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.002318/0.002318, allocations: 87.86 kB / 0.4926 GB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1598, allocations: 66.01 MB / 0.557 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003936/0.1638, allocations: 1.818 MB / 0.5588 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.1661, allocations: 1.108 MB / 0.5599 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1663, allocations: 7.938 kB / 0.5599 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.1669, allocations: 311.3 kB / 0.5602 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006517/0.1675, allocations: 259.2 kB / 0.5604 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.1679, allocations: 107.7 kB / 0.5605 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.1684, allocations: 263.2 kB / 0.5608 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.429e-05/0.1684, allocations: 9.625 kB / 0.5608 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.1687, allocations: 139.5 kB / 0.5609 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.169, allocations: 219.4 kB / 0.5612 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.169, allocations: 8 kB / 0.5612 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1692, allocations: 39.98 kB / 0.5612 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.1693, allocations: 147.6 kB / 0.5613 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.1695, allocations: 150.7 kB / 0.5615 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.17, allocations: 386.2 kB / 0.5618 GB, free: 0.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.17, allocations: 0 / 0.5618 GB, free: 0.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.17, allocations: 0 / 0.5618 GB, free: 0.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1701, allocations: 0 / 0.5618 GB, free: 0.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001215/0.1713, allocations: 0.7577 MB / 0.5626 GB, free: 15.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1713, allocations: 8.031 kB / 0.5626 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.1714, allocations: 52.61 kB / 0.5626 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.1721, allocations: 468.3 kB / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.1722, allocations: 4.375 kB / 0.5631 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1722, allocations: 8.312 kB / 0.5631 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1724, allocations: 87.67 kB / 0.5632 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1724, allocations: 0 / 0.5632 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1724, allocations: 4 kB / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1724, allocations: 0 / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1725, allocations: 39.91 kB / 0.5632 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.173, allocations: 378.3 kB / 0.5636 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.1733, allocations: 101.2 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.614e-05/0.1734, allocations: 41.7 kB / 0.5637 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1734, allocations: 3.984 kB / 0.5637 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.1736, allocations: 109 kB / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1736, allocations: 0 / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005087/0.1741, allocations: 201.2 kB / 0.564 GB, free: 14.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1742, allocations: 81.05 kB / 0.5641 GB, free: 13.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.1754, allocations: 1.054 MB / 0.5651 GB, free: 12.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1755, allocations: 29.7 kB / 0.5652 GB, free: 12.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.1757, allocations: 236.1 kB / 0.5654 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.1757, allocations: 35.72 kB / 0.5654 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.1758, allocations: 29.72 kB / 0.5655 GB, free: 12.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.176, allocations: 370.8 kB / 0.5658 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.1761, allocations: 31.97 kB / 0.5658 GB, free: 12.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1762, allocations: 54.92 kB / 0.5659 GB, free: 12.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.1763, allocations: 91.36 kB / 0.566 GB, free: 12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1764, allocations: 3.984 kB / 0.566 GB, free: 11.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003065/0.1767, allocations: 173.8 kB / 0.5661 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1767, allocations: 11.94 kB / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1767, allocations: 0 / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1767, allocations: 0 / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1768, allocations: 31.92 kB / 0.5662 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1768, allocations: 0 / 0.5662 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.324e-05/0.1769, allocations: 8 kB / 0.5662 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1769, allocations: 11.98 kB / 0.5662 GB, free: 11.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002249/0.1772, allocations: 217.8 kB / 0.5664 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.1772, allocations: 59.56 kB / 0.5665 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1773, allocations: 64.12 kB / 0.5665 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1773, allocations: 0 / 0.5665 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1774, allocations: 7.938 kB / 0.5665 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1774, allocations: 0 / 0.5665 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.1777, allocations: 341.5 kB / 0.5669 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.1777, allocations: 3.938 kB / 0.5669 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.1777, allocations: 15.94 kB / 0.5669 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1777, allocations: 0 / 0.5669 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1778, allocations: 7.984 kB / 0.5669 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1778, allocations: 0 / 0.5669 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1778, allocations: 0 / 0.5669 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.1781, allocations: 205.5 kB / 0.5671 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.1783, allocations: 144.7 kB / 0.5672 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.1783, allocations: 4 kB / 0.5672 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.1784, allocations: 7.984 kB / 0.5672 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.1785, allocations: 11.98 kB / 0.5672 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1785, allocations: 4 kB / 0.5673 GB, free: 10.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008853/0.1794, allocations: 0.78 MB / 0.568 GB, free: 9.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1794, allocations: 0 / 0.568 GB, free: 9.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1796, allocations: 47.94 kB / 0.5681 GB, free: 9.754 MB / 430.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001572/0.1812, allocations: 418.1 kB / 0.5685 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1815, allocations: 83.83 kB / 0.5685 GB, free: 9.391 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1815, allocations: 0 / 0.5685 GB, free: 9.391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1816, allocations: 31.98 kB / 0.5686 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.182, allocations: 69.02 kB / 0.5686 GB, free: 9.297 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1834, allocations: 0.934 MB / 0.5695 GB, free: 8.328 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.1839, allocations: 0.8505 MB / 0.5704 GB, free: 7.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.184, allocations: 27.44 kB / 0.5704 GB, free: 7.43 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.184, allocations: 0 / 0.5704 GB, free: 7.43 MB / 430.1 MB Notification: Performance of Templates: time 0.009442/0.1934, allocations: 5.212 MB / 0.5755 GB, free: 2.219 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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: 7.933225250002579]