Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001253, 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.483/1.483, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.001142/0.001142, allocations: 109.2 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.3445/0.3445, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 51.91 kB / 457.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3901, allocations: 60.81 MB / 0.5064 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.005643/0.3958, allocations: 2.011 MB / 0.5084 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3976, allocations: 0.85 MB / 0.5092 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.3978, allocations: 0 / 0.5092 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.3983, allocations: 245.8 kB / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.3988, allocations: 170.5 kB / 0.5096 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.4, allocations: 450.1 kB / 0.51 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.4005, allocations: 270.2 kB / 0.5103 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.4007, allocations: 64.3 kB / 0.5103 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.4009, allocations: 118.3 kB / 0.5104 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.4011, allocations: 197.3 kB / 0.5106 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.4012, allocations: 5.844 kB / 0.5106 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.4014, allocations: 65.34 kB / 0.5107 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.4015, allocations: 85.2 kB / 0.5108 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.4016, allocations: 107.4 kB / 0.5109 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.402, allocations: 278.7 kB / 0.5111 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.402, allocations: 3.938 kB / 0.5112 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.402, allocations: 2.875 kB / 0.5112 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.402, allocations: 0 / 0.5112 GB, free: 35.55 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007167/0.4028, allocations: 0.6138 MB / 0.5118 GB, free: 35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4028, allocations: 12.62 kB / 0.5118 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.482e-05/0.4029, allocations: 42.03 kB / 0.5118 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.4032, allocations: 298.2 kB / 0.5121 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4032, allocations: 9.938 kB / 0.5121 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.4033, allocations: 14.31 kB / 0.5121 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.4035, allocations: 107.9 kB / 0.5122 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4035, allocations: 2.75 kB / 0.5122 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4036, allocations: 4 kB / 0.5122 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4036, allocations: 2.625 kB / 0.5122 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.4037, allocations: 75.94 kB / 0.5123 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.4044, allocations: 475.7 kB / 0.5128 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.4046, allocations: 93.44 kB / 0.5128 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/0.4046, allocations: 37.19 kB / 0.5129 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.4047, allocations: 3.188 kB / 0.5129 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.4047, allocations: 37.41 kB / 0.5129 GB, free: 34.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.4047, allocations: 0 / 0.5129 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008618/0.4056, allocations: 379.5 kB / 0.5133 GB, free: 33.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.4056, allocations: 53.75 kB / 0.5133 GB, free: 33.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/0.4062, allocations: 0.5134 MB / 0.5138 GB, free: 33.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.4062, allocations: 29.58 kB / 0.5139 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.4063, allocations: 195.1 kB / 0.514 GB, free: 33.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.4064, allocations: 61.86 kB / 0.5141 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.4064, allocations: 32.22 kB / 0.5141 GB, free: 33.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.4065, allocations: 346.9 kB / 0.5145 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.4066, allocations: 49.62 kB / 0.5145 GB, free: 33.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.4067, allocations: 51.59 kB / 0.5146 GB, free: 33.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.4069, allocations: 126.5 kB / 0.5147 GB, free: 33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4069, allocations: 3.938 kB / 0.5147 GB, free: 33 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002977/0.4072, allocations: 190.4 kB / 0.5149 GB, free: 32.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4073, allocations: 8.5 kB / 0.5149 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4073, allocations: 0 / 0.5149 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4073, allocations: 2.875 kB / 0.5149 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.4074, allocations: 33.72 kB / 0.5149 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4075, allocations: 3.984 kB / 0.5149 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.4075, allocations: 16.83 kB / 0.5149 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4075, allocations: 2.688 kB / 0.5149 GB, free: 32.89 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 (17): * Single equations (assignments): 17 * 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.0001291/0.4077, allocations: 173 kB / 0.5151 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.4077, allocations: 36.28 kB / 0.5151 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.4082, allocations: 230.5 kB / 0.5154 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4082, allocations: 10.25 kB / 0.5154 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4082, allocations: 4.562 kB / 0.5154 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4082, allocations: 2.016 kB / 0.5154 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/0.409, allocations: 0.6084 MB / 0.516 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.409, allocations: 4 kB / 0.516 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.4091, allocations: 29.41 kB / 0.516 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4091, allocations: 5.094 kB / 0.516 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4091, allocations: 9.766 kB / 0.516 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4091, allocations: 1.219 kB / 0.516 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4091, allocations: 3.938 kB / 0.516 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.4098, allocations: 0.9685 MB / 0.517 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.4098, allocations: 105.6 kB / 0.5171 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.4099, allocations: 6.562 kB / 0.5171 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.41, allocations: 2.781 kB / 0.5171 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.41, allocations: 16.39 kB / 0.5171 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.4101, allocations: 5.594 kB / 0.5171 GB, free: 31.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003045/0.4104, allocations: 389.7 kB / 0.5175 GB, free: 31.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4104, allocations: 0 / 0.5175 GB, free: 31.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.4108, allocations: 46.25 kB / 0.5175 GB, free: 31.05 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 (17): * Single equations (assignments): 17 * 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.001421/0.4122, allocations: 0.6979 MB / 0.5182 GB, free: 30.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.4125, allocations: 130.3 kB / 0.5183 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4125, allocations: 0 / 0.5183 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.4126, allocations: 79.88 kB / 0.5184 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.4131, allocations: 78.91 kB / 0.5185 GB, free: 30.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.4141, allocations: 0.9157 MB / 0.5194 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.4144, allocations: 0.8066 MB / 0.5201 GB, free: 29.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.4146, allocations: 45.16 kB / 0.5202 GB, free: 29.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.4146, allocations: 25.72 kB / 0.5202 GB, free: 29.34 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.4146, allocations: 0 / 0.5202 GB, free: 29.34 MB / 378.7 MB Notification: Performance of Templates: time 0.006322/0.4209, allocations: 3.105 MB / 0.5232 GB, free: 29 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches