Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.8 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 46.13 MB / 344.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002252, allocations: 88.23 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1558, allocations: 62.46 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003933/0.1598, allocations: 1.612 MB / 481.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.161, allocations: 0.5299 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.1611, allocations: 4 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006616/0.1618, allocations: 455.1 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.1624, allocations: 295.3 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.1628, allocations: 127.1 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.1631, allocations: 159.7 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1632, allocations: 12.19 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1634, allocations: 111.7 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.1637, allocations: 211.6 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1637, allocations: 0 / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1638, allocations: 24 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.164, allocations: 87.67 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1642, allocations: 95.06 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.1646, allocations: 235 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1646, allocations: 0 / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1646, allocations: 0 / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.1646, allocations: 0 / 484 MB, free: 1.223 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001182/0.1658, allocations: 0.6415 MB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.1659, allocations: 8.031 kB / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.166, allocations: 44.47 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.1665, allocations: 296.1 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1665, allocations: 384 / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1666, allocations: 4.375 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1668, allocations: 49.62 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1668, allocations: 0 / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1668, allocations: 0 / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.1669, allocations: 4 kB / 485.1 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.435e-05/0.167, allocations: 19.98 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.1678, allocations: 380.7 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.1679, allocations: 26.58 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.168, allocations: 20.91 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.168, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.1681, allocations: 34.56 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1681, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000346/0.1685, allocations: 97.14 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.1685, allocations: 51.41 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1696, allocations: 0.8653 MB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1696, allocations: 25.7 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.1699, allocations: 224.1 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1699, allocations: 7.844 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.17, allocations: 13.84 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.1703, allocations: 370.7 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.1703, allocations: 4 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.1704, allocations: 11.98 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.1704, allocations: 24.78 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1704, allocations: 0 / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002467/0.1707, allocations: 93.19 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1707, allocations: 8 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1707, allocations: 3.938 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1708, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.1709, allocations: 7.984 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1709, allocations: 4 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.1709, allocations: 8 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1709, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.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 (2): * Single equations (assignments): 2 * 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.0002346/0.1712, allocations: 217.7 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.1713, allocations: 43.42 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1715, allocations: 108.6 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1715, allocations: 0 / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1715, allocations: 0 / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1715, allocations: 0 / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.172, allocations: 293.5 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.172, allocations: 0 / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1721, allocations: 4 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1721, allocations: 4.031 kB / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1721, allocations: 0 / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.1721, allocations: 3.984 kB / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1721, allocations: 0 / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1724, allocations: 194.9 kB / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.1725, allocations: 104.6 kB / 488.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1725, allocations: 0 / 488.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.1726, allocations: 12 kB / 488.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.1726, allocations: 4 kB / 488.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.1726, allocations: 0 / 488.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007305/0.1734, allocations: 0.6472 MB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1734, allocations: 0 / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1737, allocations: 27.92 kB / 489 MB, free: 11.93 MB / 366.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 (2): * Single equations (assignments): 2 * 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.00134/0.175, allocations: 350.8 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1752, allocations: 23.98 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1752, allocations: 0 / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.1752, allocations: 15.92 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.1757, allocations: 37.41 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1774, allocations: 0.7681 MB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009601/0.1784, allocations: 0.8182 MB / 491 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.089e-05/0.1784, allocations: 4 kB / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.1785, allocations: 11.44 kB / 491 MB, free: 9.977 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1785, allocations: 4 kB / 491 MB, free: 9.973 MB / 366.1 MB Notification: Performance of Templates: time 0.006416/0.1849, allocations: 1.247 MB / 492.3 MB, free: 8.727 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches