Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008872/0.0008872, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2817/0.2817, allocations: 46.18 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003232, allocations: 12 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1707, allocations: 63.57 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002903/0.1737, allocations: 1.442 MB / 484.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.1768, allocations: 1.577 MB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.177, allocations: 3.938 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.1773, allocations: 31.89 kB / 486.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1777, allocations: 83.69 kB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.178, allocations: 63.86 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1782, allocations: 103.6 kB / 486.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1783, allocations: 15.98 kB / 486.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1784, allocations: 43.72 kB / 486.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1786, allocations: 43.78 kB / 486.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1786, allocations: 0 / 486.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.1789, allocations: 103.9 kB / 486.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.179, allocations: 19.91 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1791, allocations: 53.5 kB / 486.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.1794, allocations: 163.8 kB / 486.8 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1795, allocations: 4 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1795, allocations: 0 / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1795, allocations: 4 kB / 486.8 MB, free: 420 kB / 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.000902/0.1804, allocations: 414.5 kB / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.1805, allocations: 12.88 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.1805, allocations: 8.844 kB / 487.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1809, allocations: 208.6 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.1809, allocations: 7.938 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.181, allocations: 4 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1812, allocations: 71.39 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1812, allocations: 0 / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1813, allocations: 0 / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1813, allocations: 4 kB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.1814, allocations: 19.92 kB / 487.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.1819, allocations: 284.9 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1821, allocations: 58.69 kB / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.1822, allocations: 24.83 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.1823, allocations: 4 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.1825, allocations: 71.33 kB / 488 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.1825, allocations: 0 / 488 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007086/0.1832, allocations: 177.1 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.1833, allocations: 85.05 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1835, allocations: 162.5 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1836, allocations: 25.7 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1837, allocations: 100.1 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.1837, allocations: 27.64 kB / 488.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.1838, allocations: 21.7 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.184, allocations: 318.8 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.1841, allocations: 16 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1842, allocations: 54.5 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1844, allocations: 57.64 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1844, allocations: 0 / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002439/0.1846, allocations: 101.5 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.1847, allocations: 11.92 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1847, allocations: 0 / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1847, allocations: 4.062 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1848, allocations: 16 kB / 489.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1849, allocations: 3.938 kB / 489.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.1849, allocations: 4 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.185, allocations: 3.984 kB / 489.2 MB, free: 13.83 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.00017/0.1851, allocations: 121.8 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.1852, allocations: 11.81 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.1852, allocations: 12.72 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1853, allocations: 7.984 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.1853, allocations: 3.938 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1853, allocations: 4 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.1859, allocations: 395.5 kB / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1859, allocations: 0 / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.186, allocations: 15.88 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.186, allocations: 0 / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.186, allocations: 4 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.186, allocations: 4.031 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.186, allocations: 0 / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1863, allocations: 200.3 kB / 489.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/0.1864, allocations: 92.95 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.1865, allocations: 3.984 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.1866, allocations: 4.375 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.1866, allocations: 12 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.1867, allocations: 7.984 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.1868, allocations: 128.4 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1868, allocations: 0 / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.1872, allocations: 47.98 kB / 490.2 MB, free: 12.66 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.002079/0.1893, allocations: 0.5382 MB / 490.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005857/0.19, allocations: 59.91 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.19, allocations: 0 / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.1903, allocations: 31.98 kB / 490.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.1911, allocations: 23.92 kB / 490.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.1927, allocations: 230.1 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.1932, allocations: 0.6965 MB / 491.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.1933, allocations: 20.88 kB / 491.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.1933, allocations: 27.42 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1933, allocations: 0 / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Templates: time 0.00596/0.1993, allocations: 2.275 MB / 494.1 MB, free: 8.906 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches