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.001892/0.001892, allocations: 117.6 kB / 17.78 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.002589/0.002588, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2541/0.2541, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 72.38 kB / 481.3 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4497, 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.003787/0.4536, allocations: 1.674 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.4548, allocations: 0.5816 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.455, allocations: 1.375 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.4556, allocations: 457.2 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.4562, allocations: 288.7 kB / 0.5339 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.4568, allocations: 182.5 kB / 0.5341 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000423/0.4572, allocations: 179.9 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.4574, allocations: 18.25 kB / 0.5343 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.4576, allocations: 111.6 kB / 0.5344 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.458, allocations: 223.6 kB / 0.5346 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.458, allocations: 3.469 kB / 0.5346 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.4582, allocations: 53.19 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.4583, allocations: 84.16 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.4584, allocations: 106.7 kB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.4589, allocations: 272.2 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4589, allocations: 0 / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4589, allocations: 1.125 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.4589, allocations: 4 kB / 0.5351 GB, free: 10.83 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.001026/0.4599, allocations: 0.6568 MB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.46, allocations: 9.719 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.4601, allocations: 43.75 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.4605, allocations: 300 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.4605, allocations: 1.469 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.4605, allocations: 3.625 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.4607, allocations: 69.77 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4608, allocations: 5.125 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4608, allocations: 3.984 kB / 0.5362 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4608, allocations: 4.969 kB / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.4609, allocations: 31.53 kB / 0.5362 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.4616, allocations: 407.9 kB / 0.5366 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.4618, allocations: 52.67 kB / 0.5367 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.4618, allocations: 16.86 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4619, allocations: 1.031 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4619, allocations: 31.59 kB / 0.5367 GB, free: 9.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4619, allocations: 3.938 kB / 0.5367 GB, free: 9.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00113/0.463, allocations: 327.9 kB / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.4631, allocations: 56.5 kB / 0.5371 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.4642, allocations: 0.8706 MB / 0.5379 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4642, allocations: 26.86 kB / 0.5379 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.4644, allocations: 221.2 kB / 0.5382 GB, free: 8.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.4644, allocations: 31.33 kB / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.4645, allocations: 23.97 kB / 0.5382 GB, free: 8.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4647, allocations: 364.2 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.4647, allocations: 28.77 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.4648, allocations: 33.12 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.465, allocations: 74.91 kB / 0.5387 GB, free: 7.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.465, allocations: 0 / 0.5387 GB, free: 7.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003004/0.4653, allocations: 152.6 kB / 0.5388 GB, free: 7.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4654, allocations: 5.344 kB / 0.5388 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4654, allocations: 0 / 0.5388 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4654, allocations: 3.938 kB / 0.5388 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.4655, allocations: 18.92 kB / 0.5389 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.4655, allocations: 3.938 kB / 0.5389 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.4656, allocations: 8.281 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.4656, allocations: 1.281 kB / 0.5389 GB, free: 7.875 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.0002115/0.4659, allocations: 219.4 kB / 0.5391 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.4659, allocations: 42.78 kB / 0.5391 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.4663, allocations: 178.5 kB / 0.5393 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4663, allocations: 1.25 kB / 0.5393 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4663, allocations: 5.188 kB / 0.5393 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4663, allocations: 0 / 0.5393 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.467, allocations: 0.5202 MB / 0.5398 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.467, allocations: 3.938 kB / 0.5398 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.4671, allocations: 17.66 kB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4671, allocations: 1 kB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4671, allocations: 6.109 kB / 0.5398 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4672, allocations: 1.125 kB / 0.5398 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4672, allocations: 0 / 0.5398 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.4675, allocations: 256.2 kB / 0.5401 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/0.4676, allocations: 113.9 kB / 0.5402 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.4676, allocations: 6.141 kB / 0.5402 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.4677, allocations: 7.406 kB / 0.5402 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.4678, allocations: 3.219 kB / 0.5402 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.4678, allocations: 6.109 kB / 0.5402 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006846/0.4685, allocations: 0.6584 MB / 0.5409 GB, free: 6.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4685, allocations: 0 / 0.5409 GB, free: 6.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.4688, allocations: 35.7 kB / 0.5409 GB, free: 6.445 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.001061/0.4698, allocations: 461.1 kB / 0.5413 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.4701, allocations: 72.14 kB / 0.5414 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4701, allocations: 1.125 kB / 0.5414 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.4702, allocations: 40.55 kB / 0.5414 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4706, allocations: 32.89 kB / 0.5415 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.472, allocations: 0.8289 MB / 0.5423 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.4725, allocations: 0.8288 MB / 0.5431 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.547e-05/0.4726, allocations: 21.25 kB / 0.5431 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.4726, allocations: 18.83 kB / 0.5431 GB, free: 4.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4726, allocations: 4 kB / 0.5431 GB, free: 4.906 MB / 398.1 MB Notification: Performance of Templates: time 0.005695/0.4783, allocations: 1.762 MB / 0.5449 GB, free: 3.301 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