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.001459/0.001463, allocations: 186.1 kB / 16.4 MB, free: 5.746 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.82/1.82, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001105/0.001105, allocations: 89.02 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.313, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.43, allocations: 76.53 MB / 451.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4303, allocations: 63.97 kB / 451.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009994/0.4403, allocations: 2.406 MB / 453.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4403, allocations: 0 / 453.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.4404, allocations: 8 kB / 453.5 MB, free: 1.754 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.0006533/0.441, allocations: 418.9 kB / 453.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4411, allocations: 12.03 kB / 454 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.4411, allocations: 11.81 kB / 454 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4414, allocations: 211.9 kB / 454.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.4415, allocations: 11.98 kB / 454.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.4415, allocations: 15.95 kB / 454.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.442, allocations: 136.6 kB / 454.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.442, allocations: 11.94 kB / 454.3 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.442, allocations: 0 / 454.3 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4421, allocations: 0 / 454.3 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.4425, allocations: 83.84 kB / 454.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.4434, allocations: 0.5477 MB / 455 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.444, allocations: 150.9 kB / 455.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4441, allocations: 4 kB / 455.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.4441, allocations: 38.45 kB / 455.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.627e-06/0.4441, allocations: 0 / 455.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001747/0.4459, allocations: 0.5292 MB / 455.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.4459, allocations: 51.41 kB / 455.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.4461, allocations: 144.3 kB / 455.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4462, allocations: 25.7 kB / 455.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4463, allocations: 174.7 kB / 456.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.4463, allocations: 39.39 kB / 456.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.4464, allocations: 4 kB / 456.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4465, allocations: 314.8 kB / 456.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.4468, allocations: 59.95 kB / 456.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.4471, allocations: 95.12 kB / 456.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.4474, allocations: 66.05 kB / 456.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4474, allocations: 0 / 456.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006649/0.4481, allocations: 173.5 kB / 456.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4481, allocations: 8 kB / 456.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4481, allocations: 3.953 kB / 456.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4482, allocations: 7.984 kB / 456.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.4485, allocations: 39.98 kB / 456.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4485, allocations: 0 / 456.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.4487, allocations: 23.98 kB / 456.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.4487, allocations: 4 kB / 456.9 MB, free: 14.11 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 0.0001217/0.4488, allocations: 118.6 kB / 457 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.4489, allocations: 15.8 kB / 457 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.4489, allocations: 16.72 kB / 457 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4489, allocations: 11.89 kB / 457.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.449, allocations: 4 kB / 457.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.449, allocations: 0 / 457.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.4501, allocations: 479.2 kB / 457.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4501, allocations: 0 / 457.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.4504, allocations: 43.95 kB / 457.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4505, allocations: 0 / 457.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4505, allocations: 4 kB / 457.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4505, allocations: 3.938 kB / 457.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4505, allocations: 4 kB / 457.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.4515, allocations: 337.7 kB / 457.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4515, allocations: 85.02 kB / 458 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.4516, allocations: 12.03 kB / 458 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.4518, allocations: 19.98 kB / 458 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.4519, allocations: 8.078 kB / 458 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.4519, allocations: 4 kB / 458 MB, free: 12.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.452, allocations: 111.9 kB / 458.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.452, allocations: 0 / 458.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003338/0.4524, allocations: 20 kB / 458.2 MB, free: 12.72 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.0001358/0.4525, allocations: 103.2 kB / 458.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006239/0.4531, allocations: 143.9 kB / 458.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4532, allocations: 3.938 kB / 458.4 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.4535, allocations: 67.89 kB / 458.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.4539, allocations: 44.36 kB / 458.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008764/0.4548, allocations: 386.2 kB / 458.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.4552, allocations: 0.7087 MB / 459.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.4552, allocations: 15.44 kB / 459.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4553, allocations: 0 / 459.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of Templates: time 0.004326/0.4596, allocations: 1.596 MB / 461.2 MB, free: 9.605 MB / 346.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