Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001119, allocations: 101.2 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001074, allocations: 190.6 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2478/0.2478, allocations: 46.18 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003153, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 63.57 MB / 482.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002206/0.1683, allocations: 1.419 MB / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1698, allocations: 0.9389 MB / 484.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.1699, allocations: 0 / 484.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1702, allocations: 43.89 kB / 484.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.1705, allocations: 83.66 kB / 484.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.1707, allocations: 63.81 kB / 485 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.1709, allocations: 91.69 kB / 485.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.171, allocations: 12 kB / 485.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.1711, allocations: 43.78 kB / 485.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.952e-05/0.1712, allocations: 31.84 kB / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1712, allocations: 0 / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.776e-05/0.1713, allocations: 39.92 kB / 485.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.1714, allocations: 23.92 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.1714, allocations: 37.64 kB / 485.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1716, allocations: 92.08 kB / 485.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1716, allocations: 4 kB / 485.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1716, allocations: 0 / 485.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1716, allocations: 4 kB / 485.3 MB, free: 1.57 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.0006018/0.1722, allocations: 406.9 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1723, allocations: 11.97 kB / 485.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.1723, allocations: 15.81 kB / 485.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1726, allocations: 212.4 kB / 486 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1726, allocations: 7.938 kB / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1727, allocations: 4 kB / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1728, allocations: 53.67 kB / 486 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1728, allocations: 4 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1729, allocations: 0 / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1729, allocations: 0 / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.173, allocations: 19.98 kB / 486.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.1734, allocations: 300.7 kB / 486.3 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1736, allocations: 58.62 kB / 486.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.1736, allocations: 20.84 kB / 486.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1736, allocations: 0 / 486.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.1738, allocations: 67.39 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1739, allocations: 3.938 kB / 486.5 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000555/0.1744, allocations: 185.1 kB / 486.7 MB, free: 52 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.1745, allocations: 55.41 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1748, allocations: 242.1 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1748, allocations: 25.7 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.1749, allocations: 108.1 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.1749, allocations: 27.64 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.1749, allocations: 4 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1751, allocations: 326.8 kB / 487.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.1751, allocations: 23.92 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.1752, allocations: 41.7 kB / 487.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.6e-05/0.1753, allocations: 20 kB / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1753, allocations: 0 / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.1755, allocations: 109.4 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1755, allocations: 10.5 kB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1755, allocations: 0 / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1755, allocations: 0 / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.1756, allocations: 12 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1756, allocations: 8.031 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.1757, allocations: 7.922 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1757, allocations: 8.328 kB / 487.7 MB, free: 14.99 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.1758, allocations: 125.8 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1759, allocations: 23.78 kB / 487.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.1759, allocations: 13.41 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1759, allocations: 3.938 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1759, allocations: 8 kB / 487.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.176, allocations: 4 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.1764, allocations: 395.3 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1764, allocations: 3.938 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.1765, allocations: 8 kB / 488.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1765, allocations: 0 / 488.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1765, allocations: 7.984 kB / 488.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1765, allocations: 0 / 488.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1765, allocations: 3.953 kB / 488.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.1768, allocations: 208.2 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.1768, allocations: 85.02 kB / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.1769, allocations: 8.172 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.1769, allocations: 8 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.177, allocations: 11.83 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.177, allocations: 7.984 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1772, allocations: 176.4 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1772, allocations: 0 / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1775, allocations: 27.98 kB / 488.8 MB, free: 13.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/0.1787, allocations: 450.8 kB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1789, allocations: 63.91 kB / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1789, allocations: 0 / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.179, allocations: 20 kB / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1794, allocations: 28.16 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.1799, allocations: 282.8 kB / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1803, allocations: 0.7082 MB / 490.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.1803, allocations: 12.89 kB / 490.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.1804, allocations: 19.42 kB / 490.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1804, allocations: 0 / 490.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of Templates: time 0.005165/0.1856, allocations: 1.633 MB / 492 MB, free: 10.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches