Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001008/0.001008, allocations: 183 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.465/1.465, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2283/0.2283, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 59.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4591, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.004951/0.4641, allocations: 1.592 MB / 0.5205 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.4653, allocations: 431.7 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.4655, allocations: 1.062 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.4664, allocations: 454.1 kB / 0.5213 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007701/0.4673, allocations: 257.3 kB / 0.5216 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009054/0.4682, allocations: 169.2 kB / 0.5217 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000666/0.4689, allocations: 166.5 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.4691, allocations: 12.27 kB / 0.5219 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.4695, allocations: 108.5 kB / 0.522 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.47, allocations: 215.3 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.4701, allocations: 2.219 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.4702, allocations: 24.61 kB / 0.5222 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.4704, allocations: 83.16 kB / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.151e-05/0.4705, allocations: 94.28 kB / 0.5224 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005616/0.471, allocations: 246 kB / 0.5226 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4711, allocations: 0 / 0.5226 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4711, allocations: 0 / 0.5226 GB, free: 1.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.4711, allocations: 3.938 kB / 0.5226 GB, free: 1.781 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001262/0.4724, allocations: 0.6305 MB / 0.5232 GB, free: 1.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.672e-05/0.4725, allocations: 10.28 kB / 0.5233 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.4726, allocations: 43.27 kB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.4729, allocations: 297.3 kB / 0.5236 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.473, allocations: 1.562 kB / 0.5236 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.473, allocations: 1.594 kB / 0.5236 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.4732, allocations: 59.8 kB / 0.5236 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4732, allocations: 3.938 kB / 0.5236 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4733, allocations: 1.344 kB / 0.5236 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4733, allocations: 4 kB / 0.5236 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.4735, allocations: 38.02 kB / 0.5237 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.4742, allocations: 385 kB / 0.524 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.4744, allocations: 44.98 kB / 0.5241 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4745, allocations: 27.59 kB / 0.5241 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.4746, allocations: 2.078 kB / 0.5241 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.4746, allocations: 39.34 kB / 0.5242 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.4746, allocations: 1.312 kB / 0.5242 GB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005552/0.4752, allocations: 122.5 kB / 0.5243 GB, free: 404 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.4753, allocations: 51.41 kB / 0.5243 GB, free: 340 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.4767, allocations: 0.8579 MB / 0.5252 GB, free: 12 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.4768, allocations: 31.08 kB / 0.5252 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.4771, allocations: 211.2 kB / 0.5254 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.4771, allocations: 7.266 kB / 0.5254 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/0.4772, allocations: 17.73 kB / 0.5254 GB, free: 15.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.4775, allocations: 362 kB / 0.5258 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/0.4776, allocations: 17.61 kB / 0.5258 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/0.4777, allocations: 22.67 kB / 0.5258 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.4779, allocations: 47.56 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4779, allocations: 0 / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003434/0.4783, allocations: 111 kB / 0.526 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4783, allocations: 6.469 kB / 0.526 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4783, allocations: 7.922 kB / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4783, allocations: 0 / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4785, allocations: 15.17 kB / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4785, allocations: 0 / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-05/0.4786, allocations: 4.031 kB / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4786, allocations: 0.6875 kB / 0.526 GB, free: 15.3 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 (3): * Single equations (assignments): 3 * 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.0003134/0.4789, allocations: 218.5 kB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.479, allocations: 41.69 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.4794, allocations: 124.4 kB / 0.5264 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4795, allocations: 5.062 kB / 0.5264 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4795, allocations: 0 / 0.5264 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4795, allocations: 1.375 kB / 0.5264 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.48, allocations: 288 kB / 0.5266 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.48, allocations: 1.125 kB / 0.5266 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.4801, allocations: 10.7 kB / 0.5266 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4801, allocations: 0 / 0.5266 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4801, allocations: 5.469 kB / 0.5266 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4801, allocations: 0 / 0.5266 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4802, allocations: 3.938 kB / 0.5267 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.4805, allocations: 210.4 kB / 0.5269 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.4807, allocations: 110.4 kB / 0.527 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.4807, allocations: 0 / 0.527 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.4809, allocations: 2.75 kB / 0.527 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.4809, allocations: 6.797 kB / 0.527 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.4809, allocations: 0 / 0.527 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.482, allocations: 0.6496 MB / 0.5276 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.482, allocations: 0 / 0.5276 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005294/0.4826, allocations: 17.03 kB / 0.5276 GB, free: 14.14 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 (3): * Single equations (assignments): 3 * 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.001286/0.4839, allocations: 367.2 kB / 0.528 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.4842, allocations: 44.27 kB / 0.528 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4842, allocations: 0 / 0.528 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.4843, allocations: 21.61 kB / 0.528 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.4849, allocations: 32.23 kB / 0.5281 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.4867, allocations: 0.77 MB / 0.5288 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.4874, allocations: 0.8291 MB / 0.5296 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.488e-05/0.4875, allocations: 11.64 kB / 0.5296 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.4876, allocations: 11.75 kB / 0.5296 GB, free: 12.71 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4876, allocations: 0 / 0.5296 GB, free: 12.71 MB / 398.1 MB Notification: Performance of Templates: time 0.007719/0.4953, allocations: 1.337 MB / 0.531 GB, free: 12.05 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches