Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 178.1 kB / 16.41 MB, free: 5.727 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.605/1.605, 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.001128/0.001128, allocations: 89.33 kB / 270.9 MB, free: 8.352 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.5438/0.5438, allocations: 43.57 MB / 362.7 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.000432, allocations: 12 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002491/0.1631, allocations: 1.305 MB / 491.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007226/0.1638, allocations: 327.7 kB / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.1639, allocations: 0 / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1642, allocations: 51.86 kB / 491.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1645, allocations: 51.83 kB / 492 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.165, allocations: 135.8 kB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1651, allocations: 59.83 kB / 492.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1653, allocations: 31.75 kB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.1654, allocations: 23.92 kB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1655, allocations: 35.84 kB / 492.2 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1655, allocations: 7.984 kB / 492.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1656, allocations: 23.98 kB / 492.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.1657, allocations: 19.92 kB / 492.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.1657, allocations: 37.64 kB / 492.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1659, allocations: 67.84 kB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1659, allocations: 4 kB / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1659, allocations: 0 / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1659, allocations: 0 / 492.4 MB, free: 9.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000634/0.1666, allocations: 399.2 kB / 492.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1666, allocations: 12.02 kB / 492.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.1667, allocations: 19.77 kB / 492.8 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1669, allocations: 186.9 kB / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1669, allocations: 8 kB / 493 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.167, allocations: 0 / 493 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1672, allocations: 69.59 kB / 493.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1672, allocations: 0 / 493.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1672, allocations: 4 kB / 493.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1673, allocations: 4 kB / 493.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1674, allocations: 47.92 kB / 493.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.1681, allocations: 308.9 kB / 493.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.1682, allocations: 54.48 kB / 493.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.1683, allocations: 28.94 kB / 493.5 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.1684, allocations: 0 / 493.5 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.1684, allocations: 38.56 kB / 493.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1684, allocations: 0 / 493.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009858/0.1694, allocations: 265 kB / 493.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.1695, allocations: 59.34 kB / 493.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.1698, allocations: 182.2 kB / 494 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.1698, allocations: 29.7 kB / 494.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.1699, allocations: 108 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.17, allocations: 23.59 kB / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.17, allocations: 0 / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.1702, allocations: 322.8 kB / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1703, allocations: 47.97 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1705, allocations: 47.97 kB / 494.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1706, allocations: 47.97 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1706, allocations: 0 / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003691/0.171, allocations: 149.5 kB / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.171, allocations: 11.95 kB / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1711, allocations: 0 / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1711, allocations: 0 / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1712, allocations: 23.98 kB / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1713, allocations: 4 kB / 494.8 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.461e-05/0.1714, allocations: 11.98 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1714, allocations: 4 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001574/0.1715, allocations: 125.8 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.1716, allocations: 11.91 kB / 495 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.172, allocations: 162.2 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.172, allocations: 4 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1721, allocations: 0 / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1721, allocations: 288 / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.1727, allocations: 430.3 kB / 495.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1727, allocations: 3.953 kB / 495.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.1728, allocations: 23.98 kB / 495.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1728, allocations: 3.984 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1729, allocations: 7.984 kB / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1729, allocations: 0 / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1729, allocations: 0 / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.1733, allocations: 235.9 kB / 495.8 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.1734, allocations: 92.95 kB / 495.9 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1734, allocations: 4 kB / 495.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/0.1735, allocations: 11.98 kB / 496 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.1736, allocations: 7.984 kB / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1736, allocations: 3.938 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1737, allocations: 147.9 kB / 496.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1738, allocations: 3.938 kB / 496.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.174, allocations: 23.98 kB / 496.1 MB, free: 4.953 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0009653/0.175, allocations: 400.2 kB / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.1753, allocations: 103.9 kB / 496.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1753, allocations: 0 / 496.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1755, allocations: 59.91 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1759, allocations: 19.98 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.1764, allocations: 278.8 kB / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1767, allocations: 0.7121 MB / 497.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.1768, allocations: 11.44 kB / 497.7 MB, free: 3.367 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1768, allocations: 0 / 497.7 MB, free: 3.367 MB / 378.7 MB Notification: Performance of Templates: time 0.004067/0.1808, allocations: 1.68 MB / 499.4 MB, free: 1.691 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches