Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001095/0.001095, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.735/1.735, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0007863/0.0007863, allocations: 78.72 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.484e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09579, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/0.4236, allocations: 76.44 MB / 446.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4238, allocations: 63.41 kB / 446.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006273/0.4301, allocations: 2.384 MB / 448.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4301, allocations: 0 / 448.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4301, allocations: 8 kB / 448.9 MB, free: 14.75 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.0004226/0.4306, allocations: 409.2 kB / 449.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4306, allocations: 8.031 kB / 449.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.4307, allocations: 22.7 kB / 449.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.4309, allocations: 209.9 kB / 449.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4309, allocations: 7.125 kB / 449.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.431, allocations: 11.14 kB / 449.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.4311, allocations: 119.2 kB / 449.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4312, allocations: 0 / 449.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4312, allocations: 6.875 kB / 449.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4312, allocations: 0 / 449.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.4313, allocations: 41.86 kB / 449.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.432, allocations: 0.5493 MB / 450.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.4321, allocations: 82.3 kB / 450.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.4322, allocations: 34.8 kB / 450.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.4322, allocations: 0 / 450.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4322, allocations: 34.52 kB / 450.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.113e-06/0.4322, allocations: 0 / 450.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005276/0.4328, allocations: 355.6 kB / 450.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.4328, allocations: 51.41 kB / 450.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.4329, allocations: 132.6 kB / 450.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.433, allocations: 32.89 kB / 451 MB, free: 12.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.433, allocations: 114.8 kB / 451.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.433, allocations: 37.64 kB / 451.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.4331, allocations: 4.281 kB / 451.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4332, allocations: 321.6 kB / 451.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.4332, allocations: 29.88 kB / 451.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.4333, allocations: 58.78 kB / 451.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.4334, allocations: 27.58 kB / 451.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4334, allocations: 3.938 kB / 451.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001671/0.4335, allocations: 119.3 kB / 451.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4336, allocations: 11.95 kB / 451.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.4336, allocations: 3.984 kB / 451.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4336, allocations: 7.938 kB / 451.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.4338, allocations: 40.06 kB / 451.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4338, allocations: 0 / 451.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.4339, allocations: 23.17 kB / 451.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.4339, allocations: 4 kB / 451.8 MB, free: 11.86 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 7.034e-05/0.434, allocations: 116.2 kB / 451.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.434, allocations: 11.81 kB / 451.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.4341, allocations: 18.95 kB / 451.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4341, allocations: 0 / 451.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4341, allocations: 4 kB / 451.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4341, allocations: 3.984 kB / 451.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.4346, allocations: 416.8 kB / 452.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4346, allocations: 3.953 kB / 452.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.4347, allocations: 31.92 kB / 452.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4347, allocations: 0 / 452.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.4348, allocations: 7.984 kB / 452.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4348, allocations: 0 / 452.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4348, allocations: 0 / 452.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.435, allocations: 248.4 kB / 452.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.4351, allocations: 89.05 kB / 452.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.4351, allocations: 0 / 452.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.4352, allocations: 19.86 kB / 452.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.4353, allocations: 11.98 kB / 452.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4353, allocations: 4 kB / 452.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.672e-05/0.4354, allocations: 115 kB / 452.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4354, allocations: 0 / 452.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.4356, allocations: 31.81 kB / 452.9 MB, free: 10.75 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.000116/0.4357, allocations: 95.19 kB / 453 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.4359, allocations: 70.81 kB / 453 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4359, allocations: 4.188 kB / 453 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/0.436, allocations: 43.3 kB / 453.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.4363, allocations: 39.72 kB / 453.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.4366, allocations: 204.1 kB / 453.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.4369, allocations: 0.7165 MB / 454 MB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.174e-05/0.437, allocations: 9.203 kB / 454 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.437, allocations: 15.44 kB / 454.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.437, allocations: 0 / 454.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of Templates: time 0.003522/0.4405, allocations: 1.353 MB / 455.4 MB, free: 8.219 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/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_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches