Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 180.3 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 97.27 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4377/0.4377, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004953, allocations: 15.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1594, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002794/0.1623, allocations: 1.479 MB / 491.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1636, allocations: 0.8163 MB / 492.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.1637, allocations: 0 / 492.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.1643, allocations: 287.4 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.1646, allocations: 195.4 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.165, allocations: 123.8 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.1652, allocations: 199.4 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/0.1653, allocations: 13.55 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1654, allocations: 115.6 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1657, allocations: 159.6 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1657, allocations: 4 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.1658, allocations: 35.98 kB / 493.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.166, allocations: 135.6 kB / 493.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.166, allocations: 73.52 kB / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.1663, allocations: 275.7 kB / 494.1 MB, free: 7.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1664, allocations: 0 / 494.1 MB, free: 7.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1664, allocations: 0 / 494.1 MB, free: 7.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1664, allocations: 0 / 494.1 MB, free: 7.316 MB / 378.7 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.0009392/0.1673, allocations: 0.6725 MB / 494.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1674, allocations: 12.02 kB / 494.8 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.1675, allocations: 47.44 kB / 494.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.168, allocations: 407.2 kB / 495.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.168, allocations: 7.984 kB / 495.3 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1681, allocations: 3.938 kB / 495.3 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.1683, allocations: 87.36 kB / 495.3 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1683, allocations: 4 kB / 495.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1683, allocations: 3.984 kB / 495.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1683, allocations: 7.938 kB / 495.4 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1684, allocations: 27.98 kB / 495.4 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.1689, allocations: 382.2 kB / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.1692, allocations: 101.2 kB / 495.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.1693, allocations: 37.7 kB / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1693, allocations: 0 / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.1696, allocations: 117 kB / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.206e-06/0.1696, allocations: 0 / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005172/0.1701, allocations: 193 kB / 496.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.1702, allocations: 85.06 kB / 496.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1713, allocations: 1.01 MB / 497.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1713, allocations: 25.7 kB / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1715, allocations: 228.1 kB / 497.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.1716, allocations: 35.62 kB / 497.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.1716, allocations: 8 kB / 497.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1718, allocations: 362.8 kB / 497.9 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.1719, allocations: 27.98 kB / 498 MB, free: 3.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.172, allocations: 55.36 kB / 498 MB, free: 3.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.007e-05/0.1721, allocations: 40.48 kB / 498.1 MB, free: 3.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1721, allocations: 0 / 498.1 MB, free: 3.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002842/0.1724, allocations: 165 kB / 498.2 MB, free: 2.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1724, allocations: 4 kB / 498.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1724, allocations: 0 / 498.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1724, allocations: 4 kB / 498.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1726, allocations: 23.92 kB / 498.2 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1726, allocations: 7.953 kB / 498.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1727, allocations: 19.91 kB / 498.3 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1727, allocations: 4 kB / 498.3 MB, free: 2.879 MB / 378.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002297/0.1729, allocations: 217.6 kB / 498.5 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.173, allocations: 51.34 kB / 498.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-05/0.1731, allocations: 59.84 kB / 498.6 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1731, allocations: 4 kB / 498.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1731, allocations: 0 / 498.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1731, allocations: 7.891 kB / 498.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.1734, allocations: 325.5 kB / 498.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.1735, allocations: 8 kB / 498.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.1735, allocations: 7.984 kB / 498.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1735, allocations: 0 / 498.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1735, allocations: 8 kB / 499 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1735, allocations: 0 / 499 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1735, allocations: 0 / 499 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.1739, allocations: 201.3 kB / 499.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1741, allocations: 148.4 kB / 499.3 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.1741, allocations: 4 kB / 499.3 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.1742, allocations: 11.92 kB / 499.3 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.1743, allocations: 11.98 kB / 499.3 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.1743, allocations: 4 kB / 499.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008009/0.1751, allocations: 0.7448 MB / 0.4883 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1751, allocations: 0 / 0.4883 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.1754, allocations: 48.05 kB / 0.4884 GB, free: 0.9414 MB / 378.7 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009338/0.1763, allocations: 440.4 kB / 0.4888 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.1766, allocations: 75.91 kB / 0.4889 GB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1766, allocations: 0 / 0.4889 GB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1767, allocations: 35.98 kB / 0.4889 GB, free: 456 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.1771, allocations: 66.2 kB / 0.489 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2702/0.4473, allocations: 0.9352 MB / 0.4899 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.4479, allocations: 0.8351 MB / 0.4907 GB, free: 42.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.4481, allocations: 32.66 kB / 0.4907 GB, free: 42.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.955e-06/0.4481, allocations: 1.031 kB / 0.4907 GB, free: 42.41 MB / 378.7 MB Notification: Performance of Templates: time 0.0125/0.4606, allocations: 4.895 MB / 0.4955 GB, free: 41.91 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches