Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008491/0.0008491, allocations: 92.28 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 206.3 kB / 18.29 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.19 MB / 345.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005668/0.000567, allocations: 11.98 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1591, allocations: 63.55 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002911/0.1621, allocations: 1.388 MB / 484.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1636, allocations: 0.5418 MB / 485 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.1637, allocations: 8 kB / 485 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008002/0.1645, allocations: 447.2 kB / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.1651, allocations: 275.4 kB / 485.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.1657, allocations: 119.8 kB / 485.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.166, allocations: 171.6 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1662, allocations: 19.97 kB / 486 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1664, allocations: 99.8 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.1668, allocations: 207.5 kB / 486.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1668, allocations: 0 / 486.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.167, allocations: 51.97 kB / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.1672, allocations: 79.69 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1673, allocations: 128.6 kB / 486.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.1678, allocations: 263 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1678, allocations: 3.938 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1678, allocations: 0 / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.1679, allocations: 0 / 486.8 MB, free: 348 kB / 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.0009677/0.1688, allocations: 0.5992 MB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1689, allocations: 8.031 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.169, allocations: 44.38 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.1694, allocations: 296.1 kB / 487.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1695, allocations: 4.375 kB / 487.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.1695, allocations: 12.31 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1697, allocations: 61.8 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1697, allocations: 4 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1698, allocations: 0 / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1698, allocations: 0 / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.17, allocations: 31.97 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.1706, allocations: 404.5 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1708, allocations: 46.56 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.1709, allocations: 20.95 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.171, allocations: 7.969 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.171, allocations: 34.59 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 5.15e-06/0.171, allocations: 3.984 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001498/0.1725, allocations: 339.8 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.1726, allocations: 59.34 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.174, allocations: 0.8614 MB / 489.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.174, allocations: 29.7 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.1743, allocations: 220.1 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.1744, allocations: 35.55 kB / 489.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1744, allocations: 9.719 kB / 489.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1746, allocations: 366.8 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1748, allocations: 23.98 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1749, allocations: 31.98 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.1752, allocations: 72.83 kB / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1752, allocations: 0 / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003952/0.1756, allocations: 149 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1756, allocations: 6.344 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1757, allocations: 7.922 kB / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1757, allocations: 0 / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1758, allocations: 19.94 kB / 490.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.1759, allocations: 11.92 kB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.391e-05/0.176, allocations: 4 kB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.176, allocations: 0 / 490.6 MB, free: 12.33 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.1763, allocations: 221.8 kB / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.1764, allocations: 39.47 kB / 490.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/0.1769, allocations: 165.4 kB / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1769, allocations: 0 / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.177, allocations: 7.938 kB / 491 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.177, allocations: 0 / 491 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.178, allocations: 0.5113 MB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.178, allocations: 3.938 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1781, allocations: 20.03 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.1781, allocations: 4 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1781, allocations: 3.984 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1782, allocations: 3.938 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1782, allocations: 0 / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.1786, allocations: 251.9 kB / 491.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1787, allocations: 112.5 kB / 492 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.1788, allocations: 4 kB / 492 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1789, allocations: 11.98 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.179, allocations: 4 kB / 492 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.179, allocations: 4 kB / 492 MB, free: 10.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009992/0.18, allocations: 0.6589 MB / 492.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.18, allocations: 0 / 492.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.1805, allocations: 24 kB / 492.7 MB, free: 10.19 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 (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.001637/0.1822, allocations: 463.5 kB / 493.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.1826, allocations: 75.94 kB / 493.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1826, allocations: 0 / 493.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1827, allocations: 43.98 kB / 493.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.1834, allocations: 36.61 kB / 493.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.1852, allocations: 0.8971 MB / 494.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.1859, allocations: 0.8379 MB / 495 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.865e-05/0.186, allocations: 16.72 kB / 495 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.1861, allocations: 11.44 kB / 495 MB, free: 7.918 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1861, allocations: 0 / 495 MB, free: 7.918 MB / 366.1 MB Notification: Performance of Templates: time 0.008114/0.1942, allocations: 1.603 MB / 496.6 MB, free: 6.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches