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.001391/0.001391, allocations: 114.9 kB / 17.74 MB, free: 5.328 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.001433/0.001434, allocations: 188.5 kB / 18.67 MB, free: 4.402 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.348/1.348, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 55.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3181, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002874/0.321, allocations: 1.687 MB / 403.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008608/0.3219, allocations: 486.8 kB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.322, allocations: 3.938 kB / 403.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.3221, allocations: 11.88 kB / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.3222, allocations: 27.78 kB / 403.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.3224, allocations: 51.88 kB / 403.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3226, allocations: 123.5 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3227, allocations: 21.06 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.323e-05/0.3228, allocations: 47.78 kB / 403.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.3229, allocations: 47.72 kB / 403.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.323, allocations: 8 kB / 403.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.941e-05/0.323, allocations: 11.94 kB / 403.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.323, allocations: 19.92 kB / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.3231, allocations: 47.72 kB / 404 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.3232, allocations: 92.98 kB / 404.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3232, allocations: 0 / 404.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3233, allocations: 0 / 404.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3233, allocations: 0 / 404.1 MB, free: 6.203 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.0006171/0.3239, allocations: 430.7 kB / 404.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3239, allocations: 12.03 kB / 404.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.324, allocations: 16.73 kB / 404.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3243, allocations: 229.6 kB / 404.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3243, allocations: 8 kB / 404.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.3243, allocations: 8 kB / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.3246, allocations: 132.2 kB / 404.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3246, allocations: 0 / 404.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3247, allocations: 4 kB / 404.9 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3247, allocations: 4 kB / 404.9 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.3248, allocations: 71.88 kB / 405 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.3256, allocations: 0.5437 MB / 405.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3259, allocations: 138.4 kB / 405.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.326, allocations: 56.83 kB / 405.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3261, allocations: 0 / 405.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3261, allocations: 38.48 kB / 405.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3261, allocations: 0 / 405.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001085/0.3272, allocations: 0.5067 MB / 406.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3272, allocations: 59.41 kB / 406.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3274, allocations: 150.2 kB / 406.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3274, allocations: 29.8 kB / 406.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.3275, allocations: 108 kB / 406.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.3275, allocations: 51.23 kB / 406.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.3276, allocations: 29.72 kB / 406.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3277, allocations: 322.8 kB / 407 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3279, allocations: 55.95 kB / 407 MB, free: 2.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.328, allocations: 83.3 kB / 407.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.3283, allocations: 134.7 kB / 407.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3283, allocations: 0 / 407.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003639/0.3287, allocations: 185.4 kB / 407.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3287, allocations: 4 kB / 407.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3287, allocations: 4 kB / 407.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3287, allocations: 0 / 407.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3289, allocations: 35.97 kB / 407.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3289, allocations: 4 kB / 407.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.329, allocations: 15.98 kB / 407.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.329, allocations: 4 kB / 407.5 MB, free: 2.477 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.0001199/0.3292, allocations: 125.8 kB / 407.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.3292, allocations: 15.75 kB / 407.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.3292, allocations: 20.7 kB / 407.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3293, allocations: 0 / 407.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3293, allocations: 0 / 407.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3293, allocations: 4 kB / 407.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.33, allocations: 496 kB / 408.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.33, allocations: 4 kB / 408.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3302, allocations: 35.97 kB / 408.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3302, allocations: 0 / 408.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3302, allocations: 0 / 408.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3302, allocations: 7.938 kB / 408.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3302, allocations: 4.062 kB / 408.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.3308, allocations: 320.8 kB / 408.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.3308, allocations: 85.06 kB / 408.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.3309, allocations: 7.984 kB / 408.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.331, allocations: 11.98 kB / 408.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.3311, allocations: 23.86 kB / 408.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.3311, allocations: 96 / 408.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.277e-05/0.3312, allocations: 112.8 kB / 408.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3312, allocations: 0 / 408.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3314, allocations: 28 kB / 408.8 MB, free: 1.086 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.0001189/0.3315, allocations: 103.7 kB / 408.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.3319, allocations: 119.9 kB / 409 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3319, allocations: 0 / 409 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3321, allocations: 76.02 kB / 409.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3325, allocations: 40.12 kB / 409.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.3332, allocations: 354.3 kB / 409.4 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.3335, allocations: 0.7123 MB / 410.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.3336, allocations: 15.44 kB / 410.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3336, allocations: 0 / 410.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of Templates: time 0.003912/0.3375, allocations: 1.715 MB / 411.9 MB, free: 13.9 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/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_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches