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.00141/0.00141, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, 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.2236/0.2236, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5411, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004148/0.5454, allocations: 2.047 MB / 0.533 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.5473, allocations: 1.015 MB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.5474, allocations: 1.375 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.548, allocations: 260 kB / 0.5342 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005519/0.5486, allocations: 261.9 kB / 0.5345 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.5498, allocations: 492.1 kB / 0.535 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.5502, allocations: 327.8 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.5505, allocations: 68.78 kB / 0.5353 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.5507, allocations: 142.9 kB / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.551, allocations: 198.3 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.551, allocations: 15.53 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.5513, allocations: 101.2 kB / 0.5358 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.5515, allocations: 89.58 kB / 0.5359 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.5516, allocations: 123 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.5521, allocations: 344.9 kB / 0.5363 GB, free: 9.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.5521, allocations: 7.938 kB / 0.5363 GB, free: 9.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5521, allocations: 0 / 0.5363 GB, free: 9.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.5522, allocations: 1.312 kB / 0.5363 GB, free: 9.988 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.0009003/0.5531, allocations: 0.6604 MB / 0.537 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5531, allocations: 14.44 kB / 0.537 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.97e-05/0.5532, allocations: 43.12 kB / 0.537 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.5536, allocations: 331.9 kB / 0.5373 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.5536, allocations: 16.59 kB / 0.5374 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.5537, allocations: 8.188 kB / 0.5374 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.5539, allocations: 117.9 kB / 0.5375 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.554, allocations: 1.156 kB / 0.5375 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.554, allocations: 5.156 kB / 0.5375 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.554, allocations: 3.375 kB / 0.5375 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.5542, allocations: 70.33 kB / 0.5375 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.5549, allocations: 485.2 kB / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.5551, allocations: 91.98 kB / 0.5381 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.5552, allocations: 32.97 kB / 0.5381 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.5552, allocations: 10.47 kB / 0.5381 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5553, allocations: 35.94 kB / 0.5382 GB, free: 8.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.5553, allocations: 0 / 0.5382 GB, free: 8.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001016/0.5563, allocations: 402 kB / 0.5386 GB, free: 8.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.5564, allocations: 54.56 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007011/0.5571, allocations: 0.5583 MB / 0.5392 GB, free: 7.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.5571, allocations: 27.08 kB / 0.5392 GB, free: 7.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.5573, allocations: 206.2 kB / 0.5394 GB, free: 7.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.5574, allocations: 61.84 kB / 0.5394 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.5574, allocations: 37.92 kB / 0.5395 GB, free: 7.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5576, allocations: 349.8 kB / 0.5398 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.5577, allocations: 51.34 kB / 0.5399 GB, free: 7.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.5578, allocations: 49.62 kB / 0.5399 GB, free: 7.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.5581, allocations: 122.3 kB / 0.54 GB, free: 7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5581, allocations: 3.938 kB / 0.54 GB, free: 6.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000357/0.5585, allocations: 207.4 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5585, allocations: 4.469 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5585, allocations: 1 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.5585, allocations: 1.125 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.5587, allocations: 38.31 kB / 0.5403 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.5587, allocations: 1.062 kB / 0.5403 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.5588, allocations: 8.219 kB / 0.5403 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.5588, allocations: 9.094 kB / 0.5403 GB, free: 6.859 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.0001813/0.559, allocations: 175.3 kB / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.5591, allocations: 46.2 kB / 0.5405 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.5596, allocations: 245.1 kB / 0.5407 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.5596, allocations: 5.188 kB / 0.5407 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.5597, allocations: 1.062 kB / 0.5407 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5597, allocations: 3.938 kB / 0.5407 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008795/0.5606, allocations: 0.6316 MB / 0.5414 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5606, allocations: 1.125 kB / 0.5414 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5607, allocations: 29.7 kB / 0.5414 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5607, allocations: 1.062 kB / 0.5414 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5607, allocations: 2.281 kB / 0.5414 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5607, allocations: 1.406 kB / 0.5414 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5607, allocations: 3.938 kB / 0.5414 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.5611, allocations: 305.9 kB / 0.5417 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.5612, allocations: 104.6 kB / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.5613, allocations: 6.125 kB / 0.5418 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.5614, allocations: 7.203 kB / 0.5418 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.5614, allocations: 18.3 kB / 0.5418 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.5614, allocations: 8.359 kB / 0.5418 GB, free: 5.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004765/0.5619, allocations: 420 kB / 0.5422 GB, free: 5.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5619, allocations: 4 kB / 0.5422 GB, free: 5.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.5623, allocations: 51.23 kB / 0.5423 GB, free: 5.402 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.001784/0.564, allocations: 0.6767 MB / 0.5429 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.5644, allocations: 131.4 kB / 0.5431 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5644, allocations: 0 / 0.5431 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.5646, allocations: 85.17 kB / 0.5431 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.5651, allocations: 75.86 kB / 0.5432 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.5663, allocations: 0.6963 MB / 0.5439 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.5668, allocations: 0.8208 MB / 0.5447 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.5669, allocations: 37.92 kB / 0.5447 GB, free: 3.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.567, allocations: 35.36 kB / 0.5448 GB, free: 3.691 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.567, allocations: 0 / 0.5448 GB, free: 3.691 MB / 398.1 MB Notification: Performance of Templates: time 0.00766/0.5746, allocations: 3.278 MB / 0.548 GB, free: 436 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