Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008602, allocations: 95.2 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 241.8 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.222/0.222, allocations: 44.23 MB / 337.1 MB, free: 2.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 12 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002729/0.1621, allocations: 1.352 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1636, allocations: 0.7764 MB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.1637, allocations: 0 / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1641, allocations: 35.78 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1643, allocations: 51.86 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1646, allocations: 86.64 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1648, allocations: 63.84 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.791e-05/0.1649, allocations: 4 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.165, allocations: 39.84 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1651, allocations: 27.86 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1652, allocations: 4 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.459e-05/0.1652, allocations: 19.92 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.1653, allocations: 27.91 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.1654, allocations: 45.64 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1656, allocations: 84.09 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1656, allocations: 0 / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1656, allocations: 0 / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1656, allocations: 0 / 474.1 MB, free: 11.1 MB / 350.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.0007488/0.1664, allocations: 406.8 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.1664, allocations: 8.031 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.1665, allocations: 11.89 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1668, allocations: 222.5 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1669, allocations: 4 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.1669, allocations: 8 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1671, allocations: 49.62 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1671, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1671, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1672, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.45e-05/0.1672, allocations: 15.98 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.1675, allocations: 189.7 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1677, allocations: 58.56 kB / 475 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.1677, allocations: 3.984 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.168, allocations: 67.44 kB / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.168, allocations: 0 / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003153/0.1683, allocations: 105.4 kB / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.1684, allocations: 55.41 kB / 475.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.1687, allocations: 262.3 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1687, allocations: 25.7 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1688, allocations: 112.1 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.1689, allocations: 7.906 kB / 475.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.1689, allocations: 4 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.169, allocations: 322.8 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.1691, allocations: 19.97 kB / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.1692, allocations: 33.7 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.1692, allocations: 12 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1692, allocations: 0 / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001444/0.1694, allocations: 85.69 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1694, allocations: 4 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1694, allocations: 3.953 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1695, allocations: 4.062 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.1695, allocations: 15.98 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1696, allocations: 4.031 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.1696, allocations: 15.84 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1696, allocations: 0 / 476.2 MB, free: 8.777 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.1698, allocations: 134.3 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1698, allocations: 15.84 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.1698, allocations: 16.98 kB / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1699, allocations: 7.953 kB / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1699, allocations: 0 / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1699, allocations: 0 / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1701, allocations: 197.6 kB / 476.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1701, allocations: 0 / 476.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.1701, allocations: 4 kB / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1701, allocations: 3.938 kB / 476.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1701, allocations: 0 / 476.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1701, allocations: 0 / 476.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1701, allocations: 7.953 kB / 476.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.1703, allocations: 108.9 kB / 476.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.1704, allocations: 100.8 kB / 476.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1704, allocations: 0 / 476.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.1705, allocations: 8 kB / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1705, allocations: 7.938 kB / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1705, allocations: 4 kB / 476.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1707, allocations: 188.5 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1707, allocations: 0 / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1709, allocations: 27.98 kB / 477 MB, free: 7.863 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001103/0.172, allocations: 409.1 kB / 477.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.1722, allocations: 35.98 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1723, allocations: 4 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.1723, allocations: 15.94 kB / 477.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.1726, allocations: 23.97 kB / 477.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.1732, allocations: 269.9 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1735, allocations: 0.7219 MB / 478.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.329e-05/0.1736, allocations: 20.41 kB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.1736, allocations: 15.42 kB / 478.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1736, allocations: 0 / 478.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of Templates: time 0.004325/0.178, allocations: 1.408 MB / 479.9 MB, free: 5.066 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches