Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008454/0.0008455, allocations: 102.4 kB / 16.02 MB, free: 76 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.0008987/0.0008988, allocations: 185.9 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.5273/0.5273, allocations: 43.57 MB / 315 MB, free: 8.676 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.0005906/0.0005906, allocations: 16 kB / 384.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1651, allocations: 58.87 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003049/0.1682, allocations: 1.997 MB / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1703, allocations: 1.147 MB / 446.6 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1704, allocations: 7.938 kB / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.171, allocations: 267.3 kB / 446.9 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.1715, allocations: 243.1 kB / 447.1 MB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.1723, allocations: 303.5 kB / 447.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.1728, allocations: 0.4906 MB / 447.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.1731, allocations: 53.34 kB / 447.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.1734, allocations: 211 kB / 448.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.1737, allocations: 254.9 kB / 448.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.1738, allocations: 8 kB / 448.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1739, allocations: 51.97 kB / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.174, allocations: 103.5 kB / 448.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.1742, allocations: 192.4 kB / 448.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.1747, allocations: 374.4 kB / 449.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1747, allocations: 0 / 449.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1747, allocations: 0 / 449.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1747, allocations: 4 kB / 449.1 MB, free: 6.949 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001107/0.1758, allocations: 0.6894 MB / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1759, allocations: 12.03 kB / 449.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.708e-05/0.176, allocations: 52.28 kB / 449.9 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.1765, allocations: 403.9 kB / 450.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.1766, allocations: 12.38 kB / 450.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.1766, allocations: 24.02 kB / 450.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.177, allocations: 202.6 kB / 450.5 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1771, allocations: 0 / 450.5 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.1771, allocations: 15.92 kB / 450.5 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1771, allocations: 4 kB / 450.5 MB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.1774, allocations: 95.88 kB / 450.6 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1784, allocations: 0.8527 MB / 451.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.179, allocations: 289.3 kB / 451.7 MB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.1792, allocations: 92.27 kB / 451.8 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.1793, allocations: 11.92 kB / 451.8 MB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.1797, allocations: 227.4 kB / 452.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.1798, allocations: 0 / 452.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001959/0.1817, allocations: 0.9795 MB / 453 MB, free: 2.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/0.1818, allocations: 158.2 kB / 453.2 MB, free: 2.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006859/0.1825, allocations: 0.6198 MB / 453.8 MB, free: 1.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.1826, allocations: 37.7 kB / 453.9 MB, free: 1.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.1827, allocations: 221.1 kB / 454.1 MB, free: 1.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1829, allocations: 122.3 kB / 454.2 MB, free: 1.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.1829, allocations: 37.7 kB / 454.2 MB, free: 1.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1831, allocations: 370.8 kB / 454.6 MB, free: 1.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1833, allocations: 96.83 kB / 454.7 MB, free: 1.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1836, allocations: 188.8 kB / 454.9 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.1841, allocations: 296.8 kB / 455.2 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1841, allocations: 0 / 455.2 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006821/0.1848, allocations: 412.5 kB / 455.6 MB, free: 88 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1849, allocations: 8 kB / 455.6 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1849, allocations: 0 / 455.6 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1849, allocations: 8 kB / 455.6 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.281/0.4659, allocations: 81.17 kB / 455.7 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.466, allocations: 8.734 kB / 455.7 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.4664, allocations: 22.23 kB / 455.7 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.4664, allocations: 20.19 kB / 455.7 MB, free: 46.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0003155/0.4668, allocations: 209 kB / 455.9 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/0.4668, allocations: 56.77 kB / 456 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.467, allocations: 69.64 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.467, allocations: 5.875 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.467, allocations: 3.094 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.467, allocations: 3.141 kB / 456 MB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.4684, allocations: 1.26 MB / 457.3 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4684, allocations: 2.969 kB / 457.3 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.4685, allocations: 49.67 kB / 457.4 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.4686, allocations: 2.688 kB / 457.4 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.4686, allocations: 18.28 kB / 457.4 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.4686, allocations: 13.97 kB / 457.4 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4686, allocations: 6.984 kB / 457.4 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.4693, allocations: 0.8059 MB / 458.2 MB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.4694, allocations: 140.2 kB / 458.3 MB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.4695, allocations: 13.47 kB / 458.4 MB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.4698, allocations: 27.38 kB / 458.4 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.4699, allocations: 34.81 kB / 458.4 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.4699, allocations: 25.69 kB / 458.4 MB, free: 44.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004325/0.4704, allocations: 456.4 kB / 458.9 MB, free: 44.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4704, allocations: 0 / 458.9 MB, free: 44.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.4709, allocations: 79.48 kB / 459 MB, free: 44.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001123/0.472, allocations: 495.2 kB / 459.4 MB, free: 44.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005497/0.4726, allocations: 286 kB / 459.7 MB, free: 44.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4726, allocations: 3.938 kB / 459.7 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.4728, allocations: 151.7 kB / 459.9 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.474, allocations: 136.6 kB / 460 MB, free: 44.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.4753, allocations: 0.9991 MB / 461 MB, free: 43.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.4756, allocations: 0.851 MB / 461.9 MB, free: 43.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002128/0.4758, allocations: 87.52 kB / 461.9 MB, free: 43.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4759, allocations: 54.95 kB / 462 MB, free: 43.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4759, allocations: 0 / 462 MB, free: 43.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01128/0.4872, allocations: 5.255 MB / 467.3 MB, free: 42.64 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches