Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.001041, allocations: 179.5 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.766/1.766, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008087/0.0008092, allocations: 92.92 kB / 270.9 MB, free: 8.359 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.4558/0.4558, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004682, allocations: 16 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.154, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002361/0.1564, allocations: 1.398 MB / 491.6 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1577, allocations: 0.7383 MB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.1578, allocations: 3.938 kB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1582, allocations: 35.89 kB / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1584, allocations: 43.83 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1587, allocations: 75.84 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1588, allocations: 79.7 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.159, allocations: 24.19 kB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.1591, allocations: 35.8 kB / 492.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.1592, allocations: 31.78 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1592, allocations: 4 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1593, allocations: 35.98 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.1593, allocations: 11.92 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.1594, allocations: 41.64 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1596, allocations: 88.09 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1596, allocations: 0 / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1596, allocations: 0 / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1596, allocations: 0 / 492.9 MB, free: 8.559 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.0006537/0.1603, allocations: 402.8 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.1603, allocations: 16.02 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1604, allocations: 7.906 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1607, allocations: 202.8 kB / 493.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1607, allocations: 12 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1607, allocations: 3.984 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1609, allocations: 57.61 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1609, allocations: 4 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1609, allocations: 0 / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.161, allocations: 3.953 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.161, allocations: 19.98 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.1615, allocations: 277 kB / 493.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1617, allocations: 62.62 kB / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.1617, allocations: 20.84 kB / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1618, allocations: 0 / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.162, allocations: 71.25 kB / 494 MB, free: 7.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.162, allocations: 4 kB / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005885/0.1626, allocations: 169.3 kB / 494.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1627, allocations: 55.41 kB / 494.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1629, allocations: 186.1 kB / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1629, allocations: 25.7 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.163, allocations: 100.1 kB / 494.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.163, allocations: 27.64 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.163, allocations: 4 kB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1632, allocations: 326.8 kB / 494.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.1632, allocations: 27.92 kB / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.1633, allocations: 37.64 kB / 495 MB, free: 6.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.989e-05/0.1634, allocations: 20 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1634, allocations: 0 / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.1636, allocations: 101.5 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1636, allocations: 7.984 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1636, allocations: 4.031 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1636, allocations: 0 / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.1637, allocations: 20 kB / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1637, allocations: 384 / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.1638, allocations: 4 kB / 495.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1638, allocations: 3.984 kB / 495.1 MB, free: 6.09 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.0001199/0.1639, allocations: 121.8 kB / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.164, allocations: 19.86 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.164, allocations: 24.64 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.164, allocations: 0 / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1641, allocations: 0 / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1641, allocations: 4 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.1645, allocations: 395.2 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1645, allocations: 0 / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.1646, allocations: 11.94 kB / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1646, allocations: 0 / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1646, allocations: 12.02 kB / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1646, allocations: 0 / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1646, allocations: 0 / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1649, allocations: 200.3 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.1649, allocations: 92.88 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.165, allocations: 3.984 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.165, allocations: 8 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1651, allocations: 11.94 kB / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1651, allocations: 7.984 kB / 496 MB, free: 5.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1652, allocations: 140.1 kB / 496.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1652, allocations: 0 / 496.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.1655, allocations: 27.98 kB / 496.2 MB, free: 4.93 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.001045/0.1665, allocations: 468 kB / 496.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1667, allocations: 63.89 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1667, allocations: 0 / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1669, allocations: 27.98 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1672, allocations: 27.97 kB / 496.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.1677, allocations: 264.1 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.1681, allocations: 0.7121 MB / 497.7 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.1682, allocations: 15.44 kB / 497.7 MB, free: 3.352 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1682, allocations: 0 / 497.7 MB, free: 3.352 MB / 378.7 MB Notification: Performance of Templates: time 0.00386/0.1721, allocations: 1.874 MB / 499.6 MB, free: 1.48 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches