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.001801/0.001801, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.543/1.543, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001079/0.001079, allocations: 97.58 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 15.98 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 47.56 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3632, allocations: 76.53 MB / 452.3 MB, free: 4.156 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.3635, allocations: 67.97 kB / 452.4 MB, free: 4.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006654/0.3702, allocations: 2.409 MB / 454.8 MB, free: 1.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3702, allocations: 0 / 454.8 MB, free: 1.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3702, allocations: 4 kB / 454.8 MB, free: 1.676 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.0005212/0.3707, allocations: 422.9 kB / 455.2 MB, free: 1.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3708, allocations: 8.031 kB / 455.2 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.3708, allocations: 15.81 kB / 455.2 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3711, allocations: 211.9 kB / 455.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3711, allocations: 8 kB / 455.5 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.3712, allocations: 15.94 kB / 455.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.3715, allocations: 138.3 kB / 455.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3715, allocations: 3.938 kB / 455.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3715, allocations: 4 kB / 455.6 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3715, allocations: 0 / 455.6 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.3717, allocations: 83.86 kB / 455.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.3724, allocations: 0.5481 MB / 456.2 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.3728, allocations: 150.4 kB / 456.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.3728, allocations: 0 / 456.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3729, allocations: 46.52 kB / 456.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3729, allocations: 3.938 kB / 456.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001202/0.3741, allocations: 0.5176 MB / 457 MB, free: 15.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.3741, allocations: 55.41 kB / 457 MB, free: 15.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3743, allocations: 136.3 kB / 457.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.3743, allocations: 33.7 kB / 457.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.3744, allocations: 108.2 kB / 457.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.3744, allocations: 39.39 kB / 457.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.3744, allocations: 4 kB / 457.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3746, allocations: 322.8 kB / 457.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.3747, allocations: 60.66 kB / 457.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.3749, allocations: 87.39 kB / 457.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3751, allocations: 59.97 kB / 457.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3751, allocations: 0 / 457.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003708/0.3755, allocations: 193.4 kB / 458 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3755, allocations: 4 kB / 458 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3755, allocations: 3.953 kB / 458 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3755, allocations: 4 kB / 458.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3757, allocations: 43.84 kB / 458.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3757, allocations: 7.984 kB / 458.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.3758, allocations: 20.05 kB / 458.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3758, allocations: 8 kB / 458.1 MB, free: 14.07 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 9.524e-05/0.3759, allocations: 117.8 kB / 458.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.376, allocations: 11.81 kB / 458.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.376, allocations: 16.72 kB / 458.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.376, allocations: 3.953 kB / 458.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.376, allocations: 4 kB / 458.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.376, allocations: 3.984 kB / 458.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.3767, allocations: 483.2 kB / 458.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3767, allocations: 0 / 458.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.3769, allocations: 39.88 kB / 458.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3769, allocations: 0 / 458.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3769, allocations: 8.031 kB / 458.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.377, allocations: 3.984 kB / 458.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.377, allocations: 0 / 458.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.3775, allocations: 345.8 kB / 459.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.3776, allocations: 88.92 kB / 459.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3776, allocations: 0 / 459.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3777, allocations: 20.03 kB / 459.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.3778, allocations: 7.984 kB / 459.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3778, allocations: 4 kB / 459.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.917e-05/0.3779, allocations: 119.9 kB / 459.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3779, allocations: 4 kB / 459.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.3781, allocations: 16 kB / 459.4 MB, free: 12.68 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.0001269/0.3783, allocations: 95.25 kB / 459.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.3786, allocations: 147.9 kB / 459.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3786, allocations: 0 / 459.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3788, allocations: 72.14 kB / 459.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.3792, allocations: 31.92 kB / 459.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.3798, allocations: 360.5 kB / 460.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.3801, allocations: 0.7165 MB / 460.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.232e-05/0.3802, allocations: 9.094 kB / 460.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.3802, allocations: 15.44 kB / 460.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3802, allocations: 0 / 460.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of Templates: time 0.003947/0.3842, allocations: 1.35 MB / 462.2 MB, free: 9.852 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/jenkins/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