Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001848/0.001849, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002307/0.002308, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.191/2.191, allocations: 227.3 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3549/0.3549, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 85.09 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1592, allocations: 62.44 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.005337/0.1646, allocations: 2.397 MB / 482.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.1684, allocations: 1.387 MB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.1687, allocations: 7.938 kB / 483.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007877/0.1695, allocations: 283.2 kB / 484 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008986/0.1705, allocations: 295 kB / 484.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.1712, allocations: 195.6 kB / 484.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008342/0.172, allocations: 0.5218 MB / 485 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.1723, allocations: 68.98 kB / 485.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.1727, allocations: 222.9 kB / 485.3 MB, free: 352 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005658/0.1733, allocations: 266.9 kB / 485.6 MB, free: 84 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.1734, allocations: 12 kB / 485.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1736, allocations: 47.92 kB / 485.6 MB, free: 24 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.1738, allocations: 107.7 kB / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.1741, allocations: 178.6 kB / 485.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.1746, allocations: 307.5 kB / 486.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1746, allocations: 0 / 486.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1746, allocations: 0 / 486.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1747, allocations: 0 / 486.2 MB, free: 15.44 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001817/0.1765, allocations: 0.794 MB / 487 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1766, allocations: 16.88 kB / 487 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.1767, allocations: 52.28 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.1776, allocations: 411.8 kB / 487.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.1776, allocations: 12.38 kB / 487.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.1777, allocations: 24.02 kB / 487.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/0.1785, allocations: 209.8 kB / 487.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.1785, allocations: 3.984 kB / 487.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.1786, allocations: 4 kB / 487.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1786, allocations: 7.984 kB / 487.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.179, allocations: 95.86 kB / 487.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.1804, allocations: 0.8644 MB / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1815, allocations: 289.2 kB / 489 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.1819, allocations: 100.3 kB / 489.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.182, allocations: 7.984 kB / 489.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000724/0.1827, allocations: 224.4 kB / 489.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.856e-06/0.1828, allocations: 0 / 489.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003584/0.1863, allocations: 1.004 MB / 490.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.1865, allocations: 170.1 kB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.1877, allocations: 0.6514 MB / 491.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.1878, allocations: 41.64 kB / 491.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.1881, allocations: 240.9 kB / 491.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.1882, allocations: 122.3 kB / 491.5 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1884, allocations: 74.12 kB / 491.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.1886, allocations: 370.8 kB / 491.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.1891, allocations: 100.8 kB / 492 MB, free: 9.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.1896, allocations: 180.9 kB / 492.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.1905, allocations: 300.7 kB / 492.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1905, allocations: 0 / 492.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001313/0.1919, allocations: 416.5 kB / 492.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1919, allocations: 7.938 kB / 492.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1919, allocations: 4 kB / 492.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.192, allocations: 4 kB / 492.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.1925, allocations: 79.84 kB / 493 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.1925, allocations: 7.984 kB / 493 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.1929, allocations: 24.16 kB / 493 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.1929, allocations: 19.98 kB / 493.1 MB, free: 8.164 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0003646/0.1933, allocations: 200.3 kB / 493.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1935, allocations: 67.17 kB / 493.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.1937, allocations: 72.39 kB / 493.4 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.1937, allocations: 4 kB / 493.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.1937, allocations: 128 / 493.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.1937, allocations: 11.98 kB / 493.4 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.1962, allocations: 1.281 MB / 494.7 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.1962, allocations: 4 kB / 494.7 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.1965, allocations: 51.91 kB / 494.7 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.1965, allocations: 4 kB / 494.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.1966, allocations: 15.94 kB / 494.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.1966, allocations: 7.984 kB / 494.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.1966, allocations: 7.938 kB / 494.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.198, allocations: 0.8086 MB / 495.6 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.1982, allocations: 124.4 kB / 495.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.1984, allocations: 19.92 kB / 495.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.199, allocations: 19.98 kB / 495.7 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.1991, allocations: 39.88 kB / 495.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.1992, allocations: 20 kB / 495.8 MB, free: 5.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009108/0.2001, allocations: 498.7 kB / 496.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2001, allocations: 0 / 496.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001166/0.2013, allocations: 84 kB / 496.4 MB, free: 4.715 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001912/0.2032, allocations: 481.9 kB / 496.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.2044, allocations: 283.6 kB / 497.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.2044, allocations: 3.938 kB / 497.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.2049, allocations: 145.5 kB / 497.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.207, allocations: 146.2 kB / 497.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.2097, allocations: 1.083 MB / 498.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/0.2106, allocations: 0.8632 MB / 499.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.2109, allocations: 51.42 kB / 499.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2109, allocations: 0 / 499.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of Templates: time 0.01635/0.2272, allocations: 6.534 MB / 0.4941 GB, free: 11.25 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches