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.001559/0.001559, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002103/0.002103, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2977, allocations: 50.53 MB / 409.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003179/0.3009, allocations: 1.694 MB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008608/0.3018, allocations: 0.5026 MB / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.3019, allocations: 8 kB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.302, allocations: 15.8 kB / 411.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/0.3021, allocations: 31.73 kB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.3023, allocations: 43.94 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3025, allocations: 115.6 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3026, allocations: 25.09 kB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.3027, allocations: 47.84 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.3028, allocations: 47.66 kB / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3028, allocations: 8 kB / 411.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.3028, allocations: 8 kB / 411.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.3029, allocations: 19.92 kB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.303, allocations: 51.66 kB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.3031, allocations: 95.23 kB / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.3031, allocations: 0 / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3031, allocations: 0 / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3031, allocations: 0 / 411.9 MB, free: 14.91 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.0006345/0.3038, allocations: 428.4 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3038, allocations: 8.031 kB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.3039, allocations: 16.75 kB / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.3042, allocations: 216 kB / 412.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3042, allocations: 8.375 kB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.3042, allocations: 20.11 kB / 412.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.3045, allocations: 132.2 kB / 412.7 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3046, allocations: 0 / 412.7 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3046, allocations: 7.938 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3046, allocations: 4 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.3048, allocations: 67.89 kB / 412.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.3055, allocations: 0.5476 MB / 413.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.3058, allocations: 134.4 kB / 413.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.306, allocations: 56.81 kB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.306, allocations: 4 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3061, allocations: 30.56 kB / 413.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.3061, allocations: 4 kB / 413.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001197/0.3073, allocations: 0.5168 MB / 414.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3073, allocations: 51.41 kB / 414.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3074, allocations: 153.3 kB / 414.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3075, allocations: 29.7 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.3075, allocations: 111.9 kB / 414.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.3076, allocations: 39.39 kB / 414.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.3076, allocations: 37.7 kB / 414.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3078, allocations: 318.8 kB / 414.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3079, allocations: 55.97 kB / 414.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.3081, allocations: 91.22 kB / 415 MB, free: 11.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.3083, allocations: 135 kB / 415.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3084, allocations: 0 / 415.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003447/0.3087, allocations: 177.4 kB / 415.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3087, allocations: 4.938 kB / 415.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3087, allocations: 7.922 kB / 415.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3088, allocations: 7.984 kB / 415.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.3089, allocations: 31.98 kB / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3089, allocations: 0 / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.309, allocations: 19.92 kB / 415.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.309, allocations: 4 kB / 415.4 MB, free: 11.18 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.563e-05/0.3091, allocations: 129.8 kB / 415.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.3092, allocations: 15.81 kB / 415.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.3092, allocations: 16.66 kB / 415.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3093, allocations: 7.938 kB / 415.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3093, allocations: 0 / 415.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3093, allocations: 0 / 415.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.31, allocations: 500 kB / 416 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.31, allocations: 0 / 416 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.3102, allocations: 35.91 kB / 416 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3102, allocations: 3.938 kB / 416.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3102, allocations: 8.062 kB / 416.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3102, allocations: 0 / 416.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3102, allocations: 0 / 416.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.3108, allocations: 324.9 kB / 416.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.3108, allocations: 81.02 kB / 416.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.3109, allocations: 8 kB / 416.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.311, allocations: 15.97 kB / 416.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3111, allocations: 11.98 kB / 416.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3111, allocations: 4 kB / 416.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.491e-05/0.3112, allocations: 111.2 kB / 416.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3112, allocations: 4 kB / 416.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.3114, allocations: 20 kB / 416.6 MB, free: 9.797 MB / 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.0001098/0.3115, allocations: 103.3 kB / 416.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.3119, allocations: 131.7 kB / 416.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3119, allocations: 4.188 kB / 416.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3121, allocations: 63.91 kB / 416.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.3124, allocations: 44.92 kB / 417 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.313, allocations: 324.3 kB / 417.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3133, allocations: 0.7083 MB / 418 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.433e-05/0.3134, allocations: 13.42 kB / 418 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.3134, allocations: 15.44 kB / 418 MB, free: 8.344 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3134, allocations: 4 kB / 418 MB, free: 8.34 MB / 334.1 MB Notification: Performance of Templates: time 0.004297/0.3178, allocations: 1.703 MB / 419.7 MB, free: 6.652 MB / 334.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