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.0007495/0.0007494, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009268/0.0009269, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000224/0.0002241, allocations: 4 kB / 308.4 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.08987, allocations: 51.52 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001711/0.09161, allocations: 1.395 MB / 361.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008715/0.09251, allocations: 0.495 MB / 361.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.09261, allocations: 7.938 kB / 361.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.945e-05/0.0927, allocations: 11.86 kB / 361.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.09279, allocations: 15.86 kB / 361.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.09295, allocations: 51.95 kB / 361.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.0931, allocations: 103.6 kB / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.09322, allocations: 33.02 kB / 362 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.09328, allocations: 27.86 kB / 362 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.09337, allocations: 47.66 kB / 362.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.0934, allocations: 4 kB / 362.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.09342, allocations: 8 kB / 362.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.09344, allocations: 11.92 kB / 362.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.09351, allocations: 77.36 kB / 362.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.206e-05/0.0936, allocations: 52.11 kB / 362.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.09361, allocations: 0 / 362.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09361, allocations: 4 kB / 362.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.09362, allocations: 0 / 362.2 MB, free: 10.94 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.0004931/0.09412, allocations: 423 kB / 362.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.09416, allocations: 8.031 kB / 362.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.09421, allocations: 12.84 kB / 362.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.09442, allocations: 211.8 kB / 362.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.09445, allocations: 12.31 kB / 362.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.09448, allocations: 16.03 kB / 362.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.09478, allocations: 142.5 kB / 363 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.0948, allocations: 0 / 363 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.09482, allocations: 8 kB / 363.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.09483, allocations: 0 / 363.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.09505, allocations: 83.88 kB / 363.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.09573, allocations: 0.5556 MB / 363.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.0961, allocations: 154.5 kB / 363.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.09627, allocations: 68.94 kB / 363.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.09629, allocations: 8 kB / 363.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.09632, allocations: 30.56 kB / 363.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.09632, allocations: 0 / 363.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001139/0.09747, allocations: 0.5678 MB / 364.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.09751, allocations: 51.41 kB / 364.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.09764, allocations: 157.6 kB / 364.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.09767, allocations: 25.7 kB / 364.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.09773, allocations: 112 kB / 364.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.09777, allocations: 51.28 kB / 364.9 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.09781, allocations: 17.72 kB / 364.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.09791, allocations: 326.8 kB / 365.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.09808, allocations: 55.95 kB / 365.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.09826, allocations: 96.33 kB / 365.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.09859, allocations: 159.3 kB / 365.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.0986, allocations: 0 / 365.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004007/0.099, allocations: 197.4 kB / 365.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.09903, allocations: 4 kB / 365.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.09904, allocations: 7.938 kB / 365.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.09906, allocations: 0 / 365.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.09923, allocations: 43.91 kB / 365.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.09924, allocations: 8.062 kB / 365.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.655e-05/0.09934, allocations: 15.98 kB / 365.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.09935, allocations: 11.94 kB / 365.8 MB, free: 7.051 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 8.787e-05/0.09945, allocations: 121.7 kB / 365.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.09949, allocations: 15.91 kB / 366 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.09954, allocations: 16.64 kB / 366 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.09956, allocations: 8 kB / 366 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.09956, allocations: 3.938 kB / 366 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.09957, allocations: 0 / 366 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/0.1004, allocations: 0.5233 MB / 366.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1004, allocations: 4 kB / 366.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1006, allocations: 39.97 kB / 366.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1006, allocations: 0 / 366.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1006, allocations: 4 kB / 366.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1006, allocations: 0 / 366.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1006, allocations: 3.938 kB / 366.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.1012, allocations: 349.1 kB / 366.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.1012, allocations: 92.95 kB / 367 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1013, allocations: 8 kB / 367 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1014, allocations: 19.98 kB / 367 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.1014, allocations: 11.92 kB / 367 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1014, allocations: 4 kB / 367 MB, free: 5.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.768e-05/0.1015, allocations: 115.2 kB / 367.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1015, allocations: 3.938 kB / 367.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1018, allocations: 20 kB / 367.2 MB, free: 5.586 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 9.256e-05/0.1019, allocations: 99.19 kB / 367.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.1023, allocations: 148 kB / 367.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1023, allocations: 0 / 367.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.1025, allocations: 76.08 kB / 367.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.1029, allocations: 42.19 kB / 367.5 MB, free: 5.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.1035, allocations: 405.7 kB / 367.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1037, allocations: 0.7164 MB / 368.6 MB, free: 4.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.1038, allocations: 15.44 kB / 368.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1038, allocations: 0 / 368.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of Templates: time 0.003158/0.107, allocations: 1.66 MB / 370.3 MB, free: 2.371 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches