Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.001257/0.001258, allocations: 103 kB / 16.27 MB, free: 5.93 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.00131/0.00131, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.832/1.832, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2573/0.2573, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.002928/0.002929, allocations: 73 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1642, allocations: 57.78 MB / 440.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003914/0.1682, allocations: 1.772 MB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1705, allocations: 1.486 MB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1706, allocations: 7.938 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.171, allocations: 51.75 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.1713, allocations: 87.53 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1716, allocations: 147.4 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.1718, allocations: 175.5 kB / 444.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.912e-05/0.1719, allocations: 9.562 kB / 444.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.172, allocations: 83.62 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.1722, allocations: 74.86 kB / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.1723, allocations: 8 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1724, allocations: 63.97 kB / 444.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.1725, allocations: 27.92 kB / 444.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.1726, allocations: 59.64 kB / 444.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.1728, allocations: 179.6 kB / 444.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1729, allocations: 0 / 444.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1729, allocations: 0 / 444.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1729, allocations: 0 / 444.7 MB, free: 2.641 MB / 318.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.0006973/0.1736, allocations: 474.6 kB / 445.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1736, allocations: 11.89 kB / 445.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.1737, allocations: 16.75 kB / 445.2 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.174, allocations: 247.4 kB / 445.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.174, allocations: 8.359 kB / 445.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1741, allocations: 8.125 kB / 445.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.1743, allocations: 97.03 kB / 445.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1743, allocations: 0 / 445.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1743, allocations: 7.984 kB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1743, allocations: 0 / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1744, allocations: 31.92 kB / 445.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.1747, allocations: 206.6 kB / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1749, allocations: 105.2 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.175, allocations: 53.5 kB / 446 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.175, allocations: 4 kB / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.1753, allocations: 109 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.1753, allocations: 0 / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004191/0.1757, allocations: 161.4 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1758, allocations: 136.5 kB / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.176, allocations: 211.8 kB / 446.6 MB, free: 0.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.176, allocations: 29.7 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.176, allocations: 116.1 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.1761, allocations: 27.59 kB / 446.8 MB, free: 372 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.1761, allocations: 33.7 kB / 446.8 MB, free: 332 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1763, allocations: 326.8 kB / 447.1 MB, free: 16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.1763, allocations: 23.98 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1765, allocations: 77.06 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1767, allocations: 83.89 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1767, allocations: 4 kB / 447.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002754/0.1769, allocations: 141.3 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.177, allocations: 8 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.177, allocations: 4.062 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.177, allocations: 0 / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1771, allocations: 27.92 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1771, allocations: 0 / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.1772, allocations: 7.906 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1773, allocations: 8 kB / 447.5 MB, free: 15.58 MB / 334.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.0001521/0.1774, allocations: 133.8 kB / 447.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1775, allocations: 15.81 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.1775, allocations: 20.98 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1775, allocations: 4 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1775, allocations: 0 / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1775, allocations: 3.984 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.1778, allocations: 221.5 kB / 447.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1778, allocations: 4 kB / 447.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.1778, allocations: 7.938 kB / 447.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1778, allocations: 7.984 kB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1778, allocations: 0 / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1778, allocations: 0 / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1778, allocations: 3.938 kB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.1782, allocations: 177.6 kB / 448.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.1782, allocations: 88.92 kB / 448.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.1783, allocations: 3.984 kB / 448.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.1784, allocations: 8 kB / 448.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1784, allocations: 7.984 kB / 448.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1784, allocations: 8.125 kB / 448.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.1786, allocations: 169.5 kB / 448.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1786, allocations: 0 / 448.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1789, allocations: 40 kB / 448.4 MB, free: 14.58 MB / 334.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.001138/0.18, allocations: 439.4 kB / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.1803, allocations: 95.84 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1803, allocations: 0 / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1804, allocations: 39.98 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1808, allocations: 57.86 kB / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.1815, allocations: 276.2 kB / 449.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.1819, allocations: 0.7163 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.476e-05/0.182, allocations: 25.53 kB / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.1821, allocations: 23.42 kB / 450 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1821, allocations: 3.938 kB / 450 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Templates: time 0.006219/0.1883, allocations: 2.633 MB / 452.7 MB, free: 10.33 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches