Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001094, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 79.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4603, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003922/0.4642, allocations: 1.943 MB / 0.5329 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.4671, allocations: 1.09 MB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.4673, allocations: 1.375 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008811/0.4682, allocations: 257.4 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007489/0.469, allocations: 265.3 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.4709, allocations: 0.6453 MB / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005881/0.4715, allocations: 315.5 kB / 0.5354 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.4717, allocations: 49.91 kB / 0.5354 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.4719, allocations: 140.5 kB / 0.5356 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.4722, allocations: 203.1 kB / 0.5358 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.4722, allocations: 8.688 kB / 0.5358 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.4724, allocations: 53.81 kB / 0.5358 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.4726, allocations: 96.42 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.4727, allocations: 109.8 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.4731, allocations: 301.9 kB / 0.5363 GB, free: 9.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4731, allocations: 0 / 0.5363 GB, free: 9.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4732, allocations: 4 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.4732, allocations: 0 / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007936/0.474, allocations: 0.6208 MB / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.474, allocations: 9.281 kB / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.4741, allocations: 41.31 kB / 0.537 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.4745, allocations: 323 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.4746, allocations: 7.625 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.4746, allocations: 4.531 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.4749, allocations: 110.6 kB / 0.5374 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4749, allocations: 0 / 0.5374 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4749, allocations: 5.219 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4749, allocations: 1.125 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.4751, allocations: 70.62 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.4758, allocations: 458.3 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.476, allocations: 65.67 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.4761, allocations: 40.97 kB / 0.538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.4762, allocations: 6.953 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.4762, allocations: 34.56 kB / 0.538 GB, free: 8.223 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4762, allocations: 0 / 0.538 GB, free: 8.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004062/0.4766, allocations: 156.4 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.4767, allocations: 56.38 kB / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/0.4774, allocations: 0.5718 MB / 0.5388 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4774, allocations: 25.7 kB / 0.5388 GB, free: 7.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.4776, allocations: 201.9 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.4776, allocations: 18.3 kB / 0.539 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.4777, allocations: 23.95 kB / 0.5391 GB, free: 7.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4778, allocations: 350.6 kB / 0.5394 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.4779, allocations: 21.27 kB / 0.5394 GB, free: 7.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.478, allocations: 30.84 kB / 0.5394 GB, free: 7.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.4781, allocations: 70.14 kB / 0.5395 GB, free: 7.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4782, allocations: 0 / 0.5395 GB, free: 7.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002297/0.4784, allocations: 137.5 kB / 0.5396 GB, free: 7.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4784, allocations: 6.125 kB / 0.5396 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4784, allocations: 0 / 0.5396 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4784, allocations: 0 / 0.5396 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.4786, allocations: 22.66 kB / 0.5397 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4786, allocations: 0 / 0.5397 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.4786, allocations: 18.5 kB / 0.5397 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4786, allocations: 2.469 kB / 0.5397 GB, free: 6.996 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 (6): * Single equations (assignments): 6 * 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.0001623/0.4788, allocations: 173.5 kB / 0.5399 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.4789, allocations: 36.03 kB / 0.5399 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.4792, allocations: 144.4 kB / 0.54 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4792, allocations: 5.562 kB / 0.54 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4792, allocations: 0 / 0.54 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4792, allocations: 1.312 kB / 0.54 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.4796, allocations: 297.7 kB / 0.5403 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4796, allocations: 1.281 kB / 0.5403 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.4797, allocations: 10.06 kB / 0.5403 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4797, allocations: 0 / 0.5403 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4797, allocations: 5.219 kB / 0.5403 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.4797, allocations: 7.922 kB / 0.5403 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4797, allocations: 1.188 kB / 0.5403 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.48, allocations: 225.6 kB / 0.5406 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.4801, allocations: 111.6 kB / 0.5407 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.4801, allocations: 1.125 kB / 0.5407 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.4802, allocations: 6.312 kB / 0.5407 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.4802, allocations: 6.422 kB / 0.5407 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.4802, allocations: 6.344 kB / 0.5407 GB, free: 6.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005009/0.4807, allocations: 426.7 kB / 0.5411 GB, free: 5.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4807, allocations: 0 / 0.5411 GB, free: 5.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.481, allocations: 34.34 kB / 0.5411 GB, free: 5.906 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 (6): * Single equations (assignments): 6 * 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.001482/0.4825, allocations: 0.5822 MB / 0.5417 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.4828, allocations: 69.39 kB / 0.5418 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.4828, allocations: 0 / 0.5418 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.4829, allocations: 36.69 kB / 0.5418 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.4835, allocations: 76.83 kB / 0.5419 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4847, allocations: 0.6328 MB / 0.5425 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.4852, allocations: 0.8111 MB / 0.5433 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.4854, allocations: 50.12 kB / 0.5433 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.4855, allocations: 33.58 kB / 0.5434 GB, free: 4.352 MB / 398.1 MB Notification: Performance of SimCode: time 2.495e-06/0.4855, allocations: 0 / 0.5434 GB, free: 4.352 MB / 398.1 MB Notification: Performance of Templates: time 0.006735/0.4922, allocations: 2.735 MB / 0.546 GB, free: 2.227 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches