Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 116.1 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.334, allocations: 50.54 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00278/0.3368, allocations: 1.686 MB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3379, allocations: 0.5104 MB / 411.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.338, allocations: 7.875 kB / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.3381, allocations: 11.86 kB / 411.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.3382, allocations: 27.73 kB / 411.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.3384, allocations: 43.94 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.3386, allocations: 111.6 kB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3387, allocations: 29.11 kB / 411.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.516e-05/0.3388, allocations: 39.8 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.5e-05/0.3389, allocations: 55.69 kB / 411.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3389, allocations: 8 kB / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.3389, allocations: 8 kB / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.339, allocations: 23.86 kB / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.339, allocations: 39.69 kB / 411.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.3392, allocations: 99.28 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3392, allocations: 0 / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3392, allocations: 4 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3392, allocations: 0 / 411.9 MB, free: 14.93 MB / 334.1 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.0005944/0.3398, allocations: 428.4 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3399, allocations: 8.031 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.3399, allocations: 16.75 kB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.3402, allocations: 220.2 kB / 412.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3402, allocations: 4.375 kB / 412.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.3403, allocations: 20.06 kB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.3406, allocations: 130.4 kB / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3407, allocations: 0 / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3407, allocations: 0 / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3407, allocations: 7.984 kB / 412.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.3409, allocations: 71.88 kB / 412.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.3417, allocations: 0.5476 MB / 413.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.342, allocations: 130.5 kB / 413.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3422, allocations: 64.88 kB / 413.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.3422, allocations: 8 kB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.3422, allocations: 30.56 kB / 413.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3422, allocations: 0 / 413.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001118/0.3433, allocations: 0.5134 MB / 414.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3434, allocations: 55.41 kB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3435, allocations: 153.3 kB / 414.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3436, allocations: 25.7 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.3436, allocations: 111.9 kB / 414.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3437, allocations: 43.39 kB / 414.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.3437, allocations: 33.72 kB / 414.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3439, allocations: 322.8 kB / 414.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.344, allocations: 51.95 kB / 414.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.3442, allocations: 82.27 kB / 415 MB, free: 11.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.3445, allocations: 139 kB / 415.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3445, allocations: 4 kB / 415.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003737/0.3449, allocations: 173.5 kB / 415.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3449, allocations: 4 kB / 415.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3449, allocations: 3.938 kB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.345, allocations: 7.938 kB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.3451, allocations: 39.97 kB / 415.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.3452, allocations: 0 / 415.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.3453, allocations: 16.08 kB / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3453, allocations: 8 kB / 415.4 MB, free: 11.2 MB / 334.1 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.797e-05/0.3454, allocations: 121.7 kB / 415.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.3454, allocations: 16.75 kB / 415.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.3455, allocations: 20.64 kB / 415.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3455, allocations: 4 kB / 415.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3455, allocations: 0 / 415.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3455, allocations: 0 / 415.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.3462, allocations: 0.4921 MB / 416 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3463, allocations: 3.938 kB / 416 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.3464, allocations: 36.03 kB / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3464, allocations: 0 / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3465, allocations: 8 kB / 416.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3465, allocations: 0 / 416.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3465, allocations: 3.938 kB / 416.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.347, allocations: 316.9 kB / 416.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.3471, allocations: 89.05 kB / 416.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3471, allocations: 4 kB / 416.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3472, allocations: 15.98 kB / 416.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3473, allocations: 11.98 kB / 416.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3473, allocations: 4 kB / 416.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.942e-05/0.3474, allocations: 115.2 kB / 416.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.854e-06/0.3474, allocations: 0 / 416.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.3476, allocations: 23.94 kB / 416.6 MB, free: 9.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.85e-05/0.3477, allocations: 99.12 kB / 416.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003746/0.3481, allocations: 127.9 kB / 416.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3481, allocations: 0 / 416.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.3483, allocations: 63.89 kB / 416.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3487, allocations: 52.19 kB / 417 MB, free: 9.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.3494, allocations: 324.6 kB / 417.3 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.3497, allocations: 0.7123 MB / 418 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.02e-05/0.3498, allocations: 17.42 kB / 418 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.3499, allocations: 15.44 kB / 418 MB, free: 8.355 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3499, allocations: 0 / 418 MB, free: 8.355 MB / 334.1 MB Notification: Performance of Templates: time 0.004556/0.3544, allocations: 1.69 MB / 419.7 MB, free: 6.68 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches