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.0009047/0.0009046, allocations: 174.4 kB / 13.63 MB, free: 1.684 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.227/1.227, allocations: 221.3 MB / 235.5 MB, free: 2.875 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.0008148/0.0008148, allocations: 89.98 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.847e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08613, allocations: 50.41 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/0.4081, allocations: 77.24 MB / 471.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.4084, allocations: 63.97 kB / 471.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006401/0.4148, allocations: 2.437 MB / 474 MB, free: 7.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4148, allocations: 0 / 474 MB, free: 7.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.4148, allocations: 4 kB / 474 MB, free: 7.805 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.0004906/0.4153, allocations: 410.8 kB / 474.4 MB, free: 7.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4154, allocations: 8.031 kB / 474.4 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.4154, allocations: 19.77 kB / 474.4 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.4157, allocations: 207.4 kB / 474.6 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.4157, allocations: 12 kB / 474.6 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.4157, allocations: 4 kB / 474.6 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.4159, allocations: 116.6 kB / 474.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4159, allocations: 4 kB / 474.7 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.416, allocations: 4 kB / 474.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.416, allocations: 448 / 474.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/0.4161, allocations: 43.98 kB / 474.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.4169, allocations: 0.5517 MB / 475.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.4172, allocations: 78.52 kB / 475.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.4173, allocations: 32.8 kB / 475.5 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.4173, allocations: 0 / 475.5 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.4173, allocations: 38.56 kB / 475.5 MB, free: 6.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.4173, allocations: 0 / 475.5 MB, free: 6.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006853/0.418, allocations: 354.1 kB / 475.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.4181, allocations: 55.36 kB / 475.9 MB, free: 5.648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.4183, allocations: 133.5 kB / 476 MB, free: 5.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4183, allocations: 29.7 kB / 476.1 MB, free: 5.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.4184, allocations: 116.2 kB / 476.2 MB, free: 5.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4184, allocations: 39.45 kB / 476.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.4184, allocations: 0 / 476.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4185, allocations: 326.8 kB / 476.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.4186, allocations: 27.94 kB / 476.5 MB, free: 4.961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.505e-05/0.4187, allocations: 57.72 kB / 476.6 MB, free: 4.895 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.4187, allocations: 28 kB / 476.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4187, allocations: 0 / 476.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001726/0.4189, allocations: 126.9 kB / 476.8 MB, free: 4.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4189, allocations: 4 kB / 476.8 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4189, allocations: 0 / 476.8 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.419, allocations: 4 kB / 476.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.4191, allocations: 40 kB / 476.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4192, allocations: 4 kB / 476.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.4193, allocations: 27.94 kB / 476.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.4193, allocations: 4 kB / 476.8 MB, free: 4.656 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 7.065e-05/0.4194, allocations: 112.9 kB / 476.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.4194, allocations: 11.81 kB / 477 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.4194, allocations: 12.62 kB / 477 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4195, allocations: 4 kB / 477 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4195, allocations: 4 kB / 477 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4195, allocations: 3.984 kB / 477 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.42, allocations: 415.7 kB / 477.4 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.42, allocations: 0 / 477.4 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.4201, allocations: 40.05 kB / 477.4 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4202, allocations: 7.922 kB / 477.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4202, allocations: 4 kB / 477.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4202, allocations: 0 / 477.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.4202, allocations: 3.953 kB / 477.4 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.4204, allocations: 245.9 kB / 477.7 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.4205, allocations: 89.05 kB / 477.8 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.4205, allocations: 0 / 477.8 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.4206, allocations: 27.94 kB / 477.8 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.4207, allocations: 7.984 kB / 477.8 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.4207, allocations: 4 kB / 477.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.457e-05/0.4208, allocations: 118.3 kB / 477.9 MB, free: 3.461 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4208, allocations: 4 kB / 477.9 MB, free: 3.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.421, allocations: 20 kB / 477.9 MB, free: 3.438 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.0001156/0.4212, allocations: 91.25 kB / 478 MB, free: 3.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.4213, allocations: 79.81 kB / 478.1 MB, free: 3.262 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.4213, allocations: 0 / 478.1 MB, free: 3.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/0.4214, allocations: 39.92 kB / 478.2 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.4217, allocations: 38.97 kB / 478.2 MB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.4221, allocations: 188.9 kB / 478.4 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.4223, allocations: 0.7126 MB / 479.1 MB, free: 2.242 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.4224, allocations: 17.2 kB / 479.1 MB, free: 2.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.4224, allocations: 15.38 kB / 479.1 MB, free: 2.211 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4224, allocations: 0 / 479.1 MB, free: 2.211 MB / 346.7 MB Notification: Performance of Templates: time 0.003393/0.4258, allocations: 1.342 MB / 480.5 MB, free: 0.8828 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