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.001234/0.001234, allocations: 120.9 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 208.3 kB / 18.79 MB, free: 4.102 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.496/1.496, allocations: 230.4 MB / 250 MB, free: 9.012 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.001898/0.001898, allocations: 67.83 kB / 367.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2921, allocations: 53.3 MB / 420.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002842/0.295, allocations: 1.693 MB / 422.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.296, allocations: 0.5221 MB / 422.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.731e-05/0.2961, allocations: 7.938 kB / 422.9 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.2962, allocations: 11.86 kB / 422.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.2963, allocations: 27.8 kB / 422.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.2964, allocations: 43.88 kB / 422.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.2966, allocations: 115.6 kB / 423.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2967, allocations: 17.11 kB / 423.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.174e-05/0.2968, allocations: 43.8 kB / 423.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.2969, allocations: 55.69 kB / 423.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.2969, allocations: 8 kB / 423.2 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.2969, allocations: 8 kB / 423.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2969, allocations: 11.94 kB / 423.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.297, allocations: 55.61 kB / 423.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2972, allocations: 99.48 kB / 423.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2972, allocations: 0 / 423.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2972, allocations: 0 / 423.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2972, allocations: 0 / 423.4 MB, free: 5.586 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.0005832/0.2978, allocations: 437.8 kB / 423.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2978, allocations: 8.031 kB / 423.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.2978, allocations: 16.84 kB / 423.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.2981, allocations: 208.8 kB / 424 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.2981, allocations: 12.33 kB / 424 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.2982, allocations: 12.12 kB / 424 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.2985, allocations: 132.1 kB / 424.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2985, allocations: 4 kB / 424.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2985, allocations: 0 / 424.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2985, allocations: 3.938 kB / 424.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.2987, allocations: 75.88 kB / 424.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007411/0.2994, allocations: 0.5438 MB / 424.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.2998, allocations: 126.5 kB / 424.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2999, allocations: 60.8 kB / 425 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2999, allocations: 4 kB / 425 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.2999, allocations: 34.69 kB / 425 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.2999, allocations: 4 kB / 425 MB, free: 3.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001104/0.3011, allocations: 0.5095 MB / 425.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3011, allocations: 59.34 kB / 425.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3012, allocations: 157.8 kB / 425.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3013, allocations: 25.7 kB / 425.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.3014, allocations: 112 kB / 425.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.3014, allocations: 51.56 kB / 425.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.3015, allocations: 29.72 kB / 425.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3016, allocations: 326.8 kB / 426.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3017, allocations: 51.95 kB / 426.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3019, allocations: 78.2 kB / 426.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.3022, allocations: 139.3 kB / 426.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3022, allocations: 0 / 426.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003529/0.3026, allocations: 180.2 kB / 426.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3026, allocations: 4 kB / 426.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3026, allocations: 4.875 kB / 426.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3026, allocations: 4 kB / 426.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3028, allocations: 43.91 kB / 426.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3028, allocations: 3.984 kB / 426.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.3029, allocations: 11.98 kB / 426.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.3029, allocations: 16.06 kB / 426.8 MB, free: 1.848 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.951e-05/0.303, allocations: 117.8 kB / 426.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.303, allocations: 15.91 kB / 426.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.3031, allocations: 20.64 kB / 426.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3031, allocations: 4 kB / 426.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3031, allocations: 3.938 kB / 426.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3031, allocations: 0 / 426.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007644/0.3038, allocations: 0.4921 MB / 427.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3038, allocations: 0 / 427.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.304, allocations: 31.97 kB / 427.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.304, allocations: 0 / 427.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.304, allocations: 12.06 kB / 427.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.304, allocations: 0 / 427.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.304, allocations: 0 / 427.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.3048, allocations: 320.9 kB / 427.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.3049, allocations: 93.05 kB / 427.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.3049, allocations: 4 kB / 427.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3051, allocations: 15.98 kB / 427.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.3052, allocations: 7.984 kB / 427.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3052, allocations: 4 kB / 427.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.3053, allocations: 119.2 kB / 428 MB, free: 496 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3053, allocations: 3.938 kB / 428 MB, free: 492 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.3058, allocations: 20 kB / 428.1 MB, free: 472 kB / 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 0.00014/0.3059, allocations: 99.12 kB / 428.2 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.3065, allocations: 116 kB / 428.3 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3065, allocations: 8.062 kB / 428.3 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.3067, allocations: 63.89 kB / 428.3 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.3073, allocations: 40.34 kB / 428.4 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.3082, allocations: 323.9 kB / 428.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.3087, allocations: 0.7084 MB / 429.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.456e-05/0.3088, allocations: 17.5 kB / 429.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.3088, allocations: 15.44 kB / 429.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3088, allocations: 4 kB / 429.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of Templates: time 0.006974/0.3158, allocations: 1.719 MB / 431.2 MB, free: 13.32 MB / 350.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