Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, 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.216/2.216, allocations: 227.4 MB / 246.9 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3352/0.3352, allocations: 46.1 MB / 344.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 84.86 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1582, allocations: 62.44 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004799/0.163, allocations: 1.785 MB / 481.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003925/0.167, allocations: 1.61 MB / 483.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.1671, allocations: 4 kB / 483.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.1675, allocations: 31.86 kB / 483.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.168, allocations: 83.73 kB / 483.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1683, allocations: 63.81 kB / 483.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1685, allocations: 99.69 kB / 483.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1686, allocations: 11.98 kB / 483.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1688, allocations: 35.8 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.169, allocations: 47.77 kB / 483.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.169, allocations: 7.938 kB / 483.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1693, allocations: 103.9 kB / 483.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.1694, allocations: 19.92 kB / 483.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.1695, allocations: 27.81 kB / 483.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1698, allocations: 131.9 kB / 484 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1698, allocations: 0 / 484 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1698, allocations: 0 / 484 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1699, allocations: 0 / 484 MB, free: 1.609 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.0007584/0.1706, allocations: 423.1 kB / 484.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1707, allocations: 12.88 kB / 484.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.1708, allocations: 12.84 kB / 484.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1711, allocations: 216.2 kB / 484.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.1712, allocations: 3.938 kB / 484.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1712, allocations: 0 / 484.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.1714, allocations: 75.33 kB / 484.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1715, allocations: 3.938 kB / 484.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1715, allocations: 4 kB / 484.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.1715, allocations: 4 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.1717, allocations: 19.98 kB / 484.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.1722, allocations: 284.9 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.1725, allocations: 58.62 kB / 485.1 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.1726, allocations: 20.84 kB / 485.1 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1727, allocations: 8 kB / 485.1 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.173, allocations: 63.39 kB / 485.2 MB, free: 264 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.555e-06/0.173, allocations: 0 / 485.2 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008678/0.1739, allocations: 173.1 kB / 485.3 MB, free: 84 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.174, allocations: 85.05 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.1743, allocations: 162.5 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1743, allocations: 25.7 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.1744, allocations: 108.1 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.1745, allocations: 27.64 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.1746, allocations: 25.7 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1747, allocations: 322.8 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1748, allocations: 16 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.175, allocations: 46.5 kB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.1752, allocations: 57.73 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1753, allocations: 0 / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003572/0.1756, allocations: 105.5 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1757, allocations: 4 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1757, allocations: 0 / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1757, allocations: 4 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1759, allocations: 12 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.1759, allocations: 3.938 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.176, allocations: 12.02 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.176, allocations: 4 kB / 486.3 MB, free: 15.01 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.0001437/0.1762, allocations: 125.8 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.1763, allocations: 11.81 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.1763, allocations: 16.7 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1764, allocations: 4 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1764, allocations: 3.938 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1764, allocations: 384 / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/0.1772, allocations: 403.4 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1772, allocations: 4 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.1773, allocations: 11.94 kB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1773, allocations: 0 / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1773, allocations: 8 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-06/0.1773, allocations: 0 / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.1773, allocations: 3.984 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.1778, allocations: 200.3 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.1778, allocations: 92.95 kB / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.1779, allocations: 0 / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1781, allocations: 4 kB / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1781, allocations: 7.984 kB / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.1782, allocations: 8 kB / 487.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.1784, allocations: 126.5 kB / 487.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1784, allocations: 192 / 487.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005821/0.179, allocations: 51.98 kB / 487.4 MB, free: 13.84 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.002231/0.1813, allocations: 0.5366 MB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.1816, allocations: 59.91 kB / 488 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1816, allocations: 4.062 kB / 488 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1818, allocations: 27.94 kB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.1824, allocations: 31.91 kB / 488.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.1831, allocations: 246.4 kB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1835, allocations: 0.7043 MB / 489 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.1836, allocations: 19.44 kB / 489 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1836, allocations: 0 / 489 MB, free: 12.34 MB / 366.1 MB Notification: Performance of Templates: time 0.006933/0.1906, allocations: 2.399 MB / 491.4 MB, free: 9.938 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches