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.000954/0.000954, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008546/0.0008546, allocations: 97.3 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.102e-05, allocations: 4 kB / 337 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 50.42 MB / 387.4 MB, free: 7.598 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.4507, allocations: 76.58 MB / 464 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.4509, allocations: 67.95 kB / 464.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006678/0.4576, allocations: 2.426 MB / 466.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4576, allocations: 0 / 466.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.4577, allocations: 11.98 kB / 466.5 MB, free: 15.83 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.0004413/0.4581, allocations: 402.8 kB / 466.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4582, allocations: 11.97 kB / 466.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.4582, allocations: 23.77 kB / 467 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.4584, allocations: 195.5 kB / 467.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4585, allocations: 4 kB / 467.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4585, allocations: 8 kB / 467.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.45e-05/0.4586, allocations: 35.98 kB / 467.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4588, allocations: 108 kB / 467.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4588, allocations: 448 / 467.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4588, allocations: 0 / 467.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4588, allocations: 4 kB / 467.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.4595, allocations: 0.517 MB / 467.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.4597, allocations: 78.5 kB / 467.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.4597, allocations: 28.98 kB / 467.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.4598, allocations: 4 kB / 467.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.4598, allocations: 34.56 kB / 468 MB, free: 14.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.4598, allocations: 0 / 468 MB, free: 14.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005481/0.4603, allocations: 334 kB / 468.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.4604, allocations: 59.41 kB / 468.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4605, allocations: 126.8 kB / 468.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4605, allocations: 25.7 kB / 468.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.4606, allocations: 112.2 kB / 468.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.4606, allocations: 39.45 kB / 468.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.4606, allocations: 0 / 468.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4608, allocations: 326.8 kB / 469 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.4608, allocations: 24 kB / 469 MB, free: 13.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.945e-05/0.4609, allocations: 53.03 kB / 469 MB, free: 13.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.811e-05/0.461, allocations: 23.98 kB / 469.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.461, allocations: 0 / 469.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001697/0.4611, allocations: 113.5 kB / 469.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4612, allocations: 8 kB / 469.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4612, allocations: 11.53 kB / 469.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4612, allocations: 4 kB / 469.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.4614, allocations: 35.92 kB / 469.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4614, allocations: 0 / 469.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.513e-05/0.4615, allocations: 15.98 kB / 469.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4615, allocations: 4 kB / 469.3 MB, free: 12.83 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 8.562e-05/0.4616, allocations: 126.3 kB / 469.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.4616, allocations: 11.81 kB / 469.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.4617, allocations: 16.62 kB / 469.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4617, allocations: 0 / 469.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4617, allocations: 0 / 469.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4617, allocations: 0 / 469.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.4622, allocations: 383.8 kB / 469.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4622, allocations: 4 kB / 469.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.4624, allocations: 31.97 kB / 469.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4624, allocations: 0 / 469.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4624, allocations: 4 kB / 469.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4624, allocations: 3.938 kB / 469.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4624, allocations: 4.031 kB / 469.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.4627, allocations: 239.7 kB / 470.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.4627, allocations: 84.92 kB / 470.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.4628, allocations: 4 kB / 470.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.4629, allocations: 19.98 kB / 470.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.4629, allocations: 11.94 kB / 470.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.4629, allocations: 4 kB / 470.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.383e-05/0.463, allocations: 108.3 kB / 470.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.463, allocations: 0 / 470.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000237/0.4633, allocations: 16 kB / 470.3 MB, free: 11.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 () * 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.0001237/0.4634, allocations: 91.44 kB / 470.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.4636, allocations: 79.81 kB / 470.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4636, allocations: 0 / 470.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/0.4637, allocations: 35.92 kB / 470.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.464, allocations: 33.06 kB / 470.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.4644, allocations: 195.9 kB / 470.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.4646, allocations: 0.7162 MB / 471.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.614e-05/0.4647, allocations: 13.28 kB / 471.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.4647, allocations: 15.44 kB / 471.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4648, allocations: 0 / 471.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of Templates: time 0.003522/0.4683, allocations: 1.265 MB / 472.7 MB, free: 9.211 MB / 346.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