Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 101.6 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.000427, allocations: 8 kB / 418.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1629, allocations: 63.57 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002123/0.165, allocations: 1.369 MB / 483.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009206/0.166, allocations: 0.507 MB / 484.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.166, allocations: 0 / 484.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.1666, allocations: 443.2 kB / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.167, allocations: 279.4 kB / 485 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1673, allocations: 111.4 kB / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1675, allocations: 139.7 kB / 485.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.1676, allocations: 15.98 kB / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1677, allocations: 111.7 kB / 485.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1679, allocations: 163.7 kB / 485.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.168, allocations: 4 kB / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1681, allocations: 47.92 kB / 485.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1682, allocations: 87.67 kB / 485.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1682, allocations: 65.52 kB / 485.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1686, allocations: 191.7 kB / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1686, allocations: 0 / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.371e-06/0.1686, allocations: 0 / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1686, allocations: 3.938 kB / 485.9 MB, free: 0.9922 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008466/0.1695, allocations: 0.6013 MB / 486.5 MB, free: 352 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1695, allocations: 12.03 kB / 486.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.1696, allocations: 47.44 kB / 486.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1699, allocations: 279.3 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1699, allocations: 0 / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1699, allocations: 4 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1701, allocations: 61.61 kB / 486.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1701, allocations: 0 / 486.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1701, allocations: 4 kB / 486.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1701, allocations: 4 kB / 486.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1702, allocations: 35.97 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.1707, allocations: 396.6 kB / 487.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1708, allocations: 46.55 kB / 487.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.1709, allocations: 20.86 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1709, allocations: 0 / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.171, allocations: 34.5 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.171, allocations: 4 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009195/0.1719, allocations: 339.9 kB / 487.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1719, allocations: 59.41 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008571/0.1728, allocations: 0.8574 MB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1728, allocations: 29.7 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.173, allocations: 224 kB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.173, allocations: 27.64 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.1731, allocations: 4 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1732, allocations: 358.8 kB / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.1733, allocations: 35.98 kB / 489.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.085e-05/0.1734, allocations: 31.91 kB / 489.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.926e-05/0.1735, allocations: 31.98 kB / 489.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1735, allocations: 0 / 489.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002212/0.1737, allocations: 145.3 kB / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1737, allocations: 4 kB / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1737, allocations: 0 / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1737, allocations: 15.94 kB / 489.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.1738, allocations: 19.94 kB / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1739, allocations: 0 / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.1739, allocations: 11.98 kB / 489.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1739, allocations: 4.422 kB / 489.6 MB, free: 13.07 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.1741, allocations: 210.3 kB / 489.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.1742, allocations: 43.42 kB / 489.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.1745, allocations: 173.4 kB / 490 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1745, allocations: 3.984 kB / 490 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1745, allocations: 3.953 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1745, allocations: 0 / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.1752, allocations: 0.5108 MB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1752, allocations: 3.984 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.1752, allocations: 16 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1753, allocations: 3.953 kB / 490.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1753, allocations: 7.984 kB / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1753, allocations: 0 / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1753, allocations: 0 / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.1756, allocations: 259.7 kB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.1757, allocations: 104.6 kB / 490.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1757, allocations: 7.953 kB / 490.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.1758, allocations: 15.98 kB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.1758, allocations: 4 kB / 491 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1758, allocations: 0 / 491 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006058/0.1764, allocations: 0.6589 MB / 491.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1764, allocations: 0 / 491.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1767, allocations: 31.91 kB / 491.6 MB, free: 10.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/0.1778, allocations: 451.5 kB / 492.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.178, allocations: 79.89 kB / 492.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.178, allocations: 0 / 492.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.48e-05/0.1781, allocations: 35.98 kB / 492.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1784, allocations: 31.23 kB / 492.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1796, allocations: 0.8738 MB / 493.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.18, allocations: 0.8302 MB / 493.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.1801, allocations: 12.44 kB / 493.9 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.1801, allocations: 11.44 kB / 494 MB, free: 8.699 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1801, allocations: 0 / 494 MB, free: 8.699 MB / 366.1 MB Notification: Performance of Templates: time 0.004651/0.1848, allocations: 1.59 MB / 495.5 MB, free: 7.109 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches