Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001855/0.001855, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00231/0.00231, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 227.7 MB / 247.1 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 66.3 kB / 307.2 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.0975, allocations: 50.55 MB / 357.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003069/0.1006, allocations: 1.666 MB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1017, allocations: 0.5198 MB / 360 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1018, allocations: 4 kB / 360 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.102, allocations: 15.8 kB / 360 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.152e-05/0.1021, allocations: 27.78 kB / 360 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.1022, allocations: 47.94 kB / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1024, allocations: 111.6 kB / 360.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1025, allocations: 40.97 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.1026, allocations: 31.86 kB / 360.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.1027, allocations: 51.66 kB / 360.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1027, allocations: 8 kB / 360.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.1028, allocations: 8 kB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.1028, allocations: 27.91 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.1029, allocations: 43.67 kB / 360.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.103, allocations: 87.92 kB / 360.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.103, allocations: 0 / 360.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.103, allocations: 0 / 360.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.103, allocations: 8 kB / 360.5 MB, free: 11.22 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.0006585/0.1037, allocations: 426.9 kB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.1037, allocations: 12.03 kB / 360.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.1038, allocations: 8.844 kB / 360.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.104, allocations: 208.6 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1041, allocations: 12.31 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.1041, allocations: 16.12 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.1044, allocations: 132.1 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1044, allocations: 3.906 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1045, allocations: 4 kB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1045, allocations: 4 kB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.1048, allocations: 71.88 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007514/0.1055, allocations: 0.5438 MB / 361.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.1059, allocations: 130.5 kB / 362 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.1061, allocations: 57 kB / 362.1 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1061, allocations: 7.938 kB / 362.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1061, allocations: 34.56 kB / 362.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1061, allocations: 0 / 362.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001214/0.1074, allocations: 0.5064 MB / 362.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.1074, allocations: 51.41 kB / 362.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1076, allocations: 154.7 kB / 362.8 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1076, allocations: 29.8 kB / 362.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/0.1077, allocations: 115.9 kB / 363 MB, free: 8.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.1078, allocations: 43.3 kB / 363 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.1078, allocations: 41.66 kB / 363 MB, free: 8.371 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.108, allocations: 322.8 kB / 363.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.1082, allocations: 51.97 kB / 363.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1083, allocations: 81.58 kB / 363.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.1087, allocations: 135.3 kB / 363.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1087, allocations: 8 kB / 363.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000411/0.1091, allocations: 177.4 kB / 363.8 MB, free: 7.574 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1091, allocations: 4 kB / 363.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1091, allocations: 3.938 kB / 363.8 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1092, allocations: 4 kB / 363.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1094, allocations: 39.91 kB / 363.9 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1094, allocations: 0 / 363.9 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.1095, allocations: 20.08 kB / 363.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1095, allocations: 7.984 kB / 363.9 MB, free: 7.496 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 0.0001139/0.1096, allocations: 121.8 kB / 364 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.1096, allocations: 15.89 kB / 364 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.1097, allocations: 20.64 kB / 364 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1097, allocations: 4 kB / 364 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1097, allocations: 0 / 364 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1097, allocations: 0 / 364 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008596/0.1106, allocations: 0.4921 MB / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1106, allocations: 0 / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.1108, allocations: 36.03 kB / 364.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1108, allocations: 0 / 364.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.1108, allocations: 8 kB / 364.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1108, allocations: 0 / 364.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1108, allocations: 3.938 kB / 364.6 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.1114, allocations: 316.9 kB / 364.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.1115, allocations: 88.95 kB / 365 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1115, allocations: 8 kB / 365 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1117, allocations: 11.98 kB / 365 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.1117, allocations: 15.98 kB / 365 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1118, allocations: 4.094 kB / 365 MB, free: 6.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1119, allocations: 119.2 kB / 365.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.874e-06/0.1119, allocations: 0 / 365.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1121, allocations: 23.94 kB / 365.2 MB, free: 6.105 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.000118/0.1123, allocations: 95.19 kB / 365.2 MB, free: 6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.1127, allocations: 135.8 kB / 365.4 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.1127, allocations: 4 kB / 365.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.1129, allocations: 59.91 kB / 365.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.1133, allocations: 40.06 kB / 365.5 MB, free: 5.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.114, allocations: 320.4 kB / 365.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1144, allocations: 0.7122 MB / 366.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.366e-05/0.1144, allocations: 9.422 kB / 366.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.1145, allocations: 15.44 kB / 366.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1145, allocations: 7.938 kB / 366.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of Templates: time 0.004799/0.1193, allocations: 1.687 MB / 368.2 MB, free: 2.98 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches