Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002352/0.002352, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.083/2.083, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3283/0.3283, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 76.84 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.163, allocations: 62.44 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004242/0.1672, allocations: 1.785 MB / 481.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1695, allocations: 1.021 MB / 482.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/0.1696, allocations: 3.938 kB / 482.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.17, allocations: 43.89 kB / 482.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.1703, allocations: 83.72 kB / 482.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1706, allocations: 63.81 kB / 482.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1708, allocations: 103.7 kB / 483 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1709, allocations: 12 kB / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1711, allocations: 47.7 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.138e-05/0.1712, allocations: 31.8 kB / 483.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1712, allocations: 4 kB / 483.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1713, allocations: 39.98 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.1714, allocations: 27.91 kB / 483.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.1715, allocations: 43.66 kB / 483.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1717, allocations: 100.1 kB / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1717, allocations: 0 / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1718, allocations: 0 / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1718, allocations: 0 / 483.3 MB, free: 2.293 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006997/0.1725, allocations: 426.8 kB / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1725, allocations: 8.875 kB / 483.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.1726, allocations: 12.84 kB / 483.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1729, allocations: 220.8 kB / 484 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.173, allocations: 8.375 kB / 484 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.173, allocations: 4.125 kB / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.1732, allocations: 57.61 kB / 484.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1732, allocations: 3.984 kB / 484.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1733, allocations: 4 kB / 484.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1733, allocations: 0 / 484.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1734, allocations: 19.92 kB / 484.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.1739, allocations: 296.8 kB / 484.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.1741, allocations: 58.67 kB / 484.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/0.1742, allocations: 20.86 kB / 484.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1743, allocations: 3.938 kB / 484.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.1746, allocations: 71.28 kB / 484.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1746, allocations: 7.938 kB / 484.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007525/0.1753, allocations: 177.3 kB / 484.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1754, allocations: 51.41 kB / 484.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.1757, allocations: 239 kB / 485 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1758, allocations: 29.69 kB / 485 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.1759, allocations: 104.1 kB / 485.1 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.1759, allocations: 31.62 kB / 485.2 MB, free: 276 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.176, allocations: 21.72 kB / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1762, allocations: 334.8 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.1763, allocations: 20 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.1764, allocations: 33.7 kB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1766, allocations: 65.72 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1766, allocations: 0 / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002721/0.1768, allocations: 97.52 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1769, allocations: 12.03 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1769, allocations: 3.984 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1769, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1771, allocations: 12 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1771, allocations: 4 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.1772, allocations: 11.84 kB / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1772, allocations: 7.984 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001386/0.1773, allocations: 125.8 kB / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.1774, allocations: 15.91 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.1775, allocations: 17.39 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1775, allocations: 4 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1775, allocations: 0 / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1775, allocations: 7.875 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.1781, allocations: 399.2 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1781, allocations: 0 / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.1782, allocations: 11.94 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1782, allocations: 8.031 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.1782, allocations: 11.92 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1783, allocations: 0 / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1783, allocations: 0 / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.1786, allocations: 200.3 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.1787, allocations: 88.92 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.1788, allocations: 8.125 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1789, allocations: 11.98 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.179, allocations: 11.86 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.179, allocations: 4 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.1793, allocations: 180.4 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1793, allocations: 0 / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005743/0.1799, allocations: 24 kB / 486.9 MB, free: 14.41 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001791/0.1817, allocations: 464 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.182, allocations: 59.91 kB / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.182, allocations: 0 / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1821, allocations: 31.98 kB / 487.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.1827, allocations: 24.42 kB / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00078/0.1835, allocations: 330.7 kB / 487.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1839, allocations: 0.7121 MB / 488.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/0.184, allocations: 15.44 kB / 488.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1841, allocations: 0 / 488.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005904/0.19, allocations: 2.003 MB / 490.5 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches