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.0008663/0.0008663, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.208/1.208, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0006896/0.0006896, allocations: 94.16 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002786, allocations: 8 kB / 329.4 MB, free: 15.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1948, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08053/0.2754, allocations: 76.57 MB / 453.6 MB, free: 4.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.2756, allocations: 71.97 kB / 453.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006423/0.2821, allocations: 2.405 MB / 456.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.2821, allocations: 0 / 456.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.2821, allocations: 11.94 kB / 456.1 MB, free: 1.527 MB / 330.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.0004369/0.2826, allocations: 419.1 kB / 456.5 MB, free: 1.066 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2826, allocations: 12.03 kB / 456.5 MB, free: 1.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.2827, allocations: 12.75 kB / 456.5 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2829, allocations: 217.1 kB / 456.7 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.2829, allocations: 8.375 kB / 456.7 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.2829, allocations: 12.38 kB / 456.7 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.2832, allocations: 142 kB / 456.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2832, allocations: 4 kB / 456.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2832, allocations: 0 / 456.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2833, allocations: 4 kB / 456.9 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.2835, allocations: 79.88 kB / 457 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.2841, allocations: 0.5558 MB / 457.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.2845, allocations: 146.5 kB / 457.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.2846, allocations: 68.94 kB / 457.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.2846, allocations: 0 / 457.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2847, allocations: 38.5 kB / 457.8 MB, free: 15.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.2847, allocations: 0 / 457.8 MB, free: 15.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001015/0.2857, allocations: 0.529 MB / 458.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2857, allocations: 51.41 kB / 458.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.2859, allocations: 154.8 kB / 458.5 MB, free: 14.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2859, allocations: 29.7 kB / 458.5 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.286, allocations: 112.2 kB / 458.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.286, allocations: 39.39 kB / 458.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.286, allocations: 4 kB / 458.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2861, allocations: 322.8 kB / 459 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.2863, allocations: 55.97 kB / 459 MB, free: 14.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.2864, allocations: 87.39 kB / 459.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.2867, allocations: 143.3 kB / 459.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2867, allocations: 0 / 459.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003673/0.2871, allocations: 193.3 kB / 459.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2871, allocations: 6.188 kB / 459.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2871, allocations: 0 / 459.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2872, allocations: 12.03 kB / 459.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.2873, allocations: 35.97 kB / 459.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2873, allocations: 4 kB / 459.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.2874, allocations: 15.98 kB / 459.5 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.2875, allocations: 8 kB / 459.5 MB, free: 13.75 MB / 346.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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/0.2875, allocations: 121.8 kB / 459.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.2876, allocations: 7.906 kB / 459.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.2876, allocations: 20.7 kB / 459.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2876, allocations: 3.938 kB / 459.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2876, allocations: 0 / 459.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2877, allocations: 8.734 kB / 459.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.2883, allocations: 495 kB / 460.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2883, allocations: 96 / 460.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.2885, allocations: 35.92 kB / 460.2 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2885, allocations: 0 / 460.2 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.2885, allocations: 0 / 460.2 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2885, allocations: 4 kB / 460.2 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2885, allocations: 3.984 kB / 460.2 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.2891, allocations: 328.2 kB / 460.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.2891, allocations: 88.92 kB / 460.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2891, allocations: 4 kB / 460.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2893, allocations: 19.98 kB / 460.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.2893, allocations: 11.98 kB / 460.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2893, allocations: 4 kB / 460.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.195e-05/0.2894, allocations: 115.9 kB / 460.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2894, allocations: 0 / 460.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.2897, allocations: 24 kB / 460.8 MB, free: 12.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (v.u,limit_a.y,positionSmoothed.y) * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001116/0.2898, allocations: 99.25 kB / 460.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.2901, allocations: 136 kB / 461 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2901, allocations: 0 / 461 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.2903, allocations: 71.89 kB / 461.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.2907, allocations: 40.25 kB / 461.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006387/0.2914, allocations: 360.7 kB / 461.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2916, allocations: 0.7126 MB / 462.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.2917, allocations: 13.03 kB / 462.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.2917, allocations: 15.44 kB / 462.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2917, allocations: 0 / 462.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of Templates: time 0.003846/0.2956, allocations: 1.36 MB / 463.6 MB, free: 9.539 MB / 346.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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