Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test75,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001985, allocations: 206.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.1 MB / 222.6 MB, free: 4.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3968/0.3968, allocations: 43.49 MB / 313.5 MB, free: 8.488 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 67.91 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1601, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004418/0.1646, allocations: 1.9 MB / 441.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1664, allocations: 0.8781 MB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.662e-05/0.1665, allocations: 3.938 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005992/0.1672, allocations: 223.5 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.1676, allocations: 147.6 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1679, allocations: 139.8 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.1685, allocations: 215.3 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1686, allocations: 33.52 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.1689, allocations: 99.59 kB / 443.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.1693, allocations: 143.5 kB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1693, allocations: 4 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1695, allocations: 47.97 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.1695, allocations: 55.77 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.1696, allocations: 87.28 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1699, allocations: 203.5 kB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1699, allocations: 0 / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.17, allocations: 4 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.17, allocations: 0 / 444 MB, free: 10.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009904/0.171, allocations: 0.537 MB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/0.171, allocations: 8.031 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/0.1711, allocations: 28.59 kB / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.1715, allocations: 280.1 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1716, allocations: 8.375 kB / 444.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.1716, allocations: 16.02 kB / 444.9 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.172, allocations: 95.36 kB / 444.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.172, allocations: 0 / 444.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.172, allocations: 8 kB / 445 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.172, allocations: 0 / 445 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1722, allocations: 39.91 kB / 445 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.1728, allocations: 445 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.1733, allocations: 117.3 kB / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.1734, allocations: 37.7 kB / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1734, allocations: 8 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/0.1738, allocations: 113 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.1738, allocations: 0 / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009447/0.1747, allocations: 367.8 kB / 446.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.1748, allocations: 92.98 kB / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.1752, allocations: 424.5 kB / 446.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.1753, allocations: 29.7 kB / 446.6 MB, free: 7.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1754, allocations: 152.3 kB / 446.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.1754, allocations: 47.39 kB / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.1755, allocations: 37.7 kB / 446.8 MB, free: 7.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1757, allocations: 342.8 kB / 447.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1758, allocations: 43.97 kB / 447.2 MB, free: 7.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1759, allocations: 67.42 kB / 447.3 MB, free: 7.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.1761, allocations: 119.5 kB / 447.4 MB, free: 6.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1761, allocations: 4 kB / 447.4 MB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003233/0.1765, allocations: 193.1 kB / 447.6 MB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1765, allocations: 4 kB / 447.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1765, allocations: 0 / 447.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1765, allocations: 4 kB / 447.6 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1767, allocations: 32.73 kB / 447.6 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1767, allocations: 7.938 kB / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.1768, allocations: 4 kB / 447.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1768, allocations: 11.94 kB / 447.6 MB, free: 6.711 MB / 382.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001726/0.177, allocations: 173.7 kB / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.177, allocations: 31.61 kB / 447.8 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.048e-05/0.1771, allocations: 42.61 kB / 447.9 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1771, allocations: 0 / 447.9 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.1771, allocations: 7.938 kB / 447.9 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1772, allocations: 4 kB / 447.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/0.178, allocations: 0.6241 MB / 448.5 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.178, allocations: 0 / 448.5 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.178, allocations: 16 kB / 448.5 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.178, allocations: 0 / 448.5 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1781, allocations: 7.984 kB / 448.5 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1781, allocations: 3.938 kB / 448.5 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1781, allocations: 4 kB / 448.5 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.1785, allocations: 364.2 kB / 448.9 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.1786, allocations: 104.7 kB / 449 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1787, allocations: 0 / 449 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1788, allocations: 11.98 kB / 449 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.1789, allocations: 19.86 kB / 449 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1789, allocations: 12 kB / 449 MB, free: 5.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003363/0.1793, allocations: 319 kB / 449.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1793, allocations: 0 / 449.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1796, allocations: 40 kB / 449.4 MB, free: 4.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.001295/0.1809, allocations: 469.3 kB / 449.9 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003461/0.1813, allocations: 119.9 kB / 450 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1813, allocations: 3.938 kB / 450 MB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1814, allocations: 55.91 kB / 450 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.182, allocations: 76.66 kB / 450.1 MB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1831, allocations: 0.5354 MB / 450.6 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.1836, allocations: 0.7635 MB / 451.4 MB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.753e-05/0.1837, allocations: 30.55 kB / 451.4 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.1837, allocations: 23.44 kB / 451.5 MB, free: 2.75 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1837, allocations: 0 / 451.5 MB, free: 2.75 MB / 382.1 MB Notification: Performance of Templates: time 0.006656/0.1904, allocations: 2.605 MB / 454.1 MB, free: 152 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches