Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008415/0.0008415, allocations: 90.61 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.502e-05, allocations: 4 kB / 350.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4445, allocations: 78.05 MB / 480.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4447, allocations: 71.14 kB / 480.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006569/0.4513, allocations: 2.498 MB / 482.6 MB, free: 9.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.4514, allocations: 7.984 kB / 482.6 MB, free: 9.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.4514, allocations: 4 kB / 482.6 MB, free: 9.23 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.000534/0.4519, allocations: 404 kB / 483 MB, free: 8.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.452, allocations: 12.03 kB / 483.1 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.4521, allocations: 12.53 kB / 483.1 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.4523, allocations: 207.9 kB / 483.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.4524, allocations: 8.359 kB / 483.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.4524, allocations: 16.53 kB / 483.3 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.4527, allocations: 111.2 kB / 483.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.4527, allocations: 3.938 kB / 483.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.4527, allocations: 0 / 483.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4528, allocations: 4 kB / 483.4 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.4529, allocations: 49.73 kB / 483.5 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.4537, allocations: 0.5532 MB / 484 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.4539, allocations: 70.58 kB / 484.1 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.454, allocations: 30.86 kB / 484.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.454, allocations: 192 / 484.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4541, allocations: 45.52 kB / 484.2 MB, free: 7.691 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.4541, allocations: 0 / 484.2 MB, free: 7.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006946/0.4548, allocations: 355.2 kB / 484.5 MB, free: 7.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4548, allocations: 51.41 kB / 484.5 MB, free: 7.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.455, allocations: 136.4 kB / 484.7 MB, free: 7.141 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.455, allocations: 25.7 kB / 484.7 MB, free: 7.109 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.4551, allocations: 111.1 kB / 484.8 MB, free: 7.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.4551, allocations: 42.89 kB / 484.9 MB, free: 6.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.4551, allocations: 0 / 484.9 MB, free: 6.969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.4552, allocations: 327 kB / 485.2 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.4553, allocations: 28.28 kB / 485.2 MB, free: 6.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.4554, allocations: 54.42 kB / 485.3 MB, free: 6.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.4555, allocations: 22.81 kB / 485.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4555, allocations: 0 / 485.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002656/0.4558, allocations: 134.2 kB / 485.4 MB, free: 6.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4558, allocations: 7.953 kB / 485.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4558, allocations: 0 / 485.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4558, allocations: 4 kB / 485.4 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.4561, allocations: 35.97 kB / 485.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4561, allocations: 4 kB / 485.5 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.4562, allocations: 22.77 kB / 485.5 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.4563, allocations: 4 kB / 485.5 MB, free: 6.379 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 () * 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 6.193e-05/0.4563, allocations: 108.2 kB / 485.6 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.4564, allocations: 16.62 kB / 485.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.4565, allocations: 15.52 kB / 485.6 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4565, allocations: 4 kB / 485.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4565, allocations: 3.984 kB / 485.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4565, allocations: 2.156 kB / 485.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.4571, allocations: 420.6 kB / 486 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4571, allocations: 3.953 kB / 486 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.4574, allocations: 37.91 kB / 486.1 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4574, allocations: 4.031 kB / 486.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4574, allocations: 3.312 kB / 486.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4574, allocations: 0 / 486.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4574, allocations: 4 kB / 486.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.4577, allocations: 239.7 kB / 486.3 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.4578, allocations: 86.42 kB / 486.4 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.4578, allocations: 11.56 kB / 486.4 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.458, allocations: 15.98 kB / 486.4 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.4581, allocations: 12.05 kB / 486.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.4581, allocations: 0 / 486.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.268e-05/0.4582, allocations: 116.8 kB / 486.6 MB, free: 5.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.183e-06/0.4582, allocations: 0 / 486.6 MB, free: 5.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004272/0.4587, allocations: 19.94 kB / 486.6 MB, free: 5.281 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 () * 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.0001383/0.4588, allocations: 102.8 kB / 486.7 MB, free: 5.176 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.459, allocations: 70.06 kB / 486.8 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.459, allocations: 0 / 486.8 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.4591, allocations: 43.92 kB / 486.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.4596, allocations: 33.45 kB / 486.8 MB, free: 5.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.4601, allocations: 206.9 kB / 487 MB, free: 4.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.4603, allocations: 0.7087 MB / 487.7 MB, free: 4.137 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.611e-05/0.4604, allocations: 16.38 kB / 487.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.4604, allocations: 19.38 kB / 487.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.4604, allocations: 0 / 487.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of Templates: time 0.004932/0.4654, allocations: 1.346 MB / 489.1 MB, free: 2.816 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches