Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 108.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001852, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.3 MB, free: 9.125 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 74.67 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1736, allocations: 62.44 MB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003982/0.1777, allocations: 1.787 MB / 481.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1798, allocations: 1.017 MB / 482.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.18, allocations: 3.938 kB / 482.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.1805, allocations: 51.86 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.1809, allocations: 83.67 kB / 482.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1811, allocations: 63.81 kB / 482.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1814, allocations: 99.75 kB / 482.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.1815, allocations: 12 kB / 482.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1816, allocations: 39.78 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1818, allocations: 43.72 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.1818, allocations: 4 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1819, allocations: 39.98 kB / 482.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.182, allocations: 27.89 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.1821, allocations: 35.69 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.1823, allocations: 123.9 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.1824, allocations: 0 / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1824, allocations: 3.938 kB / 482.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.1824, allocations: 4 kB / 482.7 MB, free: 2.223 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.0006925/0.1831, allocations: 426.8 kB / 483.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.1831, allocations: 12.88 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.1832, allocations: 8.844 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.1835, allocations: 224.8 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1836, allocations: 384 / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.1836, allocations: 4.125 kB / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1838, allocations: 57.67 kB / 483.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1838, allocations: 4 kB / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1838, allocations: 0 / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1839, allocations: 0 / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.184, allocations: 23.92 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.1845, allocations: 296.8 kB / 483.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1847, allocations: 58.62 kB / 483.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.1847, allocations: 24.84 kB / 483.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1848, allocations: 0 / 483.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.185, allocations: 75.23 kB / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.185, allocations: 0 / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005787/0.1856, allocations: 173.1 kB / 484.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1857, allocations: 51.41 kB / 484.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1859, allocations: 246.1 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1859, allocations: 25.7 kB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.186, allocations: 112.1 kB / 484.5 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1861, allocations: 31.62 kB / 484.5 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1861, allocations: 17.72 kB / 484.6 MB, free: 180 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1862, allocations: 326.8 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.749e-05/0.1863, allocations: 23.98 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.1864, allocations: 41.7 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1865, allocations: 57.66 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1865, allocations: 0 / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.1867, allocations: 101.5 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1867, allocations: 4 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1867, allocations: 0 / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1867, allocations: 0 / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.1868, allocations: 24.39 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1869, allocations: 160 / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.1869, allocations: 19.83 kB / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1869, allocations: 4 kB / 485.1 MB, free: 15.56 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.0001337/0.1871, allocations: 129.8 kB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1871, allocations: 11.91 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.1872, allocations: 25.38 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1872, allocations: 0 / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1872, allocations: 0 / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1872, allocations: 7.938 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.1877, allocations: 399.2 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1877, allocations: 3.984 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.1877, allocations: 11.94 kB / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1877, allocations: 0 / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1877, allocations: 7.938 kB / 485.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1877, allocations: 4.188 kB / 485.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1878, allocations: 0 / 485.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.188, allocations: 204.2 kB / 485.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.188, allocations: 92.91 kB / 486 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1881, allocations: 7.938 kB / 486 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1882, allocations: 4 kB / 486 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.1883, allocations: 7.984 kB / 486 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.1883, allocations: 7.938 kB / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1885, allocations: 180.4 kB / 486.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1885, allocations: 0 / 486.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1887, allocations: 27.98 kB / 486.3 MB, free: 14.34 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.001081/0.1898, allocations: 449.8 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.19, allocations: 59.91 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.19, allocations: 4 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.1901, allocations: 24 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.1905, allocations: 27.16 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.191, allocations: 297.1 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1914, allocations: 0.72 MB / 487.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.448e-05/0.1915, allocations: 21.17 kB / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.1915, allocations: 15.44 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1915, allocations: 0 / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Templates: time 0.0049/0.1964, allocations: 1.679 MB / 489.5 MB, free: 11.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches