Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 241.6 MB, free: 10.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009928/0.0009926, allocations: 105.6 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3504/0.3504, allocations: 44.14 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3657, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003065/0.3688, allocations: 1.67 MB / 0.508 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.3698, allocations: 462.2 kB / 0.5085 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.3698, allocations: 0 / 0.5085 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.3705, allocations: 454.5 kB / 0.5089 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.3708, allocations: 239 kB / 0.5091 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.3713, allocations: 157.9 kB / 0.5093 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.3715, allocations: 163.9 kB / 0.5094 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3716, allocations: 18.19 kB / 0.5094 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.3717, allocations: 109.4 kB / 0.5095 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.3719, allocations: 205.7 kB / 0.5097 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.372, allocations: 0 / 0.5097 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.372, allocations: 26.67 kB / 0.5098 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.3721, allocations: 88.69 kB / 0.5099 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.3722, allocations: 97.78 kB / 0.5099 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3724, allocations: 248 kB / 0.5102 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3724, allocations: 3.938 kB / 0.5102 GB, free: 36.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3725, allocations: 0 / 0.5102 GB, free: 36.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.3725, allocations: 3.938 kB / 0.5102 GB, free: 36.43 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.0005954/0.3731, allocations: 0.6295 MB / 0.5108 GB, free: 35.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3731, allocations: 11.72 kB / 0.5108 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.3732, allocations: 42.75 kB / 0.5109 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.3734, allocations: 292.4 kB / 0.5111 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3735, allocations: 3.125 kB / 0.5111 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.3735, allocations: 384 / 0.5111 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3737, allocations: 59.75 kB / 0.5112 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3737, allocations: 0 / 0.5112 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3737, allocations: 2.812 kB / 0.5112 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3737, allocations: 0 / 0.5112 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.3738, allocations: 34.72 kB / 0.5112 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.3744, allocations: 397.3 kB / 0.5116 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.3746, allocations: 46.33 kB / 0.5117 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.3746, allocations: 20.31 kB / 0.5117 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3747, allocations: 0 / 0.5117 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.3747, allocations: 33.31 kB / 0.5117 GB, free: 35.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3747, allocations: 4 kB / 0.5117 GB, free: 35.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005761/0.3753, allocations: 232.6 kB / 0.5119 GB, free: 34.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.3753, allocations: 51.41 kB / 0.512 GB, free: 34.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.376, allocations: 0.862 MB / 0.5128 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.376, allocations: 25.7 kB / 0.5128 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3762, allocations: 228.8 kB / 0.5131 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3762, allocations: 23.59 kB / 0.5131 GB, free: 34.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3763, allocations: 19.5 kB / 0.5131 GB, free: 34.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.3764, allocations: 359.9 kB / 0.5135 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.3764, allocations: 20.39 kB / 0.5135 GB, free: 34.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.3765, allocations: 21.72 kB / 0.5135 GB, free: 34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3766, allocations: 53.78 kB / 0.5135 GB, free: 33.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3766, allocations: 4 kB / 0.5135 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001919/0.3768, allocations: 121.7 kB / 0.5137 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3769, allocations: 5.312 kB / 0.5137 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3769, allocations: 0 / 0.5137 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3769, allocations: 0 / 0.5137 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.377, allocations: 17.95 kB / 0.5137 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.377, allocations: 3.984 kB / 0.5137 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.377, allocations: 10.34 kB / 0.5137 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.3771, allocations: 6.969 kB / 0.5137 GB, free: 33.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.3772, allocations: 209.4 kB / 0.5139 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.3773, allocations: 42.22 kB / 0.5139 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.3776, allocations: 141.9 kB / 0.5141 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3776, allocations: 2.688 kB / 0.5141 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3776, allocations: 0 / 0.5141 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3776, allocations: 3.938 kB / 0.5141 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.3782, allocations: 461.9 kB / 0.5145 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3782, allocations: 0 / 0.5145 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.3783, allocations: 17.69 kB / 0.5145 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3783, allocations: 0 / 0.5145 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3783, allocations: 5.156 kB / 0.5145 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3783, allocations: 0 / 0.5145 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3783, allocations: 5.203 kB / 0.5146 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006271/0.3789, allocations: 0.8748 MB / 0.5154 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.379, allocations: 114.3 kB / 0.5155 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3791, allocations: 0 / 0.5155 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.3791, allocations: 12.31 kB / 0.5155 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.3792, allocations: 8.422 kB / 0.5155 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3792, allocations: 1.594 kB / 0.5155 GB, free: 32.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005812/0.3798, allocations: 0.6481 MB / 0.5162 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.3798, allocations: 0 / 0.5162 GB, free: 32.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.3802, allocations: 30.56 kB / 0.5162 GB, free: 32.13 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008533/0.381, allocations: 390.7 kB / 0.5166 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3813, allocations: 54.05 kB / 0.5166 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3813, allocations: 0 / 0.5166 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.579e-05/0.3814, allocations: 31.98 kB / 0.5167 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.3819, allocations: 27.16 kB / 0.5167 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3832, allocations: 0.9928 MB / 0.5177 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.3835, allocations: 0.8306 MB / 0.5185 GB, free: 30.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.3836, allocations: 16.02 kB / 0.5185 GB, free: 30.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.3836, allocations: 10.38 kB / 0.5185 GB, free: 30.62 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3836, allocations: 0 / 0.5185 GB, free: 30.62 MB / 378.7 MB Notification: Performance of Templates: time 0.005096/0.3887, allocations: 1.448 MB / 0.5199 GB, free: 30.43 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches