Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 98.81 kB / 16.99 MB, free: 6.402 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.001388/0.001388, allocations: 178.7 kB / 17.88 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.536/1.536, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2483/0.2483, allocations: 44.23 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004347, allocations: 15.98 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 61.92 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003117/0.1632, allocations: 1.546 MB / 473 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.165, allocations: 0.8933 MB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.1651, allocations: 3.938 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.1657, allocations: 147.6 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.166, allocations: 115.8 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.1666, allocations: 162.2 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.1669, allocations: 147.7 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1671, allocations: 21.67 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1672, allocations: 91.66 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1674, allocations: 95.66 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1674, allocations: 7.938 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1676, allocations: 47.92 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.1677, allocations: 39.83 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.1678, allocations: 61.56 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.168, allocations: 151.9 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.168, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.168, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1681, allocations: 0 / 475 MB, free: 10.18 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008609/0.1689, allocations: 0.4943 MB / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.169, allocations: 8.031 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.1691, allocations: 23.72 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.1696, allocations: 270.4 kB / 475.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.1696, allocations: 8 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1696, allocations: 4 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.1699, allocations: 115.3 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1699, allocations: 0 / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.17, allocations: 0 / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.17, allocations: 4 kB / 475.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.1701, allocations: 47.91 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009963/0.1711, allocations: 464.8 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.1716, allocations: 125.2 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1716, allocations: 0 / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/0.172, allocations: 131.7 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.172, allocations: 0 / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001483/0.1735, allocations: 485.1 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.1736, allocations: 85.06 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/0.1742, allocations: 343 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.1742, allocations: 41.69 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.1744, allocations: 144.5 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.1745, allocations: 67.08 kB / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.1745, allocations: 8 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003116/0.1748, allocations: 338.8 kB / 478.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.175, allocations: 55.97 kB / 478.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1752, allocations: 95.28 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1754, allocations: 67.98 kB / 478.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1754, allocations: 0 / 478.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005104/0.1759, allocations: 229.3 kB / 478.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.1759, allocations: 11.94 kB / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1759, allocations: 240 / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1759, allocations: 0 / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1761, allocations: 47.91 kB / 478.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1761, allocations: 12.05 kB / 478.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.1762, allocations: 11.95 kB / 478.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1762, allocations: 11.94 kB / 478.7 MB, free: 6.238 MB / 350.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002349/0.1765, allocations: 162.3 kB / 478.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.1765, allocations: 31.62 kB / 478.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.73e-05/0.1766, allocations: 29.73 kB / 478.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.1766, allocations: 4 kB / 478.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.1766, allocations: 0 / 478.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1766, allocations: 7.984 kB / 478.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.1776, allocations: 0.7115 MB / 479.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1776, allocations: 4.125 kB / 479.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.122e-05/0.1777, allocations: 35.94 kB / 479.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1777, allocations: 4 kB / 479.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1777, allocations: 7.984 kB / 479.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1778, allocations: 7.938 kB / 479.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1778, allocations: 0 / 479.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.1785, allocations: 469.4 kB / 480.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.1786, allocations: 108.7 kB / 480.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.1786, allocations: 19.94 kB / 480.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.1788, allocations: 12 kB / 480.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.1788, allocations: 15.97 kB / 480.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.1789, allocations: 12 kB / 480.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002802/0.1792, allocations: 257.9 kB / 480.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1792, allocations: 0 / 480.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.1796, allocations: 51.98 kB / 480.6 MB, free: 4.156 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001294/0.1809, allocations: 0.5146 MB / 481.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003939/0.1813, allocations: 159.8 kB / 481.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1813, allocations: 0 / 481.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.1814, allocations: 79.78 kB / 481.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.1818, allocations: 53.22 kB / 481.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.1828, allocations: 0.5192 MB / 481.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.1833, allocations: 0.7638 MB / 482.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.1834, allocations: 45.91 kB / 482.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.1835, allocations: 31.42 kB / 482.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1835, allocations: 0 / 482.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Templates: time 0.007021/0.1905, allocations: 2.819 MB / 485.6 MB, free: 15.33 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches