Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001597/0.001597, allocations: 122.2 kB / 17.79 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.002369/0.002369, allocations: 201.2 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.427/1.427, 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.2261/0.2261, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 68.11 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4773, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003745/0.4811, allocations: 1.679 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.4827, allocations: 0.5786 MB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.4828, allocations: 1.469 kB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.4835, allocations: 460.9 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005832/0.4841, allocations: 293 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.4847, allocations: 175.8 kB / 0.5341 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.485, allocations: 178.7 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.4852, allocations: 23.53 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.4854, allocations: 114.7 kB / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.4857, allocations: 215.7 kB / 0.5346 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.4857, allocations: 4.469 kB / 0.5346 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.4859, allocations: 52.16 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.486, allocations: 83.31 kB / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.4861, allocations: 111.5 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.4866, allocations: 277.2 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4866, allocations: 0 / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4866, allocations: 0 / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.4866, allocations: 1.375 kB / 0.5351 GB, free: 10.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008498/0.4875, allocations: 0.6702 MB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4875, allocations: 9.25 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.4876, allocations: 47.98 kB / 0.5358 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.488, allocations: 308.1 kB / 0.5361 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.488, allocations: 9.562 kB / 0.5361 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.488, allocations: 3.406 kB / 0.5361 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.4882, allocations: 62.36 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4883, allocations: 4 kB / 0.5362 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4883, allocations: 1 kB / 0.5362 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4883, allocations: 5.094 kB / 0.5362 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.4884, allocations: 27.23 kB / 0.5362 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.4891, allocations: 412.1 kB / 0.5366 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.4892, allocations: 44.97 kB / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.4893, allocations: 25.06 kB / 0.5367 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4893, allocations: 5.219 kB / 0.5367 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.4894, allocations: 30.56 kB / 0.5367 GB, free: 9.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.4894, allocations: 1.438 kB / 0.5367 GB, free: 9.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001195/0.4906, allocations: 327.3 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.4907, allocations: 61.45 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.4917, allocations: 0.8706 MB / 0.538 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4918, allocations: 25.7 kB / 0.538 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.492, allocations: 229.8 kB / 0.5382 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.492, allocations: 23.69 kB / 0.5382 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.4921, allocations: 24.75 kB / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4922, allocations: 364 kB / 0.5386 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4924, allocations: 31.83 kB / 0.5386 GB, free: 8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.784e-05/0.4925, allocations: 33.75 kB / 0.5387 GB, free: 7.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.4926, allocations: 74.45 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4927, allocations: 0 / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003009/0.493, allocations: 152.2 kB / 0.5389 GB, free: 7.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.493, allocations: 7.625 kB / 0.5389 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.493, allocations: 7.984 kB / 0.5389 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.493, allocations: 1.062 kB / 0.5389 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4932, allocations: 18.47 kB / 0.5389 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4932, allocations: 7.922 kB / 0.5389 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.4932, allocations: 7.188 kB / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.4933, allocations: 2.188 kB / 0.5389 GB, free: 7.828 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 (8): * Single equations (assignments): 8 * 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.0002346/0.4935, allocations: 219.5 kB / 0.5391 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.4936, allocations: 43.22 kB / 0.5392 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.494, allocations: 179.2 kB / 0.5393 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.494, allocations: 1.094 kB / 0.5393 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.494, allocations: 3.938 kB / 0.5393 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.494, allocations: 1 kB / 0.5393 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.4948, allocations: 0.5113 MB / 0.5398 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4948, allocations: 9.062 kB / 0.5399 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.4949, allocations: 26.28 kB / 0.5399 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4949, allocations: 1.062 kB / 0.5399 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4949, allocations: 1.125 kB / 0.5399 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4949, allocations: 5.047 kB / 0.5399 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4949, allocations: 1.094 kB / 0.5399 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.4953, allocations: 242.8 kB / 0.5401 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.4954, allocations: 123.4 kB / 0.5402 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.4954, allocations: 1.219 kB / 0.5402 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.4955, allocations: 11.23 kB / 0.5402 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.4956, allocations: 3.469 kB / 0.5402 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.4956, allocations: 2.188 kB / 0.5403 GB, free: 6.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007646/0.4963, allocations: 0.663 MB / 0.5409 GB, free: 6.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4964, allocations: 0 / 0.5409 GB, free: 6.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.4967, allocations: 34.28 kB / 0.5409 GB, free: 6.398 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001234/0.4979, allocations: 450.6 kB / 0.5414 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.4982, allocations: 76.23 kB / 0.5414 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4982, allocations: 0 / 0.5414 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.4983, allocations: 40.73 kB / 0.5415 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.4988, allocations: 40.09 kB / 0.5415 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.5004, allocations: 0.8415 MB / 0.5423 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.5009, allocations: 0.8333 MB / 0.5431 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.5011, allocations: 29.03 kB / 0.5432 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.5011, allocations: 19.11 kB / 0.5432 GB, free: 4.844 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5011, allocations: 0 / 0.5432 GB, free: 4.844 MB / 398.1 MB Notification: Performance of Templates: time 0.007059/0.5082, allocations: 1.755 MB / 0.5449 GB, free: 3.281 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches