Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 104.2 kB / 18.4 MB, free: 4.676 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.00113/0.00113, allocations: 186.9 kB / 19.34 MB, free: 3.742 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.535/1.535, allocations: 222.9 MB / 243 MB, free: 15.07 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.2659/0.2659, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 60.84 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1646, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003474/0.1681, allocations: 1.79 MB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.1705, allocations: 1.561 MB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.1706, allocations: 4 kB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1709, allocations: 51.69 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.1712, allocations: 87.55 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.1716, allocations: 174.6 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.1719, allocations: 187.4 kB / 474.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.172, allocations: 9.562 kB / 474.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1721, allocations: 79.56 kB / 474.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1724, allocations: 67.69 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1724, allocations: 8 kB / 474.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1726, allocations: 63.97 kB / 474.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.1726, allocations: 31.84 kB / 474.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.1727, allocations: 59.61 kB / 474.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.173, allocations: 171.5 kB / 475 MB, free: 9.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.173, allocations: 0 / 475 MB, free: 9.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.173, allocations: 0 / 475 MB, free: 9.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.173, allocations: 0 / 475 MB, free: 9.289 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007119/0.1737, allocations: 470.6 kB / 475.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1738, allocations: 8.031 kB / 475.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.1739, allocations: 20.69 kB / 475.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.1742, allocations: 244.5 kB / 475.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1742, allocations: 4.375 kB / 475.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1743, allocations: 4.125 kB / 475.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1745, allocations: 105 kB / 475.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1745, allocations: 0 / 475.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1745, allocations: 4 kB / 475.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1746, allocations: 4 kB / 475.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1747, allocations: 35.91 kB / 475.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.1749, allocations: 210.5 kB / 476.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.1752, allocations: 113.2 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.1753, allocations: 45.64 kB / 476.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1753, allocations: 7.984 kB / 476.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1755, allocations: 109 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1755, allocations: 0 / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004322/0.176, allocations: 169.4 kB / 476.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.1761, allocations: 128.5 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1763, allocations: 211.8 kB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1763, allocations: 29.7 kB / 476.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.1764, allocations: 112.1 kB / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.1765, allocations: 23.7 kB / 477.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.1765, allocations: 25.72 kB / 477.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1767, allocations: 334.8 kB / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.1767, allocations: 27.98 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1769, allocations: 65.14 kB / 477.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.177, allocations: 99.88 kB / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.177, allocations: 0 / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002485/0.1773, allocations: 141.2 kB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1773, allocations: 8 kB / 477.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1773, allocations: 0 / 477.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1774, allocations: 0 / 477.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1775, allocations: 23.98 kB / 477.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1775, allocations: 0 / 477.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.357e-05/0.1776, allocations: 19.98 kB / 477.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1776, allocations: 4 kB / 477.8 MB, free: 6.23 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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001292/0.1777, allocations: 133.7 kB / 477.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1778, allocations: 23.73 kB / 477.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.1778, allocations: 21 kB / 478 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1778, allocations: 0 / 478 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1778, allocations: 0 / 478 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1779, allocations: 3.984 kB / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.178, allocations: 217.4 kB / 478.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1781, allocations: 4 kB / 478.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.1781, allocations: 12 kB / 478.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1781, allocations: 3.938 kB / 478.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1781, allocations: 4 kB / 478.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1781, allocations: 3.984 kB / 478.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1781, allocations: 0 / 478.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.1784, allocations: 177.8 kB / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.1785, allocations: 88.95 kB / 478.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1785, allocations: 4 kB / 478.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.1786, allocations: 7.984 kB / 478.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.1787, allocations: 11.98 kB / 478.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1787, allocations: 4 kB / 478.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1788, allocations: 161.5 kB / 478.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1788, allocations: 0 / 478.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1791, allocations: 39.98 kB / 478.7 MB, free: 5.227 MB / 350.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001122/0.1802, allocations: 446.7 kB / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1805, allocations: 83.89 kB / 479.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1805, allocations: 128 / 479.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1806, allocations: 43.91 kB / 479.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.181, allocations: 68.89 kB / 479.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.1815, allocations: 259.8 kB / 479.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1819, allocations: 0.7163 MB / 480.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.577e-05/0.182, allocations: 29.52 kB / 480.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.1821, allocations: 31.42 kB / 480.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1821, allocations: 0 / 480.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of Templates: time 0.006038/0.1881, allocations: 2.645 MB / 483 MB, free: 1.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches