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.001051/0.001051, allocations: 97.28 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 205.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000231/0.0002309, allocations: 8.281 kB / 307.7 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1016, allocations: 51.52 MB / 359.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001916/0.1036, allocations: 1.39 MB / 360.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1047, allocations: 0.5066 MB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1049, allocations: 4 kB / 361.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.105, allocations: 11.86 kB / 361.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1051, allocations: 15.88 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.1053, allocations: 43.95 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1055, allocations: 111.6 kB / 361.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1056, allocations: 29.08 kB / 361.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.1057, allocations: 35.86 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.1058, allocations: 43.66 kB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1058, allocations: 4 kB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.1058, allocations: 4 kB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.1059, allocations: 15.92 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.106, allocations: 61.39 kB / 361.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1061, allocations: 83.89 kB / 361.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.1061, allocations: 3.984 kB / 361.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1061, allocations: 3.938 kB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1061, allocations: 4 kB / 361.6 MB, free: 10.93 MB / 302.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.0005768/0.1067, allocations: 411.1 kB / 362 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1068, allocations: 8.031 kB / 362 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1068, allocations: 16.84 kB / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1071, allocations: 213.5 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1071, allocations: 8.375 kB / 362.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.1071, allocations: 20.03 kB / 362.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.1074, allocations: 136.2 kB / 362.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1075, allocations: 7.922 kB / 362.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1075, allocations: 4 kB / 362.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1075, allocations: 4 kB / 362.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.1077, allocations: 83.83 kB / 362.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007946/0.1085, allocations: 0.5556 MB / 363.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.1089, allocations: 154.4 kB / 363.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.1091, allocations: 68.81 kB / 363.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1091, allocations: 4 kB / 363.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1092, allocations: 30.56 kB / 363.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1092, allocations: 0 / 363.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.00123/0.1104, allocations: 0.5564 MB / 363.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.1105, allocations: 55.41 kB / 363.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1106, allocations: 157.6 kB / 364.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1106, allocations: 33.7 kB / 364.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.1107, allocations: 104 kB / 364.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.1107, allocations: 47.28 kB / 364.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1108, allocations: 21.72 kB / 364.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1109, allocations: 326.8 kB / 364.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.1111, allocations: 63.97 kB / 364.6 MB, free: 7.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.1113, allocations: 87.39 kB / 364.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.1116, allocations: 167.2 kB / 364.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1116, allocations: 0 / 364.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004097/0.112, allocations: 201.8 kB / 365.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.112, allocations: 8 kB / 365.1 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1121, allocations: 8.031 kB / 365.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1121, allocations: 0 / 365.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1123, allocations: 43.97 kB / 365.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1123, allocations: 0 / 365.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.1124, allocations: 23.98 kB / 365.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1124, allocations: 4 kB / 365.2 MB, free: 7.047 MB / 302.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.742e-05/0.1125, allocations: 133.7 kB / 365.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.1125, allocations: 7.906 kB / 365.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1126, allocations: 28.58 kB / 365.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1126, allocations: 0 / 365.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1126, allocations: 0 / 365.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1126, allocations: 0 / 365.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008296/0.1134, allocations: 0.5233 MB / 365.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1135, allocations: 0 / 365.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.1136, allocations: 40.03 kB / 365.9 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1136, allocations: 4 kB / 365.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1137, allocations: 0 / 365.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.1137, allocations: 7.922 kB / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1137, allocations: 4 kB / 365.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.1143, allocations: 348.9 kB / 366.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.1143, allocations: 92.95 kB / 366.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1144, allocations: 4 kB / 366.4 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1145, allocations: 15.98 kB / 366.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.1145, allocations: 19.92 kB / 366.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1146, allocations: 4 kB / 366.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.1146, allocations: 111.2 kB / 366.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1147, allocations: 0 / 366.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1149, allocations: 20 kB / 366.5 MB, free: 5.582 MB / 302.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 0.0001155/0.115, allocations: 99.19 kB / 366.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.1154, allocations: 143.9 kB / 366.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1154, allocations: 192 / 366.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.1156, allocations: 79.89 kB / 366.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.1161, allocations: 38.47 kB / 366.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.1168, allocations: 384.3 kB / 367.3 MB, free: 4.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1172, allocations: 0.7086 MB / 368 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.884e-05/0.1172, allocations: 21.41 kB / 368 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.1173, allocations: 19.38 kB / 368 MB, free: 4.031 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1173, allocations: 4 kB / 368 MB, free: 4.027 MB / 302.1 MB Notification: Performance of Templates: time 0.004374/0.1217, allocations: 1.486 MB / 369.5 MB, free: 2.566 MB / 302.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