Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 109.8 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007221/0.0007221, allocations: 39.95 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1793, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002322/0.1817, allocations: 1.718 MB / 375.5 MB, free: 44.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006299/0.1823, allocations: 0.5267 MB / 376.1 MB, free: 44.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.1824, allocations: 6.688 kB / 376.1 MB, free: 44.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.457e-05/0.1825, allocations: 7.938 kB / 376.1 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.1826, allocations: 18.02 kB / 376.1 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.1827, allocations: 45.08 kB / 376.1 MB, free: 44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1828, allocations: 105.6 kB / 376.2 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.1829, allocations: 31.41 kB / 376.3 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.183, allocations: 41.77 kB / 376.3 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.1831, allocations: 50.44 kB / 376.4 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1831, allocations: 4.562 kB / 376.4 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.1831, allocations: 9.531 kB / 376.4 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.1831, allocations: 26.11 kB / 376.4 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.1832, allocations: 38.42 kB / 376.4 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.989e-05/0.1833, allocations: 87.84 kB / 376.5 MB, free: 43.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1833, allocations: 0 / 376.5 MB, free: 43.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1833, allocations: 1.188 kB / 376.5 MB, free: 43.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1833, allocations: 0 / 376.5 MB, free: 43.73 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000424/0.1837, allocations: 426.9 kB / 376.9 MB, free: 43.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1838, allocations: 9.375 kB / 376.9 MB, free: 43.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.1838, allocations: 19.66 kB / 377 MB, free: 43.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1839, allocations: 212 kB / 377.2 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.184, allocations: 7.469 kB / 377.2 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.184, allocations: 14.97 kB / 377.2 MB, free: 43.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.1842, allocations: 134.1 kB / 377.3 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1843, allocations: 0 / 377.3 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1843, allocations: 5.062 kB / 377.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1843, allocations: 2.344 kB / 377.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1845, allocations: 66.59 kB / 377.4 MB, free: 42.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.185, allocations: 0.5529 MB / 378 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.1853, allocations: 131.4 kB / 378.1 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.1854, allocations: 55.45 kB / 378.1 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1854, allocations: 1.375 kB / 378.1 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.1855, allocations: 36.17 kB / 378.2 MB, free: 42.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1855, allocations: 3.938 kB / 378.2 MB, free: 42.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009217/0.1864, allocations: 0.5177 MB / 378.7 MB, free: 41.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.1864, allocations: 53.81 kB / 378.7 MB, free: 41.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.1865, allocations: 151.1 kB / 378.9 MB, free: 41.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.1865, allocations: 34.83 kB / 378.9 MB, free: 41.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.1866, allocations: 108.7 kB / 379 MB, free: 41.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1866, allocations: 41.42 kB / 379.1 MB, free: 41.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.1867, allocations: 36.34 kB / 379.1 MB, free: 41.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.1867, allocations: 321.5 kB / 379.4 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.1868, allocations: 60.73 kB / 379.5 MB, free: 41.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.187, allocations: 76.73 kB / 379.6 MB, free: 41.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.1873, allocations: 136.8 kB / 379.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1873, allocations: 1.062 kB / 379.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003252/0.1876, allocations: 175.8 kB / 379.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1876, allocations: 5.688 kB / 379.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1876, allocations: 5.156 kB / 379.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1876, allocations: 1.156 kB / 379.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1878, allocations: 40.5 kB / 379.9 MB, free: 40.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1878, allocations: 2.031 kB / 379.9 MB, free: 40.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.1879, allocations: 15.45 kB / 379.9 MB, free: 40.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1879, allocations: 3.844 kB / 379.9 MB, free: 40.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 5.774e-05/0.188, allocations: 123.2 kB / 380.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.188, allocations: 13.88 kB / 380.1 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.188, allocations: 23.36 kB / 380.1 MB, free: 40.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.188, allocations: 1.031 kB / 380.1 MB, free: 40.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.188, allocations: 5.375 kB / 380.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1881, allocations: 0 / 380.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.1886, allocations: 498 kB / 380.6 MB, free: 40.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1887, allocations: 1.156 kB / 380.6 MB, free: 40.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1888, allocations: 36.75 kB / 380.6 MB, free: 40.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1888, allocations: 5.188 kB / 380.6 MB, free: 40.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1888, allocations: 2.219 kB / 380.6 MB, free: 40.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1888, allocations: 1 kB / 380.6 MB, free: 40.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1888, allocations: 5.047 kB / 380.6 MB, free: 40.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.1908, allocations: 1.613 MB / 382.2 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.1908, allocations: 92.77 kB / 382.3 MB, free: 38.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1909, allocations: 6.719 kB / 382.3 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.191, allocations: 10.83 kB / 382.4 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.191, allocations: 21.05 kB / 382.4 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.191, allocations: 2.781 kB / 382.4 MB, free: 38.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.1911, allocations: 117.3 kB / 382.5 MB, free: 38.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1911, allocations: 0 / 382.5 MB, free: 38.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.1914, allocations: 26.84 kB / 382.5 MB, free: 38.6 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 6.884e-05/0.1915, allocations: 97.38 kB / 382.6 MB, free: 38.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.1918, allocations: 131.3 kB / 382.7 MB, free: 38.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1918, allocations: 0 / 382.7 MB, free: 38.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1919, allocations: 67.58 kB / 382.8 MB, free: 38.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1923, allocations: 34.84 kB / 382.8 MB, free: 38.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.1929, allocations: 0.503 MB / 383.3 MB, free: 37.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.193, allocations: 0.7108 MB / 384.1 MB, free: 37.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.1931, allocations: 17.23 kB / 384.1 MB, free: 37.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.1931, allocations: 16.25 kB / 384.1 MB, free: 37.25 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1931, allocations: 0 / 384.1 MB, free: 37.25 MB / 298.7 MB Notification: Performance of Templates: time 0.003554/0.1967, allocations: 1.769 MB / 385.9 MB, free: 36.38 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches