Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 182.7 kB / 16.41 MB, free: 5.566 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.684/1.684, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.0008317/0.0008317, allocations: 92.98 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.4412/0.4412, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006389/0.0006391, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1552, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.002573/0.1578, allocations: 1.274 MB / 491.5 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000586/0.1585, allocations: 291.9 kB / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.1585, allocations: 0 / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.159, allocations: 443.2 kB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1594, allocations: 239.5 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1597, allocations: 99.81 kB / 492.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1599, allocations: 127.7 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.16, allocations: 11.97 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1602, allocations: 103.8 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1604, allocations: 163.6 kB / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1604, allocations: 8 kB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.1605, allocations: 19.98 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1606, allocations: 79.69 kB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.1607, allocations: 65.52 kB / 493.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1609, allocations: 171.8 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1609, allocations: 0 / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1609, allocations: 0 / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1609, allocations: 0 / 493.3 MB, free: 8.145 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007296/0.1616, allocations: 0.6067 MB / 493.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1617, allocations: 8.031 kB / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.1618, allocations: 39.48 kB / 493.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.1621, allocations: 271.4 kB / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1621, allocations: 0 / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1621, allocations: 0 / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1623, allocations: 53.69 kB / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1623, allocations: 0 / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1623, allocations: 8 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1623, allocations: 0 / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1625, allocations: 43.86 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.1629, allocations: 372.8 kB / 494.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1631, allocations: 46.56 kB / 494.7 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.1631, allocations: 24.94 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1632, allocations: 3.984 kB / 494.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1632, allocations: 38.56 kB / 494.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1632, allocations: 0 / 494.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003217/0.1635, allocations: 129.1 kB / 494.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1636, allocations: 51.41 kB / 495 MB, free: 6.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008206/0.1644, allocations: 0.8574 MB / 495.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1644, allocations: 29.7 kB / 495.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1646, allocations: 208 kB / 496.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.1646, allocations: 7.906 kB / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.1646, allocations: 0 / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1648, allocations: 362.8 kB / 496.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.1649, allocations: 15.98 kB / 496.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.165, allocations: 23.98 kB / 496.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.1651, allocations: 19.98 kB / 496.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1651, allocations: 4 kB / 496.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002126/0.1653, allocations: 109.1 kB / 496.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1653, allocations: 7.281 kB / 496.6 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1653, allocations: 4 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1653, allocations: 3.953 kB / 496.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.1654, allocations: 11.94 kB / 496.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1654, allocations: 3.984 kB / 496.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.1655, allocations: 11.84 kB / 496.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1655, allocations: 0 / 496.6 MB, free: 4.59 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 (3): * Single equations (assignments): 3 * 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.0001853/0.1657, allocations: 217.8 kB / 496.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.1658, allocations: 43.52 kB / 496.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.166, allocations: 125.3 kB / 497 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1661, allocations: 7.984 kB / 497 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1661, allocations: 4 kB / 497 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1661, allocations: 0 / 497 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1663, allocations: 285.5 kB / 497.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1663, allocations: 4 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.1664, allocations: 15.98 kB / 497.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1664, allocations: 0 / 497.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1664, allocations: 0 / 497.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1664, allocations: 0 / 497.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1664, allocations: 7.953 kB / 497.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1667, allocations: 203 kB / 497.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.1668, allocations: 116.6 kB / 497.6 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.1668, allocations: 0 / 497.6 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.1669, allocations: 4 kB / 497.6 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1669, allocations: 11.98 kB / 497.6 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1669, allocations: 3.953 kB / 497.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005896/0.1675, allocations: 0.6433 MB / 498.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1675, allocations: 0 / 498.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.1678, allocations: 20 kB / 498.3 MB, free: 2.797 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 (3): * Single equations (assignments): 3 * 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.0006946/0.1685, allocations: 350.8 kB / 498.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1687, allocations: 47.97 kB / 498.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1687, allocations: 0 / 498.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.1688, allocations: 27.92 kB / 498.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.1691, allocations: 21.95 kB / 498.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1702, allocations: 0.835 MB / 499.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.1706, allocations: 0.8145 MB / 0.4887 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.1707, allocations: 11.44 kB / 0.4887 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1707, allocations: 4 kB / 0.4887 GB, free: 0.668 MB / 378.7 MB Notification: Performance of Templates: time 0.1648/0.3355, allocations: 3.399 MB / 0.492 GB, free: 42.01 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches