Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 109.7 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009736/0.0009737, allocations: 43.92 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2731, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00261/0.2758, allocations: 1.687 MB / 402.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.2766, allocations: 486.8 kB / 402.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.2767, allocations: 0 / 402.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.2769, allocations: 19.81 kB / 402.9 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.731e-05/0.277, allocations: 19.8 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.2772, allocations: 63.8 kB / 403 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.2774, allocations: 111.6 kB / 403.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2775, allocations: 29.11 kB / 403.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.2776, allocations: 43.78 kB / 403.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2777, allocations: 47.72 kB / 403.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.2777, allocations: 8 kB / 403.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.2778, allocations: 8 kB / 403.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.2778, allocations: 19.92 kB / 403.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.2779, allocations: 55.55 kB / 403.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.278, allocations: 89.09 kB / 403.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.278, allocations: 3.938 kB / 403.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.278, allocations: 0 / 403.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.278, allocations: 0 / 403.4 MB, free: 6.195 MB / 318.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.0005932/0.2786, allocations: 437.5 kB / 403.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2787, allocations: 15.88 kB / 403.8 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.2787, allocations: 16.75 kB / 403.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.279, allocations: 218.1 kB / 404.1 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.2791, allocations: 8 kB / 404.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.2791, allocations: 8 kB / 404.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.2794, allocations: 136.1 kB / 404.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2794, allocations: 0 / 404.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2794, allocations: 0 / 404.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.2794, allocations: 4 kB / 404.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.2796, allocations: 71.88 kB / 404.3 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.2804, allocations: 0.5476 MB / 404.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.2808, allocations: 134.5 kB / 405 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2809, allocations: 48.83 kB / 405 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2809, allocations: 7.984 kB / 405 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.281, allocations: 50.61 kB / 405.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.281, allocations: 0 / 405.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001113/0.2821, allocations: 0.5026 MB / 405.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2821, allocations: 59.34 kB / 405.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.2823, allocations: 146.2 kB / 405.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2823, allocations: 29.7 kB / 405.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.2824, allocations: 112 kB / 405.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.2824, allocations: 43.3 kB / 405.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.2825, allocations: 33.72 kB / 406 MB, free: 3.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2826, allocations: 326.8 kB / 406.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.2827, allocations: 47.95 kB / 406.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.2829, allocations: 83.39 kB / 406.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.2832, allocations: 139.2 kB / 406.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2832, allocations: 0 / 406.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000349/0.2835, allocations: 181.4 kB / 406.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2836, allocations: 4 kB / 406.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2836, allocations: 0 / 406.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2836, allocations: 4 kB / 406.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.2838, allocations: 39.91 kB / 406.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2838, allocations: 0 / 406.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.2839, allocations: 19.98 kB / 406.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2839, allocations: 8.094 kB / 406.8 MB, free: 2.461 MB / 318.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.0001073/0.284, allocations: 125.8 kB / 406.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.284, allocations: 15.75 kB / 407 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.2841, allocations: 16.7 kB / 407 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2841, allocations: 0 / 407 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2841, allocations: 0 / 407 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2841, allocations: 0 / 407 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.2848, allocations: 0.4921 MB / 407.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2848, allocations: 0 / 407.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.285, allocations: 31.97 kB / 407.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.285, allocations: 4.062 kB / 407.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.285, allocations: 7.938 kB / 407.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.285, allocations: 0 / 407.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.285, allocations: 4 kB / 407.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.2855, allocations: 324.9 kB / 407.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.2856, allocations: 89.05 kB / 407.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2856, allocations: 4 kB / 407.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2857, allocations: 11.98 kB / 407.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.2858, allocations: 15.92 kB / 407.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.2858, allocations: 4 kB / 407.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.484e-05/0.2859, allocations: 112.9 kB / 408.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2859, allocations: 0 / 408.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.2861, allocations: 23.98 kB / 408.1 MB, free: 1.078 MB / 318.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.0001087/0.2862, allocations: 107.7 kB / 408.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.2866, allocations: 128 kB / 408.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2866, allocations: 3.938 kB / 408.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.2868, allocations: 67.89 kB / 408.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.2872, allocations: 38.3 kB / 408.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.2878, allocations: 332.7 kB / 408.7 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2881, allocations: 0.7084 MB / 409.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.155e-05/0.2882, allocations: 21.42 kB / 409.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.2882, allocations: 15.44 kB / 409.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2882, allocations: 0 / 409.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of Templates: time 0.004149/0.2924, allocations: 1.735 MB / 411.2 MB, free: 13.89 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches