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.001792/0.001792, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 226.5 MB / 245.4 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009549/0.0009552, allocations: 100 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2935, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3996, allocations: 78.06 MB / 487.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.3999, allocations: 63.97 kB / 487.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006944/0.4068, allocations: 2.511 MB / 490 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4069, allocations: 4 kB / 490 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.4069, allocations: 0 / 490 MB, free: 10.89 MB / 362.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.0005316/0.4074, allocations: 423.1 kB / 490.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4075, allocations: 8.031 kB / 490.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.4075, allocations: 16.75 kB / 490.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.4078, allocations: 223.9 kB / 490.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.4078, allocations: 8.375 kB / 490.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.4079, allocations: 4.375 kB / 490.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.4082, allocations: 146.7 kB / 490.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4082, allocations: 0 / 490.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4082, allocations: 4 kB / 490.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4082, allocations: 4 kB / 490.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.4084, allocations: 83.88 kB / 490.9 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/0.4092, allocations: 0.5515 MB / 491.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.4096, allocations: 150.4 kB / 491.6 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.4098, allocations: 64.81 kB / 491.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.4098, allocations: 0 / 491.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.4098, allocations: 34.56 kB / 491.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.4098, allocations: 4 kB / 491.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001092/0.4109, allocations: 0.5176 MB / 492.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.411, allocations: 55.41 kB / 492.3 MB, free: 8.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.4111, allocations: 145.9 kB / 492.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.4112, allocations: 41.69 kB / 492.5 MB, free: 8.176 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.4112, allocations: 116.1 kB / 492.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.4113, allocations: 31.47 kB / 492.6 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.4113, allocations: 4.75 kB / 492.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4114, allocations: 322.8 kB / 492.9 MB, free: 7.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4116, allocations: 63.89 kB / 493 MB, free: 7.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.4118, allocations: 83.83 kB / 493.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.4121, allocations: 151.2 kB / 493.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4121, allocations: 0 / 493.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003607/0.4125, allocations: 185.5 kB / 493.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4125, allocations: 8 kB / 493.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4125, allocations: 3.938 kB / 493.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4125, allocations: 3.938 kB / 493.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4127, allocations: 44.02 kB / 493.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4127, allocations: 0 / 493.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.4128, allocations: 19.98 kB / 493.5 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4128, allocations: 7.984 kB / 493.5 MB, free: 7.105 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 0.0001048/0.4129, allocations: 117.8 kB / 493.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.413, allocations: 11.91 kB / 493.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.413, allocations: 12.72 kB / 493.6 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.413, allocations: 7.938 kB / 493.6 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.413, allocations: 7.938 kB / 493.6 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.413, allocations: 0 / 493.6 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007409/0.4138, allocations: 499 kB / 494.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4138, allocations: 4.031 kB / 494.1 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.414, allocations: 27.98 kB / 494.2 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.414, allocations: 4 kB / 494.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.414, allocations: 0 / 494.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.414, allocations: 0 / 494.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.414, allocations: 0 / 494.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.4145, allocations: 340 kB / 494.5 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.4146, allocations: 92.95 kB / 494.6 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4147, allocations: 0 / 494.6 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4148, allocations: 19.98 kB / 494.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.4148, allocations: 11.98 kB / 494.6 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4148, allocations: 4 kB / 494.6 MB, free: 5.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.415, allocations: 115.2 kB / 494.7 MB, free: 5.746 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.415, allocations: 0 / 494.7 MB, free: 5.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.4152, allocations: 16 kB / 494.7 MB, free: 5.73 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.0001635/0.4154, allocations: 95.44 kB / 494.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.4158, allocations: 139.9 kB / 495 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4158, allocations: 3.938 kB / 495 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.416, allocations: 67.95 kB / 495 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.4164, allocations: 44.03 kB / 495.1 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.4171, allocations: 350.5 kB / 495.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.4175, allocations: 0.7126 MB / 496.1 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.439e-05/0.4176, allocations: 13.08 kB / 496.2 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.4176, allocations: 15.44 kB / 496.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4176, allocations: 0 / 496.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of Templates: time 0.003809/0.4215, allocations: 1.368 MB / 497.5 MB, free: 2.895 MB / 362.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/jenkins1/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