Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2525/0.2525, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4787, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003398/0.4822, allocations: 1.668 MB / 0.5326 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.4833, allocations: 0.577 MB / 0.5332 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.4835, allocations: 1.375 kB / 0.5332 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008975/0.4844, allocations: 453.3 kB / 0.5336 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006631/0.4851, allocations: 296.2 kB / 0.5339 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.4856, allocations: 176.9 kB / 0.5341 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.486, allocations: 179.4 kB / 0.5343 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.4862, allocations: 17.08 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.4864, allocations: 115.7 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.4868, allocations: 216.9 kB / 0.5346 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.4868, allocations: 2.844 kB / 0.5346 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.4869, allocations: 41.78 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.4871, allocations: 83.19 kB / 0.5347 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.4872, allocations: 103.3 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.4877, allocations: 268.5 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4877, allocations: 1.031 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4877, allocations: 0 / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4877, allocations: 4 kB / 0.5351 GB, free: 11.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009775/0.4887, allocations: 0.6658 MB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4888, allocations: 9.188 kB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.2e-05/0.4889, allocations: 46.92 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.4892, allocations: 312 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4892, allocations: 1.75 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.4892, allocations: 6.719 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.4894, allocations: 66.52 kB / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4895, allocations: 1.125 kB / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.4895, allocations: 0 / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.4895, allocations: 1.125 kB / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.4896, allocations: 38.7 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.4902, allocations: 404.8 kB / 0.5366 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.4904, allocations: 54.17 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.4905, allocations: 24.28 kB / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4905, allocations: 1.25 kB / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.4905, allocations: 31.69 kB / 0.5367 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.4906, allocations: 0 / 0.5367 GB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009388/0.4915, allocations: 323.2 kB / 0.537 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.4916, allocations: 56.28 kB / 0.537 GB, free: 9.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/0.4925, allocations: 0.8679 MB / 0.5379 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4926, allocations: 30.14 kB / 0.5379 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.4928, allocations: 216.2 kB / 0.5381 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.4928, allocations: 27.22 kB / 0.5381 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.4928, allocations: 19.38 kB / 0.5382 GB, free: 8.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.493, allocations: 363.6 kB / 0.5385 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.4931, allocations: 37.06 kB / 0.5385 GB, free: 8.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.4933, allocations: 38.34 kB / 0.5386 GB, free: 8.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.4935, allocations: 95.33 kB / 0.5387 GB, free: 8.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4936, allocations: 0 / 0.5387 GB, free: 8.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003365/0.4939, allocations: 162.6 kB / 0.5388 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4939, allocations: 5.969 kB / 0.5388 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4939, allocations: 3.938 kB / 0.5388 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.494, allocations: 1.156 kB / 0.5388 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4941, allocations: 26.16 kB / 0.5389 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4941, allocations: 1.281 kB / 0.5389 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.217e-05/0.4942, allocations: 10.31 kB / 0.5389 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.4942, allocations: 1.375 kB / 0.5389 GB, free: 8.098 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 0.0002254/0.4944, allocations: 219.3 kB / 0.5391 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.4945, allocations: 42.28 kB / 0.5391 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.4949, allocations: 187.8 kB / 0.5393 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.495, allocations: 1.375 kB / 0.5393 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.495, allocations: 0 / 0.5393 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.495, allocations: 7.875 kB / 0.5393 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007303/0.4957, allocations: 0.5092 MB / 0.5398 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4957, allocations: 5.156 kB / 0.5398 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.6e-05/0.4958, allocations: 17.98 kB / 0.5398 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4958, allocations: 1.25 kB / 0.5398 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.4959, allocations: 8.969 kB / 0.5398 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4959, allocations: 0 / 0.5398 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4959, allocations: 1.312 kB / 0.5398 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.4962, allocations: 262.6 kB / 0.5401 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.4963, allocations: 113.7 kB / 0.5402 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.4964, allocations: 9.625 kB / 0.5402 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.4965, allocations: 5.875 kB / 0.5402 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.4965, allocations: 9.453 kB / 0.5402 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4965, allocations: 2.844 kB / 0.5402 GB, free: 7.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007152/0.4973, allocations: 0.652 MB / 0.5409 GB, free: 6.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4973, allocations: 0 / 0.5409 GB, free: 6.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.4975, allocations: 28.88 kB / 0.5409 GB, free: 6.684 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.0009931/0.4985, allocations: 407.2 kB / 0.5413 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.4989, allocations: 84.22 kB / 0.5414 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4989, allocations: 1.188 kB / 0.5414 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.4991, allocations: 52.55 kB / 0.5414 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.4996, allocations: 38.72 kB / 0.5414 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.5012, allocations: 0.8253 MB / 0.5423 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.5018, allocations: 0.8357 MB / 0.5431 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.938e-05/0.5019, allocations: 29.91 kB / 0.5431 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.502, allocations: 13.19 kB / 0.5431 GB, free: 5.152 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.502, allocations: 0 / 0.5431 GB, free: 5.152 MB / 398.1 MB Notification: Performance of Templates: time 0.005956/0.508, allocations: 1.614 MB / 0.5447 GB, free: 3.613 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches