Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009145/0.0009143, allocations: 179.2 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.67/1.67, 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.0009099/0.0009098, allocations: 102.2 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.4239/0.4239, allocations: 43.56 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004464, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.002141/0.1612, allocations: 1.313 MB / 491.6 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005344/0.1618, allocations: 299.8 kB / 491.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.1618, allocations: 0 / 491.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.1621, allocations: 59.86 kB / 491.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1623, allocations: 51.86 kB / 492 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1626, allocations: 103.8 kB / 492.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1627, allocations: 63.81 kB / 492.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1628, allocations: 16.17 kB / 492.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.1629, allocations: 19.92 kB / 492.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.951e-05/0.163, allocations: 51.81 kB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.163, allocations: 0 / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.737e-05/0.1631, allocations: 24 kB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.1631, allocations: 19.92 kB / 492.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.1632, allocations: 37.64 kB / 492.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1633, allocations: 71.81 kB / 492.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1633, allocations: 0 / 492.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1633, allocations: 0 / 492.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1633, allocations: 4 kB / 492.4 MB, free: 9.082 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.0004954/0.1638, allocations: 395.2 kB / 492.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1639, allocations: 16 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.1639, allocations: 11.86 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1641, allocations: 190.8 kB / 493 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.1641, allocations: 0 / 493 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1642, allocations: 8 kB / 493 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1644, allocations: 57.67 kB / 493 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1644, allocations: 0 / 493 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1644, allocations: 8 kB / 493 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1644, allocations: 0 / 493 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1646, allocations: 43.92 kB / 493.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.165, allocations: 296.7 kB / 493.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1651, allocations: 50.55 kB / 493.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/0.1652, allocations: 28.94 kB / 493.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1652, allocations: 4 kB / 493.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1652, allocations: 30.56 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.1652, allocations: 0 / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008016/0.1661, allocations: 257 kB / 493.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1661, allocations: 51.41 kB / 493.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1663, allocations: 198.2 kB / 494 MB, free: 7.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1664, allocations: 25.7 kB / 494 MB, free: 7.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.1665, allocations: 108.1 kB / 494.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1665, allocations: 19.73 kB / 494.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.1665, allocations: 4 kB / 494.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1667, allocations: 322.8 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1668, allocations: 47.89 kB / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1669, allocations: 43.91 kB / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.167, allocations: 40.22 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1671, allocations: 4 kB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002923/0.1674, allocations: 137.4 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1674, allocations: 7.953 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1674, allocations: 0 / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1674, allocations: 0 / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1675, allocations: 27.97 kB / 494.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1675, allocations: 7.938 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.1676, allocations: 12 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1676, allocations: 4 kB / 494.8 MB, free: 6.453 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.0001083/0.1677, allocations: 125.8 kB / 494.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.1678, allocations: 11.91 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.1681, allocations: 142.3 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1681, allocations: 0 / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1681, allocations: 0 / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1682, allocations: 3.984 kB / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.1687, allocations: 410.5 kB / 495.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1687, allocations: 3.953 kB / 495.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.674e-05/0.1688, allocations: 27.98 kB / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1688, allocations: 0 / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1688, allocations: 0 / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1688, allocations: 0 / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1688, allocations: 0 / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.1692, allocations: 235.2 kB / 495.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1692, allocations: 96.95 kB / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1692, allocations: 0 / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.1693, allocations: 12 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1694, allocations: 7.984 kB / 495.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.1694, allocations: 0 / 495.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1695, allocations: 164 kB / 496 MB, free: 5.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1695, allocations: 0 / 496 MB, free: 5.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.1698, allocations: 23.98 kB / 496 MB, free: 5.113 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.0009136/0.1707, allocations: 404.7 kB / 496.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.171, allocations: 91.88 kB / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.171, allocations: 4 kB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.1711, allocations: 51.97 kB / 496.5 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1715, allocations: 15.92 kB / 496.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.1721, allocations: 286.8 kB / 496.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1724, allocations: 0.7004 MB / 497.5 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.1725, allocations: 15.38 kB / 497.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1725, allocations: 0 / 497.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of Templates: time 0.00366/0.1762, allocations: 1.626 MB / 499.2 MB, free: 1.918 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches