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.001633/0.001633, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002175/0.002175, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 8.961 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.38 kB / 306.9 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09192, allocations: 50.53 MB / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003125/0.09508, allocations: 1.737 MB / 359.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.0961, allocations: 0.5105 MB / 359.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.09622, allocations: 0 / 359.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.09636, allocations: 15.86 kB / 359.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.378e-05/0.0965, allocations: 15.86 kB / 359.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.09668, allocations: 43.95 kB / 359.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.09687, allocations: 111.6 kB / 359.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.097, allocations: 33.09 kB / 359.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.09706, allocations: 35.8 kB / 359.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.09715, allocations: 43.72 kB / 360 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.09718, allocations: 4 kB / 360 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.0972, allocations: 4 kB / 360 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.09725, allocations: 23.91 kB / 360 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.0973, allocations: 43.67 kB / 360 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.112e-05/0.0974, allocations: 64.11 kB / 360.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.09741, allocations: 0 / 360.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09742, allocations: 7.938 kB / 360.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.09743, allocations: 4 kB / 360.1 MB, free: 11.57 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.0005631/0.098, allocations: 423 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.09804, allocations: 12.03 kB / 360.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.09809, allocations: 8.844 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.09834, allocations: 216 kB / 360.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.09837, allocations: 8.375 kB / 360.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.09841, allocations: 16.12 kB / 360.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.0987, allocations: 128.2 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.09872, allocations: 3.906 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.09874, allocations: 4 kB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.09875, allocations: 4 kB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.09896, allocations: 71.88 kB / 361 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.09968, allocations: 0.5477 MB / 361.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.1, allocations: 134.4 kB / 361.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.1002, allocations: 56.81 kB / 361.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1002, allocations: 4 kB / 361.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1002, allocations: 34.56 kB / 361.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1002, allocations: 3.938 kB / 361.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001128/0.1014, allocations: 0.5136 MB / 362.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1014, allocations: 51.41 kB / 362.3 MB, free: 9.113 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1016, allocations: 149.7 kB / 362.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1016, allocations: 29.7 kB / 362.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.1017, allocations: 111.9 kB / 362.6 MB, free: 8.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.1017, allocations: 47.3 kB / 362.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.1018, allocations: 33.7 kB / 362.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1019, allocations: 322.8 kB / 363 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.102, allocations: 55.95 kB / 363.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.1022, allocations: 75.39 kB / 363.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.1025, allocations: 139.2 kB / 363.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1025, allocations: 4 kB / 363.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003627/0.1029, allocations: 188.7 kB / 363.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1029, allocations: 4 kB / 363.5 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1029, allocations: 3.938 kB / 363.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1029, allocations: 4 kB / 363.5 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1031, allocations: 35.97 kB / 363.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1031, allocations: 0 / 363.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.1032, allocations: 20.08 kB / 363.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1032, allocations: 4 kB / 363.5 MB, free: 7.852 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.462e-05/0.1033, allocations: 125.7 kB / 363.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.1034, allocations: 11.91 kB / 363.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.1034, allocations: 16.66 kB / 363.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1034, allocations: 4 kB / 363.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1034, allocations: 3.984 kB / 363.7 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1034, allocations: 0.9375 kB / 363.7 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.1042, allocations: 0.4921 MB / 364.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1042, allocations: 0 / 364.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.1044, allocations: 32.05 kB / 364.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1044, allocations: 4.078 kB / 364.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1044, allocations: 11.94 kB / 364.2 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1044, allocations: 3.938 kB / 364.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1044, allocations: 0 / 364.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.105, allocations: 316.9 kB / 364.5 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.105, allocations: 88.92 kB / 364.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1051, allocations: 8 kB / 364.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1052, allocations: 12.03 kB / 364.7 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.1052, allocations: 19.92 kB / 364.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1053, allocations: 7.984 kB / 364.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.964e-05/0.1054, allocations: 111.3 kB / 364.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1054, allocations: 0 / 364.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1056, allocations: 16 kB / 364.8 MB, free: 6.465 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.0001117/0.1057, allocations: 103.2 kB / 364.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.1061, allocations: 123.9 kB / 365 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1061, allocations: 0 / 365 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1063, allocations: 67.89 kB / 365.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.1067, allocations: 47.12 kB / 365.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.1074, allocations: 383.8 kB / 365.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1077, allocations: 0.7125 MB / 366.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.1078, allocations: 15.44 kB / 366.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1078, allocations: 0 / 366.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of Templates: time 0.003374/0.1112, allocations: 1.676 MB / 367.9 MB, free: 3.277 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