Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 185 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.223/0.223, allocations: 44.2 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4422, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003236/0.4455, allocations: 1.629 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.4473, allocations: 1.056 MB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.4474, allocations: 5.031 kB / 0.5215 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.4477, allocations: 24.84 kB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.4479, allocations: 45.08 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.4484, allocations: 172 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.4486, allocations: 73.23 kB / 0.5218 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.4488, allocations: 15.66 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.4488, allocations: 24.98 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.449, allocations: 32.45 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.449, allocations: 4.219 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.4491, allocations: 51.22 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.4492, allocations: 28.7 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.4493, allocations: 23.52 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.4495, allocations: 99.16 kB / 0.5221 GB, free: 1.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4495, allocations: 1.5 kB / 0.5221 GB, free: 1.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4496, allocations: 0 / 0.5221 GB, free: 1.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4496, allocations: 0 / 0.5221 GB, free: 1.449 MB / 382.1 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.0005452/0.4501, allocations: 386.7 kB / 0.5225 GB, free: 1.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4502, allocations: 10 kB / 0.5225 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.4502, allocations: 7.281 kB / 0.5225 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.4504, allocations: 196.6 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.4504, allocations: 5.5 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.4505, allocations: 2.688 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.4507, allocations: 76.62 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4507, allocations: 0 / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4507, allocations: 1.125 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4507, allocations: 4.938 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.4509, allocations: 47.36 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.4514, allocations: 303.9 kB / 0.5231 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.4515, allocations: 50.52 kB / 0.5232 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/0.4516, allocations: 30.22 kB / 0.5232 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.4516, allocations: 4 kB / 0.5232 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.4516, allocations: 36.55 kB / 0.5232 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.4516, allocations: 1.125 kB / 0.5232 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008425/0.4525, allocations: 225.2 kB / 0.5234 GB, free: 300 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.4525, allocations: 79.3 kB / 0.5235 GB, free: 204 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.4527, allocations: 130.7 kB / 0.5236 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.4527, allocations: 26.64 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.4528, allocations: 93.36 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.4528, allocations: 29.03 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.4529, allocations: 20.62 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.453, allocations: 323.3 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.4532, allocations: 42.72 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4533, allocations: 52.56 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.4536, allocations: 86.66 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4536, allocations: 0 / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002992/0.4539, allocations: 126.9 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4539, allocations: 5.688 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4539, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.454, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.4541, allocations: 25.28 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4541, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.4542, allocations: 19.52 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.4542, allocations: 2.891 kB / 0.5245 GB, free: 15.47 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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 9.401e-05/0.4543, allocations: 117.4 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.4543, allocations: 6.969 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.4547, allocations: 136.5 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4547, allocations: 1.219 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4547, allocations: 9.062 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4547, allocations: 4.688 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.4553, allocations: 401 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4553, allocations: 0.5625 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.4554, allocations: 18.89 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4554, allocations: 0 / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4555, allocations: 5.672 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4555, allocations: 5.188 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4555, allocations: 0 / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.4558, allocations: 223.5 kB / 0.5253 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.4559, allocations: 82.91 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.4559, allocations: 5.922 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.456, allocations: 16.39 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.4561, allocations: 10.25 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.4561, allocations: 1.906 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.4562, allocations: 104.3 kB / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4562, allocations: 0 / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.4565, allocations: 27.19 kB / 0.5256 GB, free: 14.56 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.00105/0.4575, allocations: 447.2 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.4579, allocations: 96.06 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4579, allocations: 0 / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.458, allocations: 53.19 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.4584, allocations: 22.72 kB / 0.5262 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.4589, allocations: 205.4 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.4592, allocations: 0.7003 MB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.4593, allocations: 30.86 kB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.4594, allocations: 14.84 kB / 0.5271 GB, free: 13.42 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4594, allocations: 0 / 0.5271 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Templates: time 0.005011/0.4644, allocations: 1.54 MB / 0.5286 GB, free: 12.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches