Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 92.27 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2714, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09695/0.3684, allocations: 77.31 MB / 478.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.3687, allocations: 63.97 kB / 478.9 MB, free: 3.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006438/0.3751, allocations: 2.45 MB / 481.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3752, allocations: 0 / 481.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3752, allocations: 4 kB / 481.3 MB, free: 0.6406 MB / 346.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.0005231/0.3757, allocations: 431.2 kB / 481.7 MB, free: 176 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3758, allocations: 8.031 kB / 481.7 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.3758, allocations: 23.77 kB / 481.8 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.3761, allocations: 207.3 kB / 482 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3761, allocations: 8 kB / 482 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.3762, allocations: 11.94 kB / 482 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.3765, allocations: 143.1 kB / 482.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3765, allocations: 0 / 482.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3765, allocations: 4 kB / 482.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3765, allocations: 4 kB / 482.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.3767, allocations: 83.88 kB / 482.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.3774, allocations: 0.5516 MB / 482.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.3778, allocations: 146.5 kB / 482.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.3778, allocations: 0 / 482.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.3778, allocations: 34.69 kB / 482.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3778, allocations: 4 kB / 483 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.00104/0.3789, allocations: 0.5251 MB / 483.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3789, allocations: 51.41 kB / 483.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3791, allocations: 143.8 kB / 483.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3791, allocations: 29.7 kB / 483.7 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.3792, allocations: 116.2 kB / 483.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.3792, allocations: 35.45 kB / 483.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/0.3792, allocations: 4 kB / 483.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3793, allocations: 322.8 kB / 484.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3795, allocations: 63.95 kB / 484.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3797, allocations: 86.77 kB / 484.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.3798, allocations: 59.97 kB / 484.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3798, allocations: 0 / 484.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003516/0.3802, allocations: 185.3 kB / 484.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3802, allocations: 12.09 kB / 484.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3802, allocations: 0 / 484.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3802, allocations: 4 kB / 484.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3804, allocations: 35.97 kB / 484.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3804, allocations: 0 / 484.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.3805, allocations: 27.92 kB / 484.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3805, allocations: 11.95 kB / 484.6 MB, free: 13.03 MB / 362.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.238e-05/0.3806, allocations: 117.8 kB / 484.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.3806, allocations: 11.81 kB / 484.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.3807, allocations: 16.7 kB / 484.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3807, allocations: 3.984 kB / 484.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3807, allocations: 0.75 kB / 484.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3807, allocations: 0 / 484.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.3814, allocations: 495.1 kB / 485.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3814, allocations: 0 / 485.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.3816, allocations: 35.97 kB / 485.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3816, allocations: 0 / 485.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3816, allocations: 4 kB / 485.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3816, allocations: 4.031 kB / 485.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3816, allocations: 7.953 kB / 485.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.3822, allocations: 329.9 kB / 485.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.3822, allocations: 88.92 kB / 485.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3823, allocations: 11.94 kB / 485.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3824, allocations: 19.98 kB / 485.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3824, allocations: 7.984 kB / 485.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3824, allocations: 7.938 kB / 485.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.839e-05/0.3825, allocations: 114.9 kB / 485.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3825, allocations: 4 kB / 485.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.3828, allocations: 20 kB / 485.9 MB, free: 11.64 MB / 362.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.000108/0.3829, allocations: 99.36 kB / 486 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.3832, allocations: 143.8 kB / 486.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3832, allocations: 0 / 486.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3834, allocations: 68.16 kB / 486.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3837, allocations: 34.62 kB / 486.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.3843, allocations: 360.8 kB / 486.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3845, allocations: 0.7242 MB / 487.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.013e-05/0.3846, allocations: 13.08 kB / 487.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.3846, allocations: 11.44 kB / 487.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3846, allocations: 0 / 487.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.003245/0.3879, allocations: 1.329 MB / 488.7 MB, free: 8.828 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches