Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01289/0.01289, allocations: 101.1 kB / 15.87 MB, free: 6.309 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.002706/0.002705, allocations: 193.4 kB / 16.79 MB, free: 6.238 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.964/1.964, allocations: 205.1 MB / 222.7 MB, free: 4.742 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.4186/0.4186, allocations: 43.5 MB / 313.5 MB, free: 8.473 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.001581/0.001581, allocations: 70.55 kB / 382.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1628, allocations: 57.78 MB / 439.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003828/0.1666, allocations: 1.756 MB / 441.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1688, allocations: 1.371 MB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.1689, allocations: 7.938 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1692, allocations: 35.89 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1695, allocations: 47.83 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1697, allocations: 71.84 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1699, allocations: 91.75 kB / 443.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.17, allocations: 20.16 kB / 443.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.1701, allocations: 35.78 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1703, allocations: 43.78 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1703, allocations: 0 / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1704, allocations: 59.97 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.1705, allocations: 11.97 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.1706, allocations: 31.75 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.1708, allocations: 127.9 kB / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1708, allocations: 0 / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1708, allocations: 0 / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1708, allocations: 4 kB / 443.5 MB, free: 11.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007741/0.1716, allocations: 395.1 kB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1717, allocations: 11.97 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.1717, allocations: 12.84 kB / 443.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.1721, allocations: 204.1 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1721, allocations: 4.375 kB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1721, allocations: 8.125 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.1724, allocations: 79.31 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1724, allocations: 0 / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1724, allocations: 0 / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1724, allocations: 0 / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.1725, allocations: 23.92 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.1732, allocations: 284.8 kB / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1734, allocations: 66.61 kB / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.633e-05/0.1735, allocations: 20.84 kB / 444.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1735, allocations: 0 / 444.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/0.1738, allocations: 67.39 kB / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.1738, allocations: 0 / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000773/0.1746, allocations: 169.2 kB / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1747, allocations: 85.11 kB / 444.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1749, allocations: 145.8 kB / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1749, allocations: 33.69 kB / 445.1 MB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.175, allocations: 92.14 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.1751, allocations: 27.64 kB / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.1752, allocations: 21.72 kB / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1754, allocations: 322.8 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.1754, allocations: 31.92 kB / 445.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.1755, allocations: 42.94 kB / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1757, allocations: 57.7 kB / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1757, allocations: 0 / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.1759, allocations: 105.6 kB / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.1759, allocations: 8 kB / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1759, allocations: 4.062 kB / 445.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.176, allocations: 0 / 445.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1761, allocations: 15.98 kB / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.1761, allocations: 4 kB / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.1762, allocations: 11.88 kB / 445.8 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1762, allocations: 4 kB / 445.8 MB, free: 8.512 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001136/0.1763, allocations: 117.8 kB / 446 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1764, allocations: 15.81 kB / 446 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.1764, allocations: 16.7 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1764, allocations: 4 kB / 446 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1764, allocations: 0 / 446 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1764, allocations: 3.938 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.1769, allocations: 387.3 kB / 446.4 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1769, allocations: 0 / 446.4 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.177, allocations: 11.98 kB / 446.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.177, allocations: 192 / 446.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.177, allocations: 7.938 kB / 446.4 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.177, allocations: 7.969 kB / 446.4 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.177, allocations: 0 / 446.4 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1773, allocations: 200.2 kB / 446.6 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1773, allocations: 85.02 kB / 446.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1774, allocations: 7.922 kB / 446.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.1774, allocations: 8 kB / 446.7 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.1775, allocations: 8 kB / 446.7 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1775, allocations: 3.984 kB / 446.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.632e-05/0.1776, allocations: 118.9 kB / 446.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1776, allocations: 0 / 446.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1779, allocations: 31.98 kB / 446.9 MB, free: 7.395 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001214/0.1791, allocations: 0.5122 MB / 447.4 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1793, allocations: 59.91 kB / 447.4 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1793, allocations: 0 / 447.4 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.1794, allocations: 35.98 kB / 447.5 MB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1798, allocations: 27.98 kB / 447.5 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.1802, allocations: 200.7 kB / 447.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1806, allocations: 0.7005 MB / 448.4 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.1806, allocations: 16.88 kB / 448.4 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.1807, allocations: 23.42 kB / 448.4 MB, free: 5.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1807, allocations: 0 / 448.4 MB, free: 5.805 MB / 382.1 MB Notification: Performance of Templates: time 0.004916/0.1856, allocations: 1.885 MB / 450.3 MB, free: 3.922 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches