Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, 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.00188/0.00188, 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.517/1.517, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2473/0.2473, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 85.22 kB / 417.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1642, allocations: 62.46 MB / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003832/0.1681, allocations: 1.648 MB / 481.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1694, allocations: 0.5806 MB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.169e-05/0.1695, allocations: 0 / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.1703, allocations: 459.1 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005577/0.1709, allocations: 295.3 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.1714, allocations: 179 kB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.1717, allocations: 167.7 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1718, allocations: 23.98 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.172, allocations: 103.8 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.1723, allocations: 215.6 kB / 483.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.1723, allocations: 8 kB / 483.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.795e-05/0.1724, allocations: 35.92 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1726, allocations: 87.67 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.1728, allocations: 103 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1731, allocations: 255 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1732, allocations: 0 / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1732, allocations: 0 / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.1732, allocations: 4 kB / 484.2 MB, free: 1.094 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009951/0.1742, allocations: 0.6377 MB / 484.9 MB, free: 416 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1742, allocations: 12.03 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.1743, allocations: 48.36 kB / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1747, allocations: 292.2 kB / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1747, allocations: 8.375 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1747, allocations: 384 / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1749, allocations: 65.78 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.175, allocations: 0 / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.175, allocations: 0 / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.175, allocations: 0 / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1751, allocations: 39.86 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.1757, allocations: 392.7 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.176, allocations: 42.5 kB / 485.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.176, allocations: 20.94 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1761, allocations: 0 / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1761, allocations: 38.56 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1761, allocations: 0 / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007132/0.1768, allocations: 239.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.1769, allocations: 51.41 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009351/0.1779, allocations: 0.866 MB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.1779, allocations: 33.7 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.1781, allocations: 228 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1782, allocations: 11.81 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1782, allocations: 17.72 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.1784, allocations: 366.7 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.1785, allocations: 19.98 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1786, allocations: 19.98 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1788, allocations: 60.81 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1788, allocations: 0 / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002429/0.179, allocations: 121.3 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.179, allocations: 4 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1791, allocations: 0 / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1791, allocations: 4 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.1792, allocations: 11.98 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1792, allocations: 0 / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.1792, allocations: 23.86 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1793, allocations: 3.984 kB / 487.9 MB, free: 13.23 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 (5): * Single equations (assignments): 5 * 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.0002674/0.1795, allocations: 209.8 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.805e-05/0.1796, allocations: 43.44 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.18, allocations: 145.4 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.18, allocations: 7.984 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.18, allocations: 4 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.18, allocations: 3.938 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.1807, allocations: 466.5 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1807, allocations: 0 / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.1808, allocations: 15.88 kB / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1808, allocations: 0 / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1808, allocations: 11.94 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1808, allocations: 7.984 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1808, allocations: 0 / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.1811, allocations: 211 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.38e-05/0.1812, allocations: 108.6 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1812, allocations: 3.938 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.1813, allocations: 8 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.1814, allocations: 7.984 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.1814, allocations: 4 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007093/0.1821, allocations: 0.655 MB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1821, allocations: 0 / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1824, allocations: 27.89 kB / 489.8 MB, free: 11.21 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 (5): * Single equations (assignments): 5 * 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.001509/0.1839, allocations: 397.7 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.1842, allocations: 55.95 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1842, allocations: 4 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.1843, allocations: 27.98 kB / 490.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.1847, allocations: 37.11 kB / 490.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.186, allocations: 0.8033 MB / 491.1 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.1866, allocations: 0.8299 MB / 491.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.039e-05/0.1866, allocations: 15.97 kB / 491.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1867, allocations: 15.44 kB / 492 MB, free: 9.117 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1867, allocations: 0 / 492 MB, free: 9.117 MB / 366.1 MB Notification: Performance of Templates: time 0.005937/0.1926, allocations: 1.5 MB / 493.5 MB, free: 7.621 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches