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.001434/0.001434, allocations: 122.8 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.001751/0.001751, 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.597/1.597, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2425/0.2425, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 79.88 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4308, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.004113/0.435, allocations: 1.658 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4364, allocations: 0.5862 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.222e-05/0.4365, allocations: 2.156 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000767/0.4373, allocations: 451.9 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006837/0.438, allocations: 288.3 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007249/0.4387, allocations: 182 kB / 0.5341 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.4391, allocations: 179.2 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.4392, allocations: 17.75 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.4393, allocations: 119.6 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.4396, allocations: 211.7 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.4396, allocations: 4.906 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.4397, allocations: 37.91 kB / 0.5346 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.4398, allocations: 83.22 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.474e-05/0.4399, allocations: 106.8 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.4403, allocations: 271.6 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4403, allocations: 0 / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4403, allocations: 1.406 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.4403, allocations: 0 / 0.5351 GB, free: 10.87 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.0007362/0.441, allocations: 0.639 MB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4411, allocations: 9.594 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.4412, allocations: 43.62 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.4414, allocations: 302.6 kB / 0.536 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4414, allocations: 9.531 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.4415, allocations: 7.547 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4417, allocations: 66.83 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4417, allocations: 0 / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4417, allocations: 1.094 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4417, allocations: 0 / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4418, allocations: 42.95 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.4424, allocations: 405 kB / 0.5365 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4425, allocations: 54.36 kB / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.4426, allocations: 24.28 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.4427, allocations: 1.094 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.4427, allocations: 35.69 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4427, allocations: 0 / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008496/0.4435, allocations: 314.9 kB / 0.537 GB, free: 9.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4436, allocations: 56.31 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009223/0.4445, allocations: 0.8677 MB / 0.5379 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4446, allocations: 25.7 kB / 0.5379 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.4447, allocations: 216.3 kB / 0.5381 GB, free: 8.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.4448, allocations: 26.86 kB / 0.5381 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.4448, allocations: 19.28 kB / 0.5381 GB, free: 8.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.445, allocations: 367.6 kB / 0.5385 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.4451, allocations: 33.66 kB / 0.5385 GB, free: 8.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.4452, allocations: 45.81 kB / 0.5386 GB, free: 8.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.4455, allocations: 95.08 kB / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4455, allocations: 0 / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003184/0.4458, allocations: 155 kB / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4458, allocations: 5.219 kB / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4458, allocations: 0 / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4459, allocations: 1.312 kB / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.446, allocations: 23.34 kB / 0.5388 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.446, allocations: 0 / 0.5388 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.4461, allocations: 10.09 kB / 0.5388 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.4461, allocations: 9.047 kB / 0.5388 GB, free: 7.922 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.0002087/0.4463, allocations: 219.9 kB / 0.5391 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.4464, allocations: 46.34 kB / 0.5391 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.4468, allocations: 179.3 kB / 0.5393 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4468, allocations: 1.062 kB / 0.5393 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4468, allocations: 1.25 kB / 0.5393 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4468, allocations: 3.938 kB / 0.5393 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.4475, allocations: 0.5166 MB / 0.5398 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4476, allocations: 1.406 kB / 0.5398 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.4477, allocations: 17.92 kB / 0.5398 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4477, allocations: 1.062 kB / 0.5398 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.4477, allocations: 5.188 kB / 0.5398 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4477, allocations: 0 / 0.5398 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4477, allocations: 0 / 0.5398 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.4481, allocations: 258.9 kB / 0.54 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/0.4482, allocations: 114.7 kB / 0.5402 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.4482, allocations: 7.875 kB / 0.5402 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4483, allocations: 17.98 kB / 0.5402 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.4484, allocations: 2.219 kB / 0.5402 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4484, allocations: 6.812 kB / 0.5402 GB, free: 6.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006795/0.4491, allocations: 0.6524 MB / 0.5408 GB, free: 6.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4491, allocations: 0 / 0.5408 GB, free: 6.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.4493, allocations: 28.75 kB / 0.5409 GB, free: 6.512 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.0009286/0.4503, allocations: 398.3 kB / 0.5412 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.4506, allocations: 92.14 kB / 0.5413 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4506, allocations: 1.156 kB / 0.5413 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.4508, allocations: 51.47 kB / 0.5414 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.4512, allocations: 32.98 kB / 0.5414 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4525, allocations: 0.8162 MB / 0.5422 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.4532, allocations: 0.8358 MB / 0.543 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.56e-05/0.4533, allocations: 25.22 kB / 0.543 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.4534, allocations: 12.66 kB / 0.5431 GB, free: 5 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4534, allocations: 5.531 kB / 0.5431 GB, free: 4.996 MB / 398.1 MB Notification: Performance of Templates: time 0.006123/0.4595, allocations: 1.62 MB / 0.5446 GB, free: 3.531 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