Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001828/0.001828, allocations: 117.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002166/0.002166, allocations: 203.8 kB / 18.74 MB, free: 4.332 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.2342/0.2342, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 79.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4667/0.4682, allocations: 62.42 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004033/0.4723, allocations: 2.057 MB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.4744, allocations: 1.123 MB / 0.5341 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.4746, allocations: 7.469 kB / 0.5341 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.4751, allocations: 268.8 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.4757, allocations: 257.9 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.4771, allocations: 0.66 MB / 0.5353 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.4776, allocations: 349.7 kB / 0.5356 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.478, allocations: 80.81 kB / 0.5357 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.4782, allocations: 147.1 kB / 0.5358 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.4786, allocations: 202.2 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.4787, allocations: 12.06 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.479, allocations: 113.1 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.4792, allocations: 97.27 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.4794, allocations: 125.2 kB / 0.5363 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000617/0.48, allocations: 353.4 kB / 0.5367 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.48, allocations: 0 / 0.5367 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.48, allocations: 0 / 0.5367 GB, free: 9.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.48, allocations: 1.312 kB / 0.5367 GB, free: 9.551 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001007/0.481, allocations: 0.6774 MB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4811, allocations: 9.938 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.4812, allocations: 55.73 kB / 0.5374 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.4817, allocations: 329 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.4818, allocations: 9.312 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.4818, allocations: 7.344 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.4822, allocations: 135.8 kB / 0.5379 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.4822, allocations: 1.531 kB / 0.5379 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.4822, allocations: 4 kB / 0.5379 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.4823, allocations: 2.969 kB / 0.5379 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.4825, allocations: 98.92 kB / 0.538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.4836, allocations: 0.5054 MB / 0.5384 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.4839, allocations: 112.3 kB / 0.5386 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.484, allocations: 40.38 kB / 0.5386 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.484, allocations: 2.031 kB / 0.5386 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.4841, allocations: 39.5 kB / 0.5386 GB, free: 7.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.4841, allocations: 0 / 0.5386 GB, free: 7.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001293/0.4854, allocations: 453 kB / 0.5391 GB, free: 7.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4854, allocations: 52.75 kB / 0.5391 GB, free: 7.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008305/0.4863, allocations: 0.5717 MB / 0.5397 GB, free: 7.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.4863, allocations: 27.39 kB / 0.5397 GB, free: 7.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.4865, allocations: 215.1 kB / 0.5399 GB, free: 7.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.4866, allocations: 61.2 kB / 0.54 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.4867, allocations: 34.73 kB / 0.54 GB, free: 6.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4869, allocations: 354.4 kB / 0.5403 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.487, allocations: 63.36 kB / 0.5404 GB, free: 6.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4872, allocations: 69.67 kB / 0.5405 GB, free: 6.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.4875, allocations: 159.2 kB / 0.5406 GB, free: 6.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4875, allocations: 3.938 kB / 0.5406 GB, free: 6.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003933/0.4879, allocations: 235.7 kB / 0.5408 GB, free: 6.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4879, allocations: 5.531 kB / 0.5408 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4879, allocations: 4 kB / 0.5409 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4879, allocations: 1.062 kB / 0.5409 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.4881, allocations: 35.59 kB / 0.5409 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4881, allocations: 3.938 kB / 0.5409 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.4882, allocations: 8.875 kB / 0.5409 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.4882, allocations: 8.344 kB / 0.5409 GB, free: 6.281 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 (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.0001745/0.4884, allocations: 182.8 kB / 0.5411 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.4885, allocations: 45.91 kB / 0.5411 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.489, allocations: 278.5 kB / 0.5414 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.489, allocations: 2.469 kB / 0.5414 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4891, allocations: 0 / 0.5414 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.4891, allocations: 5.094 kB / 0.5414 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.49, allocations: 0.6852 MB / 0.5421 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.49, allocations: 0 / 0.5421 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.4901, allocations: 30.86 kB / 0.5421 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4901, allocations: 0 / 0.5421 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4902, allocations: 2.406 kB / 0.5421 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4902, allocations: 1.031 kB / 0.5421 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.4902, allocations: 4.938 kB / 0.5421 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.4906, allocations: 338.8 kB / 0.5424 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.4907, allocations: 104.6 kB / 0.5425 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.4908, allocations: 9.062 kB / 0.5425 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.4909, allocations: 4.406 kB / 0.5425 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.4909, allocations: 17.33 kB / 0.5426 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.491, allocations: 8.234 kB / 0.5426 GB, free: 5.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004926/0.4915, allocations: 428.3 kB / 0.543 GB, free: 4.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4915, allocations: 0 / 0.543 GB, free: 4.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.4918, allocations: 53.11 kB / 0.543 GB, free: 4.773 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 (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.001792/0.4936, allocations: 0.6815 MB / 0.5437 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.494, allocations: 166 kB / 0.5438 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.494, allocations: 4 kB / 0.5439 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.4942, allocations: 90.2 kB / 0.5439 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.4948, allocations: 83.69 kB / 0.544 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.496, allocations: 0.737 MB / 0.5447 GB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.4964, allocations: 0.8299 MB / 0.5455 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.4965, allocations: 53.91 kB / 0.5456 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.4966, allocations: 35.42 kB / 0.5456 GB, free: 2.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4966, allocations: 3.938 kB / 0.5456 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Templates: time 0.007062/0.5037, allocations: 3.389 MB / 0.5489 GB, free: 15.29 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches