Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.4 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.09 MB / 343.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002567/0.002567, allocations: 76.23 kB / 417 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1652, allocations: 62.45 MB / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.004402/0.1697, allocations: 1.667 MB / 481.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1721, allocations: 1.132 MB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.1721, allocations: 0 / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1725, allocations: 27.84 kB / 482.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.1729, allocations: 71.81 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1733, allocations: 75.84 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1735, allocations: 79.77 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1737, allocations: 19.98 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.1738, allocations: 31.91 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.1739, allocations: 35.8 kB / 482.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.174, allocations: 4 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.1742, allocations: 95.94 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.1743, allocations: 15.92 kB / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.1744, allocations: 39.78 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.1747, allocations: 139.6 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1747, allocations: 0 / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1748, allocations: 0 / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1748, allocations: 4 kB / 482.9 MB, free: 2.102 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006372/0.1754, allocations: 415.4 kB / 483.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1755, allocations: 12.03 kB / 483.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.1755, allocations: 12.84 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1758, allocations: 184.3 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1759, allocations: 8.312 kB / 483.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1759, allocations: 4.375 kB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.1761, allocations: 83.45 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1762, allocations: 7.906 kB / 483.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1762, allocations: 7.938 kB / 483.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1762, allocations: 0 / 483.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.1764, allocations: 31.97 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.1769, allocations: 300.7 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1771, allocations: 54.5 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.243e-05/0.1772, allocations: 24.97 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1772, allocations: 0 / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1772, allocations: 30.56 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.1772, allocations: 0 / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008852/0.1781, allocations: 177.3 kB / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.1782, allocations: 81.11 kB / 484.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1785, allocations: 156.1 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1785, allocations: 29.7 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.1786, allocations: 96.05 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1786, allocations: 23.64 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.1787, allocations: 21.72 kB / 484.6 MB, free: 164 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1789, allocations: 326.8 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.179, allocations: 20.06 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1791, allocations: 49.61 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.1794, allocations: 56.84 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1794, allocations: 3.984 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003112/0.1797, allocations: 101.8 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1797, allocations: 4 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1798, allocations: 0 / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1798, allocations: 0 / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.18, allocations: 27.92 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.18, allocations: 0 / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.1801, allocations: 15.91 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1801, allocations: 0 / 485.2 MB, free: 15.54 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.0001189/0.1802, allocations: 117.8 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.1803, allocations: 11.81 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.1807, allocations: 114.4 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1807, allocations: 4 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1807, allocations: 0 / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.1808, allocations: 3.938 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007144/0.1815, allocations: 394.7 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1815, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1816, allocations: 23.98 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.1816, allocations: 7.875 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1817, allocations: 7.984 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1817, allocations: 4 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1817, allocations: 3.938 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.1821, allocations: 195.4 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1822, allocations: 85.02 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.1822, allocations: 3.938 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1823, allocations: 8 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.1824, allocations: 7.984 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.1824, allocations: 0 / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1826, allocations: 121.3 kB / 486.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1826, allocations: 0 / 486.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005096/0.1831, allocations: 47.98 kB / 486.4 MB, free: 14.3 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 (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.001713/0.1848, allocations: 485.6 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.1852, allocations: 67.88 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1852, allocations: 4 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.1853, allocations: 35.92 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.1859, allocations: 19.92 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.1866, allocations: 222 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.187, allocations: 0.6963 MB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.1872, allocations: 16.97 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.1873, allocations: 23.42 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1873, allocations: 0 / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Templates: time 0.006602/0.1939, allocations: 1.824 MB / 489.7 MB, free: 11.03 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches