Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 177.9 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.837/1.837, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007387/0.0007387, allocations: 90.3 kB / 270.9 MB, free: 8.355 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.4185/0.4185, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004876, allocations: 16 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1503, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002427/0.1527, allocations: 1.398 MB / 491.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.1548, allocations: 1.305 MB / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.1549, allocations: 11.94 kB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1552, allocations: 19.92 kB / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.1555, allocations: 55.81 kB / 493 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1557, allocations: 67.86 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.156, allocations: 91.67 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1561, allocations: 8.219 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.1562, allocations: 43.73 kB / 493.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1564, allocations: 35.83 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1564, allocations: 8 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1565, allocations: 43.98 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.1566, allocations: 15.92 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.1566, allocations: 37.64 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1569, allocations: 92.08 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1569, allocations: 0 / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1569, allocations: 0 / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1569, allocations: 0 / 493.5 MB, free: 7.961 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007175/0.1576, allocations: 394.9 kB / 493.9 MB, free: 7.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1577, allocations: 16.02 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.1577, allocations: 7.906 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.158, allocations: 206.5 kB / 494.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1581, allocations: 4 kB / 494.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1581, allocations: 0 / 494.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1583, allocations: 71.33 kB / 494.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1583, allocations: 3.953 kB / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1583, allocations: 0 / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1584, allocations: 4 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.258e-05/0.1585, allocations: 19.98 kB / 494.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.1589, allocations: 277 kB / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1591, allocations: 58.61 kB / 494.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.1591, allocations: 32.8 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1592, allocations: 0 / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.1594, allocations: 67.39 kB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1594, allocations: 0 / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006326/0.1601, allocations: 173.1 kB / 494.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.1601, allocations: 89.03 kB / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1603, allocations: 145.8 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1604, allocations: 29.7 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.1604, allocations: 96.12 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.1605, allocations: 23.7 kB / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.1605, allocations: 4 kB / 495.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1607, allocations: 330.8 kB / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.1607, allocations: 19.98 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.1608, allocations: 42.5 kB / 495.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.651e-05/0.1609, allocations: 28.03 kB / 495.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1609, allocations: 0 / 495.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.1611, allocations: 101.6 kB / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1611, allocations: 11.94 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1611, allocations: 0 / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1612, allocations: 0 / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.1613, allocations: 12 kB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1613, allocations: 4 kB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.1613, allocations: 12.02 kB / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1614, allocations: 4 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001339/0.1615, allocations: 125.7 kB / 495.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1615, allocations: 7.906 kB / 495.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.1616, allocations: 16.7 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1616, allocations: 3.938 kB / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1616, allocations: 0 / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1616, allocations: 0 / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.1621, allocations: 391.3 kB / 496.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1621, allocations: 3.938 kB / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.1622, allocations: 11.98 kB / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1622, allocations: 0 / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1622, allocations: 4 kB / 496.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1622, allocations: 0 / 496.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1622, allocations: 0 / 496.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1625, allocations: 208.2 kB / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.1626, allocations: 93 kB / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1626, allocations: 0 / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.1627, allocations: 4 kB / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.1627, allocations: 12.11 kB / 496.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.1628, allocations: 8.375 kB / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1629, allocations: 122.6 kB / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 0 / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.1631, allocations: 35.95 kB / 496.7 MB, free: 4.352 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001193/0.1643, allocations: 0.4989 MB / 497.2 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1646, allocations: 63.91 kB / 497.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1646, allocations: 0 / 497.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.1647, allocations: 27.92 kB / 497.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.165, allocations: 23.98 kB / 497.3 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.1656, allocations: 239.9 kB / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1659, allocations: 0.7004 MB / 498.3 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.166, allocations: 15.44 kB / 498.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.166, allocations: 4 kB / 498.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of Templates: time 0.004238/0.1702, allocations: 2.016 MB / 0.4886 GB, free: 0.7617 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches