Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002249/0.002248, 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.002286/0.002285, allocations: 202 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.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2524/0.2524, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 72.2 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4565, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003532/0.4601, allocations: 1.667 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.4625, allocations: 1.174 MB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.4626, allocations: 0 / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.4629, allocations: 23.97 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.4634, allocations: 81.75 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.4639, allocations: 137.4 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.4641, allocations: 76.64 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4642, allocations: 16.25 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.074e-05/0.4643, allocations: 30.84 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.4645, allocations: 40.2 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.4645, allocations: 4.125 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.4647, allocations: 100.1 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.4648, allocations: 17.47 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.4649, allocations: 29.31 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.4652, allocations: 151.8 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4652, allocations: 0 / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4652, allocations: 1.375 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.4652, allocations: 0 / 0.5345 GB, free: 10.93 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.0006051/0.4658, allocations: 405.7 kB / 0.5348 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4659, allocations: 13.3 kB / 0.5349 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.4659, allocations: 9.375 kB / 0.5349 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.4662, allocations: 189 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.4662, allocations: 1.812 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.4662, allocations: 13.97 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.4664, allocations: 76.89 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4665, allocations: 1.219 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4665, allocations: 0 / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.4665, allocations: 5.203 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.4667, allocations: 36.11 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.4671, allocations: 299.2 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.4672, allocations: 44.22 kB / 0.5355 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.4673, allocations: 27.41 kB / 0.5355 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.4674, allocations: 5.094 kB / 0.5355 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4674, allocations: 35.72 kB / 0.5356 GB, free: 9.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4674, allocations: 0 / 0.5356 GB, free: 9.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008242/0.4682, allocations: 207.4 kB / 0.5358 GB, free: 9.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.4683, allocations: 82.16 kB / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.4685, allocations: 151.4 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.4685, allocations: 26.89 kB / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.4686, allocations: 91.45 kB / 0.5361 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.4687, allocations: 30.86 kB / 0.5361 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.4687, allocations: 19.38 kB / 0.5362 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4689, allocations: 321.2 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.469, allocations: 29.5 kB / 0.5365 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.4691, allocations: 51.12 kB / 0.5365 GB, free: 8.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.4694, allocations: 72.28 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4694, allocations: 0 / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003058/0.4697, allocations: 122.8 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4697, allocations: 5.156 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4698, allocations: 1.125 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4698, allocations: 0 / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4699, allocations: 23.73 kB / 0.5367 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.4699, allocations: 0 / 0.5367 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.47, allocations: 14.23 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.47, allocations: 2.625 kB / 0.5368 GB, free: 8.77 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.0001162/0.4702, allocations: 121.8 kB / 0.5369 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.4702, allocations: 8.25 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.4706, allocations: 123.8 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4706, allocations: 1.844 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.4706, allocations: 7.922 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4706, allocations: 3.938 kB / 0.537 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.4712, allocations: 399.1 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4712, allocations: 1.188 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.4713, allocations: 18.3 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4713, allocations: 1.094 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4713, allocations: 5.031 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4713, allocations: 0 / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4713, allocations: 0 / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.4716, allocations: 222.2 kB / 0.5376 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.4717, allocations: 79.67 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.4717, allocations: 5.281 kB / 0.5377 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.4718, allocations: 13.73 kB / 0.5377 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.4719, allocations: 6.094 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.4719, allocations: 2.781 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.906e-05/0.472, allocations: 121.9 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.472, allocations: 0 / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.4723, allocations: 41.64 kB / 0.5379 GB, free: 7.746 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.001215/0.4736, allocations: 478.5 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.4739, allocations: 87.64 kB / 0.5384 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4739, allocations: 4 kB / 0.5384 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4741, allocations: 41.52 kB / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4745, allocations: 18.64 kB / 0.5385 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.4751, allocations: 206.3 kB / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.4754, allocations: 0.6999 MB / 0.5394 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.16e-05/0.4755, allocations: 16.77 kB / 0.5394 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.4756, allocations: 22.83 kB / 0.5394 GB, free: 6.543 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4756, allocations: 0 / 0.5394 GB, free: 6.543 MB / 398.1 MB Notification: Performance of Templates: time 0.00527/0.4808, allocations: 1.893 MB / 0.5413 GB, free: 5.559 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches