Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001701/0.001701, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001053/0.001053, allocations: 74.73 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.91e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3968/0.5301, allocations: 76.43 MB / 445.5 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5304, allocations: 71.33 kB / 445.6 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.5413, allocations: 2.384 MB / 448 MB, free: 14.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5413, allocations: 0 / 448 MB, free: 14.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.5414, allocations: 7.984 kB / 448 MB, free: 14.64 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.0006985/0.5421, allocations: 412 kB / 448.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.5422, allocations: 12.03 kB / 448.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.5422, allocations: 11.81 kB / 448.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.5426, allocations: 206.2 kB / 448.6 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.5426, allocations: 11.44 kB / 448.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.5427, allocations: 19.77 kB / 448.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.5429, allocations: 107 kB / 448.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.543, allocations: 0 / 448.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.543, allocations: 7.125 kB / 448.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.543, allocations: 4 kB / 448.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.5432, allocations: 41.61 kB / 448.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.5442, allocations: 0.5514 MB / 449.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.5445, allocations: 75.95 kB / 449.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.5446, allocations: 27.42 kB / 449.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.5446, allocations: 4.125 kB / 449.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.5446, allocations: 41.33 kB / 449.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.434e-06/0.5447, allocations: 0 / 449.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008097/0.5455, allocations: 353.8 kB / 449.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.5455, allocations: 59.41 kB / 449.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.5457, allocations: 131.3 kB / 450 MB, free: 12.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5458, allocations: 25.7 kB / 450 MB, free: 12.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5459, allocations: 181.2 kB / 450.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.5459, allocations: 38.33 kB / 450.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.546, allocations: 0 / 450.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5461, allocations: 318.1 kB / 450.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.5462, allocations: 30.12 kB / 450.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.5463, allocations: 59.84 kB / 450.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.765e-05/0.5464, allocations: 26 kB / 450.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5465, allocations: 0 / 450.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002948/0.5468, allocations: 122.3 kB / 450.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.5468, allocations: 8.047 kB / 450.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5468, allocations: 4 kB / 450.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-05/0.5469, allocations: 7.984 kB / 450.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.5473, allocations: 35.97 kB / 450.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.5473, allocations: 0 / 450.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.5475, allocations: 22.55 kB / 450.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.5475, allocations: 8 kB / 450.9 MB, free: 11.7 MB / 330.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 0.0001001/0.5476, allocations: 112 kB / 451 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.5477, allocations: 7.906 kB / 451 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.347e-05/0.5477, allocations: 19.27 kB / 451 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5478, allocations: 0 / 451 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5478, allocations: 4 kB / 451 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.5478, allocations: 3.984 kB / 451 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008112/0.5486, allocations: 420 kB / 451.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.5486, allocations: 3.953 kB / 451.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.5489, allocations: 27.98 kB / 451.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.549, allocations: 0 / 451.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.549, allocations: 10.8 kB / 451.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.549, allocations: 4.031 kB / 451.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.549, allocations: 0 / 451.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.5494, allocations: 243.8 kB / 451.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.5495, allocations: 92.92 kB / 451.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.5496, allocations: 0 / 451.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.5498, allocations: 19.98 kB / 451.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.5499, allocations: 11.92 kB / 451.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.5499, allocations: 8 kB / 451.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.55, allocations: 115.4 kB / 452 MB, free: 10.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.075e-06/0.55, allocations: 4 kB / 452 MB, free: 10.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.5504, allocations: 23.88 kB / 452 MB, free: 10.58 MB / 330.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.0001761/0.5506, allocations: 94.88 kB / 452.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.5508, allocations: 75.25 kB / 452.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.5509, allocations: 0 / 452.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.551, allocations: 39.55 kB / 452.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.5515, allocations: 35.08 kB / 452.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.5521, allocations: 241.4 kB / 452.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.5524, allocations: 0.7087 MB / 453.2 MB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.5525, allocations: 19.38 kB / 453.2 MB, free: 9.371 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5525, allocations: 0 / 453.2 MB, free: 9.371 MB / 330.7 MB Notification: Performance of Templates: time 0.004764/0.5573, allocations: 1.59 MB / 454.8 MB, free: 7.797 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches