Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.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.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.216/1.216, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.000649/0.0006491, allocations: 82.42 kB / 271.2 MB, free: 8.266 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.278/0.278, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003296, allocations: 12 kB / 432 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.09014, allocations: 58.86 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.001625/0.09179, allocations: 1.263 MB / 492.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004881/0.0923, allocations: 307.7 kB / 492.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.09235, allocations: 0 / 492.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.09262, allocations: 119.8 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.09277, allocations: 75.83 kB / 492.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.093, allocations: 83.83 kB / 492.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.09313, allocations: 63.81 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.09322, allocations: 23.95 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.09328, allocations: 35.91 kB / 492.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.784e-05/0.09338, allocations: 59.8 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.0934, allocations: 0 / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.09347, allocations: 31.98 kB / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.09353, allocations: 31.91 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.09358, allocations: 53.44 kB / 493 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.0937, allocations: 67.91 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.09371, allocations: 0 / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09371, allocations: 0 / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.09372, allocations: 0 / 493 MB, free: 8.441 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.0004136/0.09414, allocations: 419.1 kB / 493.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.09418, allocations: 12.03 kB / 493.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.09422, allocations: 12.84 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.0944, allocations: 211.7 kB / 493.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.09441, allocations: 384 / 493.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.09444, allocations: 4.375 kB / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.09456, allocations: 53.81 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.09458, allocations: 0 / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.0946, allocations: 0 / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.0946, allocations: 0 / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.897e-05/0.09471, allocations: 39.91 kB / 493.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.09507, allocations: 296.8 kB / 494 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.09525, allocations: 46.56 kB / 494.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.09531, allocations: 20.94 kB / 494.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.09534, allocations: 0 / 494.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.09538, allocations: 34.5 kB / 494.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.09538, allocations: 0 / 494.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005345/0.09593, allocations: 181.1 kB / 494.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.09597, allocations: 59.33 kB / 494.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.0962, allocations: 271.2 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.09622, allocations: 25.7 kB / 494.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.09628, allocations: 108.1 kB / 494.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.09631, allocations: 19.8 kB / 494.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.09632, allocations: 0 / 494.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.09643, allocations: 330.8 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.0965, allocations: 23.98 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.09657, allocations: 27.97 kB / 495.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.09671, allocations: 60.83 kB / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.09672, allocations: 0 / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001863/0.09691, allocations: 97.42 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.09694, allocations: 12 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.09695, allocations: 0 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.09696, allocations: 256 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.09703, allocations: 15.98 kB / 495.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.09704, allocations: 7.938 kB / 495.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.09709, allocations: 11.98 kB / 495.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.0971, allocations: 4 kB / 495.4 MB, free: 5.867 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 (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 9.517e-05/0.0972, allocations: 137.8 kB / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.09724, allocations: 15.81 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.09747, allocations: 114.6 kB / 495.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.09748, allocations: 0 / 495.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.09749, allocations: 4 kB / 495.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.0975, allocations: 0 / 495.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.09791, allocations: 378.4 kB / 496 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.09792, allocations: 0 / 496 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.09798, allocations: 15.98 kB / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.09799, allocations: 0 / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.09801, allocations: 4 kB / 496 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.09802, allocations: 3.938 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.09802, allocations: 3.938 kB / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.09824, allocations: 187.4 kB / 496.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.0983, allocations: 100.9 kB / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.09832, allocations: 4 kB / 496.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.09839, allocations: 7.938 kB / 496.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.09843, allocations: 4.172 kB / 496.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.09844, allocations: 8 kB / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.09859, allocations: 203.4 kB / 496.5 MB, free: 4.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09859, allocations: 0 / 496.5 MB, free: 4.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.09882, allocations: 12 kB / 496.6 MB, free: 4.578 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 (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.0007665/0.0996, allocations: 402.6 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.09979, allocations: 63.89 kB / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0998, allocations: 0 / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.638e-05/0.09988, allocations: 35.98 kB / 497 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1002, allocations: 11.98 kB / 497.1 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.1006, allocations: 319.8 kB / 497.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1009, allocations: 0.7237 MB / 498.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.1009, allocations: 11.44 kB / 498.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1009, allocations: 0 / 498.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of Templates: time 0.002877/0.1038, allocations: 1.625 MB / 499.7 MB, free: 1.383 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches