Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 89.69 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1718, allocations: 62.43 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00359/0.1755, allocations: 1.691 MB / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1773, allocations: 1.009 MB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.1774, allocations: 3.938 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.1778, allocations: 47.81 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.1782, allocations: 99.53 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.1784, allocations: 79.67 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1786, allocations: 95.7 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.1787, allocations: 8.219 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.1788, allocations: 39.78 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.103e-05/0.1789, allocations: 27.86 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1789, allocations: 4 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.179, allocations: 35.98 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.1791, allocations: 31.84 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.1792, allocations: 43.62 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1795, allocations: 119.8 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.1795, allocations: 3.984 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1795, allocations: 0 / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1795, allocations: 0 / 483.4 MB, free: 1.938 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009118/0.1804, allocations: 426.8 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.1805, allocations: 12.03 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.1806, allocations: 16.75 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.181, allocations: 228.8 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.181, allocations: 384 / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.181, allocations: 4.125 kB / 484 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1812, allocations: 53.61 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1813, allocations: 0 / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1813, allocations: 3.938 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1813, allocations: 0 / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.1814, allocations: 15.98 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.1817, allocations: 193.7 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.1819, allocations: 50.61 kB / 484.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.182, allocations: 24.78 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.182, allocations: 0 / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.1824, allocations: 75.27 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1824, allocations: 4 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003577/0.1827, allocations: 93.48 kB / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.1828, allocations: 55.41 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.1831, allocations: 267 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1831, allocations: 25.7 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1833, allocations: 112.1 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.1833, allocations: 11.89 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.1834, allocations: 29.66 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.1836, allocations: 326.8 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.1837, allocations: 15.98 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.1838, allocations: 21.72 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1839, allocations: 49.95 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1839, allocations: 0 / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001735/0.1841, allocations: 97.36 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1841, allocations: 4 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1841, allocations: 0 / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.1842, allocations: 0 / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1843, allocations: 15.98 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.1843, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.1843, allocations: 7.844 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1844, allocations: 8 kB / 485.6 MB, free: 15.5 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 (7): * Single equations (assignments): 7 * 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.0001296/0.1845, allocations: 137.7 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.1845, allocations: 15.92 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.1846, allocations: 17 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1846, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.1846, allocations: 4 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1846, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1848, allocations: 205.5 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1848, allocations: 3.984 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.1848, allocations: 4 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1848, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1848, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1849, allocations: 8 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1849, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1851, allocations: 112.9 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.1851, allocations: 92.86 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1852, allocations: 4.125 kB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.1852, allocations: 7.938 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.1852, allocations: 7.984 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1853, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1854, allocations: 208.4 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1854, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.1857, allocations: 20 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001046/0.1867, allocations: 388.8 kB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1869, allocations: 47.92 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1869, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.187, allocations: 24.17 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1873, allocations: 31.98 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.1878, allocations: 270.4 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1881, allocations: 0.7127 MB / 487.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.1881, allocations: 16.53 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.1882, allocations: 15.44 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1882, allocations: 0 / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.004396/0.1926, allocations: 1.538 MB / 489.4 MB, free: 11.63 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches