Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,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.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,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.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009154/0.0009154, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.752/1.752, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0008482/0.0008484, allocations: 95.7 kB / 270.9 MB, free: 8.348 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.4153/0.4153, allocations: 43.56 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004087, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002459/0.1539, allocations: 1.479 MB / 491.7 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1553, allocations: 0.8162 MB / 492.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.1554, allocations: 3.938 kB / 492.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.1559, allocations: 299.4 kB / 492.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1563, allocations: 195.5 kB / 493 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.1566, allocations: 119.8 kB / 493.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1569, allocations: 207.4 kB / 493.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.19e-05/0.157, allocations: 21.53 kB / 493.4 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1571, allocations: 115.6 kB / 493.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1574, allocations: 155.6 kB / 493.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1574, allocations: 7.984 kB / 493.6 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.953e-05/0.1575, allocations: 32 kB / 493.7 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1576, allocations: 135.6 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.1577, allocations: 81.45 kB / 493.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.1581, allocations: 271.8 kB / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1581, allocations: 0 / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1581, allocations: 0 / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1581, allocations: 0 / 494.2 MB, free: 7.043 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.0009647/0.1591, allocations: 0.6842 MB / 494.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1591, allocations: 12.02 kB / 494.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.1592, allocations: 51.34 kB / 494.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.1598, allocations: 419.1 kB / 495.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1598, allocations: 0 / 495.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1599, allocations: 4 kB / 495.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1601, allocations: 87.31 kB / 495.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1601, allocations: 0 / 495.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1601, allocations: 7.984 kB / 495.4 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1601, allocations: 3.953 kB / 495.4 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1602, allocations: 31.92 kB / 495.4 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1607, allocations: 374.3 kB / 495.8 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1609, allocations: 109.2 kB / 495.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/0.1611, allocations: 45.67 kB / 496 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1611, allocations: 4 kB / 496 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.1614, allocations: 105 kB / 496.1 MB, free: 4.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.816e-06/0.1614, allocations: 0 / 496.1 MB, free: 4.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004947/0.1619, allocations: 197 kB / 496.3 MB, free: 4.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.1619, allocations: 89.05 kB / 496.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.1631, allocations: 1.038 MB / 497.4 MB, free: 3.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1631, allocations: 25.7 kB / 497.4 MB, free: 3.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.1633, allocations: 240.1 kB / 497.6 MB, free: 3.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.1633, allocations: 27.66 kB / 497.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.1633, allocations: 4 kB / 497.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1635, allocations: 362.8 kB / 498 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.1636, allocations: 31.97 kB / 498.1 MB, free: 2.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.1637, allocations: 55.42 kB / 498.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.1638, allocations: 40.42 kB / 498.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1638, allocations: 0 / 498.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002935/0.1641, allocations: 165 kB / 498.3 MB, free: 2.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1642, allocations: 8 kB / 498.3 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1642, allocations: 0 / 498.3 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1642, allocations: 0 / 498.3 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1643, allocations: 27.92 kB / 498.3 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1643, allocations: 8.016 kB / 498.4 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.1644, allocations: 15.98 kB / 498.4 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1644, allocations: 4 kB / 498.4 MB, free: 2.547 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.0002596/0.1647, allocations: 221.6 kB / 498.6 MB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.1648, allocations: 55.33 kB / 498.6 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.1649, allocations: 60 kB / 498.7 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1649, allocations: 0 / 498.7 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1649, allocations: 0 / 498.7 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1649, allocations: 7.953 kB / 498.7 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.1653, allocations: 337.5 kB / 499 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1653, allocations: 0 / 499 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.1654, allocations: 11.94 kB / 499 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1654, allocations: 3.938 kB / 499.1 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1654, allocations: 4 kB / 499.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1654, allocations: 0 / 499.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1654, allocations: 0 / 499.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.1658, allocations: 213.2 kB / 499.3 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.1659, allocations: 136.5 kB / 499.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.166, allocations: 4 kB / 499.4 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.1661, allocations: 11.92 kB / 499.4 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.1662, allocations: 8.109 kB / 499.4 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1662, allocations: 8 kB / 499.4 MB, free: 1.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008763/0.1671, allocations: 0.776 MB / 0.4885 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1671, allocations: 0 / 0.4885 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.1673, allocations: 51.86 kB / 0.4885 GB, free: 0.5625 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.001021/0.1684, allocations: 406 kB / 0.4889 GB, free: 208 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.1687, allocations: 83.89 kB / 0.489 GB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1687, allocations: 3.938 kB / 0.489 GB, free: 120 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1688, allocations: 35.98 kB / 0.489 GB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.1692, allocations: 70.81 kB / 0.4891 GB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2532/0.4224, allocations: 0.9536 MB / 0.49 GB, free: 43.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.423, allocations: 0.8429 MB / 0.4909 GB, free: 42.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.4231, allocations: 31.25 kB / 0.4909 GB, free: 42.45 MB / 378.7 MB Notification: Performance of SimCode: time 3.817e-06/0.4231, allocations: 0 / 0.4909 GB, free: 42.45 MB / 378.7 MB Notification: Performance of Templates: time 0.0116/0.4347, allocations: 4.992 MB / 0.4958 GB, free: 41.91 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches