Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002286/0.002286, allocations: 187.5 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001139/0.001138, allocations: 86.86 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2875/0.2875, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007712/0.0007714, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1485, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002551/0.1511, allocations: 1.298 MB / 491.5 MB, free: 8.035 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008385/0.152, allocations: 287.8 kB / 491.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.1521, allocations: 0 / 491.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.1529, allocations: 431.3 kB / 492.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.1535, allocations: 251.5 kB / 492.5 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.154, allocations: 87.81 kB / 492.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.1542, allocations: 111.8 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1544, allocations: 16.17 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1545, allocations: 99.8 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.1549, allocations: 143.7 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1549, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.155, allocations: 19.94 kB / 492.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1552, allocations: 87.72 kB / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.1553, allocations: 69.45 kB / 493.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1556, allocations: 175.8 kB / 493.3 MB, free: 6.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1556, allocations: 4 kB / 493.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1556, allocations: 0 / 493.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1556, allocations: 0 / 493.3 MB, free: 6.277 MB / 330.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.0009854/0.1566, allocations: 0.5913 MB / 493.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1567, allocations: 12.02 kB / 493.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.1568, allocations: 43.44 kB / 493.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.1572, allocations: 279.3 kB / 494.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1572, allocations: 7.938 kB / 494.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1572, allocations: 3.984 kB / 494.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1575, allocations: 61.61 kB / 494.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1575, allocations: 4 kB / 494.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1575, allocations: 3.938 kB / 494.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1575, allocations: 0 / 494.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.1577, allocations: 23.98 kB / 494.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.1583, allocations: 392.7 kB / 494.7 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1586, allocations: 50.5 kB / 494.7 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1587, allocations: 0 / 494.7 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1587, allocations: 30.56 kB / 494.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1587, allocations: 0 / 494.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009109/0.1596, allocations: 248 kB / 495 MB, free: 4.379 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.1597, allocations: 59.41 kB / 495 MB, free: 4.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.1611, allocations: 0.8613 MB / 495.9 MB, free: 3.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1612, allocations: 25.7 kB / 495.9 MB, free: 3.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.1614, allocations: 246.5 kB / 496.2 MB, free: 3.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.1614, allocations: 15.75 kB / 496.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.1615, allocations: 0 / 496.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1616, allocations: 310.8 kB / 496.5 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1618, allocations: 27.98 kB / 496.5 MB, free: 2.809 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1619, allocations: 23.98 kB / 496.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.162, allocations: 19.98 kB / 496.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1621, allocations: 0 / 496.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003408/0.1624, allocations: 93.52 kB / 496.7 MB, free: 2.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1624, allocations: 11.44 kB / 496.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1625, allocations: 0 / 496.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.1625, allocations: 3.953 kB / 496.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1626, allocations: 16.23 kB / 496.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1626, allocations: 0 / 496.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1628, allocations: 11.98 kB / 496.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1628, allocations: 8 kB / 496.7 MB, free: 2.621 MB / 330.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 (5): * Single equations (assignments): 5 * 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.0003016/0.1631, allocations: 209.8 kB / 496.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.1632, allocations: 35.53 kB / 496.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.1637, allocations: 148.9 kB / 497.1 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1637, allocations: 4 kB / 497.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.1637, allocations: 3.953 kB / 497.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1637, allocations: 0 / 497.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.1646, allocations: 462.5 kB / 497.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1646, allocations: 3.938 kB / 497.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.1647, allocations: 23.92 kB / 497.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1648, allocations: 0 / 497.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1648, allocations: 7.891 kB / 497.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1648, allocations: 0 / 497.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1648, allocations: 0 / 497.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.1652, allocations: 219 kB / 497.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1654, allocations: 112.5 kB / 497.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.1654, allocations: 4 kB / 497.9 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1656, allocations: 11.94 kB / 497.9 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1656, allocations: 4.281 kB / 497.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1656, allocations: 192 / 497.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.1667, allocations: 0.6511 MB / 498.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1667, allocations: 0 / 498.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000373/0.1671, allocations: 28 kB / 498.6 MB, free: 0.6133 MB / 330.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 (5): * Single equations (assignments): 5 * 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.001201/0.1683, allocations: 403.5 kB / 499 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.1687, allocations: 51.97 kB / 499.1 MB, free: 216 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.1688, allocations: 4 kB / 499.1 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1689, allocations: 31.92 kB / 499.1 MB, free: 180 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.1693, allocations: 25.95 kB / 499.1 MB, free: 152 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.171, allocations: 0.8585 MB / 500 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.1716, allocations: 0.834 MB / 0.4891 GB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.1717, allocations: 11.44 kB / 0.4891 GB, free: 14.39 MB / 346.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1717, allocations: 0 / 0.4891 GB, free: 14.39 MB / 346.7 MB Notification: Performance of Templates: time 0.01101/0.1827, allocations: 3.642 MB / 0.4926 GB, free: 10.74 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches