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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 106 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009688/0.0009693, allocations: 43.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.239, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002377/0.2414, allocations: 1.724 MB / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.2422, allocations: 482.2 kB / 401.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.2423, allocations: 0 / 401.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2424, allocations: 11.86 kB / 401.7 MB, free: 31.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.2425, allocations: 19.86 kB / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.2426, allocations: 43.89 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.2428, allocations: 111.6 kB / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.2429, allocations: 29.09 kB / 401.9 MB, free: 30.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.2429, allocations: 39.84 kB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.243, allocations: 51.64 kB / 402 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.243, allocations: 4 kB / 402 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.2431, allocations: 4 kB / 402 MB, free: 30.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.2431, allocations: 19.92 kB / 402 MB, free: 30.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.2431, allocations: 39.69 kB / 402 MB, free: 30.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.355e-05/0.2432, allocations: 93.17 kB / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2432, allocations: 4 kB / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2433, allocations: 0 / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.2433, allocations: 3.938 kB / 402.1 MB, free: 30.71 MB / 298.7 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.0004518/0.2437, allocations: 427 kB / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2438, allocations: 12.03 kB / 402.6 MB, free: 30.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.2438, allocations: 16.75 kB / 402.6 MB, free: 30.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.244, allocations: 208.6 kB / 402.8 MB, free: 29.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.244, allocations: 15.94 kB / 402.8 MB, free: 29.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.244, allocations: 12 kB / 402.8 MB, free: 29.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.2443, allocations: 124.2 kB / 402.9 MB, free: 29.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2443, allocations: 0 / 402.9 MB, free: 29.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2443, allocations: 12 kB / 402.9 MB, free: 29.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2443, allocations: 0 / 402.9 MB, free: 29.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2445, allocations: 75.88 kB / 403 MB, free: 29.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.245, allocations: 0.5515 MB / 403.6 MB, free: 29.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.2453, allocations: 126.4 kB / 403.7 MB, free: 28.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.2455, allocations: 56.81 kB / 403.7 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.2455, allocations: 7.938 kB / 403.8 MB, free: 28.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.2455, allocations: 34.56 kB / 403.8 MB, free: 28.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.2455, allocations: 0 / 403.8 MB, free: 28.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009052/0.2464, allocations: 0.5097 MB / 404.3 MB, free: 28.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2464, allocations: 51.41 kB / 404.3 MB, free: 28.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.2465, allocations: 148.5 kB / 404.5 MB, free: 28.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.2466, allocations: 29.7 kB / 404.5 MB, free: 28.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.2466, allocations: 116.7 kB / 404.6 MB, free: 27.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.2466, allocations: 51.28 kB / 404.7 MB, free: 27.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.2467, allocations: 33.7 kB / 404.7 MB, free: 27.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.916e-05/0.2467, allocations: 322.8 kB / 405 MB, free: 27.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.2468, allocations: 51.95 kB / 405.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.247, allocations: 83.39 kB / 405.2 MB, free: 27.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.2472, allocations: 127.3 kB / 405.3 MB, free: 27.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2472, allocations: 0 / 405.3 MB, free: 27.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003058/0.2476, allocations: 186.5 kB / 405.5 MB, free: 27.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2476, allocations: 8 kB / 405.5 MB, free: 27.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2476, allocations: 3.938 kB / 405.5 MB, free: 27.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2476, allocations: 0 / 405.5 MB, free: 27.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2477, allocations: 39.97 kB / 405.5 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2478, allocations: 4.094 kB / 405.5 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.2478, allocations: 15.98 kB / 405.5 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.2479, allocations: 4 kB / 405.5 MB, free: 26.99 MB / 298.7 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 6.838e-05/0.2479, allocations: 125.7 kB / 405.7 MB, free: 26.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.248, allocations: 19.75 kB / 405.7 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.248, allocations: 12.72 kB / 405.7 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.248, allocations: 4 kB / 405.7 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.248, allocations: 0 / 405.7 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.248, allocations: 7.984 kB / 405.7 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.2486, allocations: 499.9 kB / 406.2 MB, free: 26.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2486, allocations: 0 / 406.2 MB, free: 26.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.2488, allocations: 35.91 kB / 406.2 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2488, allocations: 0 / 406.2 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2488, allocations: 8 kB / 406.2 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2488, allocations: 0 / 406.2 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2488, allocations: 4 kB / 406.2 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.2507, allocations: 1.607 MB / 407.9 MB, free: 24.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.2508, allocations: 88.92 kB / 407.9 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2508, allocations: 12.03 kB / 408 MB, free: 24.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.2509, allocations: 15.92 kB / 408 MB, free: 24.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.251, allocations: 11.98 kB / 408 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.251, allocations: 4 kB / 408 MB, free: 24.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.96e-05/0.251, allocations: 118.1 kB / 408.1 MB, free: 24.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.251, allocations: 0 / 408.1 MB, free: 24.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003472/0.2514, allocations: 28 kB / 408.1 MB, free: 24.18 MB / 298.7 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 7.551e-05/0.2515, allocations: 103.2 kB / 408.2 MB, free: 24.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.2518, allocations: 119.9 kB / 408.3 MB, free: 23.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2518, allocations: 0 / 408.3 MB, free: 23.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2519, allocations: 76.23 kB / 408.4 MB, free: 23.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.2523, allocations: 40.11 kB / 408.5 MB, free: 23.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.2529, allocations: 0.501 MB / 409 MB, free: 23.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.253, allocations: 0.7166 MB / 409.7 MB, free: 22.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.337e-05/0.2531, allocations: 13.42 kB / 409.7 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.2531, allocations: 15.44 kB / 409.7 MB, free: 22.52 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2531, allocations: 0 / 409.7 MB, free: 22.52 MB / 298.7 MB Notification: Performance of Templates: time 0.003423/0.2566, allocations: 1.767 MB / 411.5 MB, free: 20.78 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches