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.001509/0.001509, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 241.4 MB, free: 9.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 97.2 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 8 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2968, allocations: 50.41 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.4039, allocations: 77.34 MB / 480.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.4042, allocations: 67.97 kB / 480.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00704/0.4113, allocations: 2.454 MB / 482.6 MB, free: 492 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.09e-06/0.4114, allocations: 0 / 482.6 MB, free: 492 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.4114, allocations: 4 kB / 482.6 MB, free: 488 kB / 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.0007145/0.4121, allocations: 423.5 kB / 483 MB, free: 12 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.754e-05/0.4122, allocations: 12.03 kB / 483 MB, free: 0 / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.4123, allocations: 12.92 kB / 483 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.4126, allocations: 220.5 kB / 483.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.4127, allocations: 4.375 kB / 483.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.4127, allocations: 12.38 kB / 483.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.4131, allocations: 152 kB / 483.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4131, allocations: 0 / 483.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.4131, allocations: 3.938 kB / 483.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.4131, allocations: 4 kB / 483.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.4134, allocations: 79.94 kB / 483.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/0.4142, allocations: 0.5554 MB / 484.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.4146, allocations: 138.5 kB / 484.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.4147, allocations: 68.81 kB / 484.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.4148, allocations: 4 kB / 484.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4148, allocations: 30.56 kB / 484.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.4148, allocations: 0 / 484.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001203/0.416, allocations: 0.5253 MB / 484.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.4161, allocations: 59.33 kB / 484.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.4163, allocations: 148.7 kB / 485 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.4163, allocations: 29.7 kB / 485.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.4164, allocations: 112.2 kB / 485.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.4165, allocations: 35.45 kB / 485.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.4165, allocations: 8 kB / 485.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4166, allocations: 322.8 kB / 485.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.4168, allocations: 55.95 kB / 485.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.417, allocations: 91.39 kB / 485.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.4173, allocations: 143.2 kB / 485.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4173, allocations: 4.75 kB / 485.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003789/0.4177, allocations: 189.4 kB / 486 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.4177, allocations: 7.984 kB / 486 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4177, allocations: 0 / 486 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.4178, allocations: 11.94 kB / 486 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.418, allocations: 35.92 kB / 486.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.418, allocations: 4 kB / 486.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.4181, allocations: 20.05 kB / 486.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.4181, allocations: 11.94 kB / 486.1 MB, free: 12.68 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.0001088/0.4182, allocations: 125.8 kB / 486.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.4182, allocations: 7.906 kB / 486.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.4183, allocations: 16.72 kB / 486.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4183, allocations: 3.938 kB / 486.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4183, allocations: 0 / 486.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4183, allocations: 4 kB / 486.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.4191, allocations: 487.1 kB / 486.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4191, allocations: 0 / 486.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.4193, allocations: 39.91 kB / 486.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4193, allocations: 4.031 kB / 486.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4193, allocations: 0 / 486.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4193, allocations: 4 kB / 486.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4193, allocations: 0 / 486.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.4199, allocations: 333.1 kB / 487.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.4199, allocations: 92.95 kB / 487.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.42, allocations: 4 kB / 487.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4201, allocations: 15.98 kB / 487.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.4202, allocations: 11.98 kB / 487.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.4202, allocations: 0 / 487.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.564e-05/0.4203, allocations: 114.1 kB / 487.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4203, allocations: 0 / 487.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.4205, allocations: 23.98 kB / 487.3 MB, free: 11.31 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.000162/0.4207, allocations: 99.25 kB / 487.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.4211, allocations: 135.8 kB / 487.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4211, allocations: 192 / 487.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.4213, allocations: 80.08 kB / 487.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.4218, allocations: 34.31 kB / 487.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.4225, allocations: 360.5 kB / 488 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.4229, allocations: 0.7087 MB / 488.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.4229, allocations: 17.08 kB / 488.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.423, allocations: 11.44 kB / 488.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.423, allocations: 0 / 488.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of Templates: time 0.004267/0.4273, allocations: 1.364 MB / 490.1 MB, free: 8.48 MB / 362.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/jenkins1/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