Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 121 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.001487/0.001487, 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.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 79.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4499, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.00399/0.4539, allocations: 2.037 MB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.4559, allocations: 1.023 MB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.4561, allocations: 2.75 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.4567, allocations: 256 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006883/0.4575, allocations: 260.5 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.4588, allocations: 495.5 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.4594, allocations: 323.7 kB / 0.5353 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.4596, allocations: 76.22 kB / 0.5353 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.4599, allocations: 139.5 kB / 0.5355 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.4602, allocations: 206.3 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.4603, allocations: 11.47 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.4606, allocations: 97.2 kB / 0.5358 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.4607, allocations: 92.64 kB / 0.5359 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.4608, allocations: 124.1 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.4614, allocations: 343.5 kB / 0.5363 GB, free: 9.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4614, allocations: 1.094 kB / 0.5363 GB, free: 9.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4614, allocations: 0 / 0.5363 GB, free: 9.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.4614, allocations: 0 / 0.5363 GB, free: 9.766 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009376/0.4624, allocations: 0.6701 MB / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4624, allocations: 14.33 kB / 0.537 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.4626, allocations: 43.16 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.463, allocations: 323.9 kB / 0.5373 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.463, allocations: 11.84 kB / 0.5373 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.4631, allocations: 12.12 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.4633, allocations: 114.2 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4634, allocations: 0.9688 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.4634, allocations: 5.031 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4634, allocations: 3.156 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.4636, allocations: 67.14 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.4643, allocations: 489 kB / 0.538 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.4646, allocations: 96.05 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.4646, allocations: 36.88 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.4647, allocations: 2.25 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4647, allocations: 35.73 kB / 0.5382 GB, free: 8.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.4647, allocations: 0 / 0.5382 GB, free: 8.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001037/0.4658, allocations: 406.8 kB / 0.5386 GB, free: 7.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.4658, allocations: 54.41 kB / 0.5386 GB, free: 7.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.4665, allocations: 0.5582 MB / 0.5392 GB, free: 7.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.4666, allocations: 34.47 kB / 0.5392 GB, free: 7.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.4667, allocations: 202.9 kB / 0.5394 GB, free: 7.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.4668, allocations: 58.33 kB / 0.5394 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.4669, allocations: 37.61 kB / 0.5395 GB, free: 7.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.467, allocations: 349.8 kB / 0.5398 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.4671, allocations: 50.34 kB / 0.5399 GB, free: 6.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.4673, allocations: 56.25 kB / 0.5399 GB, free: 6.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.4675, allocations: 116.9 kB / 0.54 GB, free: 6.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4675, allocations: 3.938 kB / 0.54 GB, free: 6.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003798/0.4679, allocations: 206.6 kB / 0.5402 GB, free: 6.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4679, allocations: 5.344 kB / 0.5402 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4679, allocations: 0 / 0.5402 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.468, allocations: 5.312 kB / 0.5402 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.4681, allocations: 31.27 kB / 0.5403 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4681, allocations: 3.984 kB / 0.5403 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.4682, allocations: 8.438 kB / 0.5403 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.4683, allocations: 4.312 kB / 0.5403 GB, free: 6.641 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 (17): * Single equations (assignments): 17 * 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.0001928/0.4685, allocations: 184 kB / 0.5404 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.4685, allocations: 41.72 kB / 0.5405 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.469, allocations: 245.4 kB / 0.5407 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4691, allocations: 7.125 kB / 0.5407 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4691, allocations: 0 / 0.5407 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4691, allocations: 0 / 0.5407 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.4699, allocations: 0.6316 MB / 0.5413 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4699, allocations: 1.312 kB / 0.5413 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4701, allocations: 32.95 kB / 0.5414 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4701, allocations: 2.281 kB / 0.5414 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4701, allocations: 9.375 kB / 0.5414 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4701, allocations: 1.312 kB / 0.5414 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4701, allocations: 3.938 kB / 0.5414 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.4705, allocations: 297.9 kB / 0.5417 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.4706, allocations: 113.2 kB / 0.5418 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.4707, allocations: 1.156 kB / 0.5418 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.4708, allocations: 7.688 kB / 0.5418 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.4708, allocations: 13.52 kB / 0.5418 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.4709, allocations: 4.562 kB / 0.5418 GB, free: 5.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005442/0.4714, allocations: 424.7 kB / 0.5422 GB, free: 5.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4714, allocations: 4 kB / 0.5422 GB, free: 5.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000343/0.4718, allocations: 47.47 kB / 0.5423 GB, free: 5.184 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 (17): * Single equations (assignments): 17 * 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.001783/0.4736, allocations: 0.6774 MB / 0.5429 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.4739, allocations: 135.3 kB / 0.5431 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4739, allocations: 0 / 0.5431 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.4741, allocations: 76.88 kB / 0.5431 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.4747, allocations: 78.8 kB / 0.5432 GB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4758, allocations: 0.696 MB / 0.5439 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.4763, allocations: 0.8193 MB / 0.5447 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.4764, allocations: 41.11 kB / 0.5447 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.4765, allocations: 29.83 kB / 0.5448 GB, free: 3.516 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4765, allocations: 0 / 0.5448 GB, free: 3.516 MB / 398.1 MB Notification: Performance of Templates: time 0.007739/0.4843, allocations: 3.29 MB / 0.548 GB, free: 256 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches