Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 114.7 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.935/1.935, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4377/0.4377, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 79.88 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.171, allocations: 62.45 MB / 480.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004442/0.1755, allocations: 1.78 MB / 481.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1778, allocations: 1.021 MB / 483 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.1779, allocations: 0 / 483 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.1784, allocations: 55.81 kB / 483 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.1789, allocations: 79.73 kB / 483.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1791, allocations: 63.89 kB / 483.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.1794, allocations: 115.6 kB / 483.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1795, allocations: 4 kB / 483.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1797, allocations: 51.78 kB / 483.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.1798, allocations: 39.78 kB / 483.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1798, allocations: 4 kB / 483.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1799, allocations: 39.98 kB / 483.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.18, allocations: 31.84 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.1801, allocations: 39.69 kB / 483.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1804, allocations: 112 kB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1804, allocations: 0 / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1804, allocations: 0 / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1804, allocations: 0 / 483.6 MB, free: 2.18 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.0007087/0.1811, allocations: 446.7 kB / 484 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1812, allocations: 8.031 kB / 484 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.1813, allocations: 16.78 kB / 484 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1816, allocations: 216.9 kB / 484.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1816, allocations: 8.312 kB / 484.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1817, allocations: 4.125 kB / 484.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1819, allocations: 57.67 kB / 484.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1819, allocations: 3.984 kB / 484.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1819, allocations: 4 kB / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1819, allocations: 7.984 kB / 484.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1821, allocations: 12 kB / 484.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.1826, allocations: 300.9 kB / 484.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1828, allocations: 62.61 kB / 484.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.1829, allocations: 24.8 kB / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.183, allocations: 3.984 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.1832, allocations: 67.39 kB / 484.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.1833, allocations: 0 / 484.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008167/0.1841, allocations: 185 kB / 485 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1842, allocations: 59.39 kB / 485 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.1845, allocations: 267 kB / 485.3 MB, free: 272 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.1846, allocations: 33.7 kB / 485.3 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.1847, allocations: 108.1 kB / 485.4 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.1848, allocations: 19.72 kB / 485.5 MB, free: 100 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.1848, allocations: 25.7 kB / 485.5 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.185, allocations: 330.8 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.1851, allocations: 27.92 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.765e-05/0.1852, allocations: 37.7 kB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1854, allocations: 61.69 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1854, allocations: 0 / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002934/0.1857, allocations: 105.4 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1858, allocations: 6.344 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1858, allocations: 0 / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1858, allocations: 4 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1859, allocations: 15.98 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.186, allocations: 0 / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.186, allocations: 15.91 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1861, allocations: 3.938 kB / 486.1 MB, free: 15.45 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.0001523/0.1862, allocations: 133.8 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.1863, allocations: 16 kB / 486.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/0.1864, allocations: 25.39 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1864, allocations: 3.938 kB / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1864, allocations: 384 / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.1864, allocations: 7.938 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.1871, allocations: 411.3 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1871, allocations: 0 / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.1872, allocations: 8 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1872, allocations: 0 / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1872, allocations: 11.92 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1872, allocations: 0 / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1872, allocations: 3.938 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.1876, allocations: 212.4 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.1877, allocations: 88.92 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.1877, allocations: 7.938 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1879, allocations: 3.984 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.1879, allocations: 8 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.188, allocations: 4 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000294/0.1883, allocations: 208.4 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1883, allocations: 4 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004616/0.1888, allocations: 20 kB / 487.2 MB, free: 14.19 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.00173/0.1905, allocations: 447.5 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.1908, allocations: 67.89 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.1908, allocations: 4 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1909, allocations: 31.92 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.1915, allocations: 35.16 kB / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/0.1923, allocations: 361.4 kB / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.1928, allocations: 0.7119 MB / 488.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.1928, allocations: 23.44 kB / 488.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1928, allocations: 0 / 488.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.006319/0.1992, allocations: 2.097 MB / 491 MB, free: 10.53 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches