Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 86 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.158, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.004384/0.1625, allocations: 1.615 MB / 481.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1639, allocations: 0.5338 MB / 482.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.1639, allocations: 0 / 482.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007127/0.1647, allocations: 455.1 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.1652, allocations: 291.3 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.1656, allocations: 127.3 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1659, allocations: 159.7 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.166, allocations: 12.17 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.1661, allocations: 115.7 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.1664, allocations: 203.6 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1664, allocations: 4 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-05/0.1665, allocations: 27.92 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1667, allocations: 83.67 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1668, allocations: 99 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.1672, allocations: 239.1 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.1673, allocations: 4 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.192e-06/0.1673, allocations: 0 / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1673, allocations: 3.938 kB / 484.1 MB, free: 1.242 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.00122/0.1685, allocations: 0.626 MB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.1686, allocations: 12.03 kB / 484.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.571e-05/0.1687, allocations: 36.47 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.1691, allocations: 296.2 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1692, allocations: 384 / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.1692, allocations: 8.25 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.1694, allocations: 57.62 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1695, allocations: 3.984 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1695, allocations: 0 / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1695, allocations: 0 / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.1696, allocations: 19.98 kB / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.1703, allocations: 376.7 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1705, allocations: 38.5 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.1706, allocations: 8.922 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.1706, allocations: 4 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.1707, allocations: 38.55 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1707, allocations: 0 / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003808/0.1711, allocations: 93.16 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.1712, allocations: 55.53 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.1725, allocations: 0.8653 MB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1725, allocations: 25.7 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.1727, allocations: 224.1 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.1728, allocations: 3.906 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1728, allocations: 13.72 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.173, allocations: 362.7 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.1731, allocations: 11.98 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.1731, allocations: 8 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.1732, allocations: 24.84 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1732, allocations: 0 / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.1734, allocations: 97.05 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1734, allocations: 7.938 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1735, allocations: 0 / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.1735, allocations: 96 / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.1736, allocations: 16 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1736, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.1736, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1737, allocations: 3.984 kB / 487.3 MB, free: 13.71 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.0002448/0.1739, allocations: 217.7 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.174, allocations: 43.44 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.1742, allocations: 96.67 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1742, allocations: 8.031 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1742, allocations: 0 / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1742, allocations: 3.984 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.1747, allocations: 285.5 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1747, allocations: 0 / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.1748, allocations: 7.984 kB / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1748, allocations: 0 / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1748, allocations: 7.938 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.1748, allocations: 0 / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1748, allocations: 0 / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.1751, allocations: 194.9 kB / 488.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/0.1752, allocations: 108.6 kB / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1752, allocations: 4 kB / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.1753, allocations: 0 / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.1753, allocations: 0 / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1753, allocations: 4 kB / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007558/0.1761, allocations: 0.655 MB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1761, allocations: 0 / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1764, allocations: 23.94 kB / 489 MB, free: 11.97 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.001441/0.1778, allocations: 352.6 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.178, allocations: 31.98 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.178, allocations: 0 / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.178, allocations: 7.984 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.1785, allocations: 25.31 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1798, allocations: 0.776 MB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.1804, allocations: 0.8182 MB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.1804, allocations: 7.984 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.1805, allocations: 15.38 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1805, allocations: 3.938 kB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of Templates: time 0.005303/0.1858, allocations: 1.239 MB / 492.3 MB, free: 8.766 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches