Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009123/0.0009122, allocations: 177.2 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007086/0.0007086, allocations: 87.98 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2019, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001593/0.2036, allocations: 1.354 MB / 375.9 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007107/0.2043, allocations: 0.4951 MB / 376.4 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.249e-05/0.2044, allocations: 2.75 kB / 376.4 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.491e-05/0.2045, allocations: 3.938 kB / 376.4 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.629e-05/0.2046, allocations: 22.55 kB / 376.4 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.2047, allocations: 36.2 kB / 376.4 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.2049, allocations: 103.5 kB / 376.5 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.205, allocations: 31.12 kB / 376.6 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.205, allocations: 32.05 kB / 376.6 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.2051, allocations: 45.8 kB / 376.7 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.2051, allocations: 4.125 kB / 376.7 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.2051, allocations: 4.312 kB / 376.7 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.2052, allocations: 14.3 kB / 376.7 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.2052, allocations: 39.89 kB / 376.7 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.568e-05/0.2053, allocations: 55.5 kB / 376.8 MB, free: 43.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2053, allocations: 5.344 kB / 376.8 MB, free: 43.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2053, allocations: 0 / 376.8 MB, free: 43.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.2053, allocations: 0 / 376.8 MB, free: 43.69 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.0004406/0.2058, allocations: 416.6 kB / 377.2 MB, free: 43.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2058, allocations: 9.188 kB / 377.2 MB, free: 43.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.2058, allocations: 18 kB / 377.2 MB, free: 43.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.206, allocations: 211.7 kB / 377.4 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2061, allocations: 12.83 kB / 377.4 MB, free: 43.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.2061, allocations: 6 kB / 377.4 MB, free: 43.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2064, allocations: 148.5 kB / 377.6 MB, free: 42.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2064, allocations: 5.344 kB / 377.6 MB, free: 42.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2064, allocations: 9.047 kB / 377.6 MB, free: 42.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.2064, allocations: 2.188 kB / 377.6 MB, free: 42.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.2066, allocations: 77.27 kB / 377.7 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.2072, allocations: 0.5522 MB / 378.2 MB, free: 42.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.2076, allocations: 153 kB / 378.4 MB, free: 42.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2078, allocations: 71.86 kB / 378.4 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.2078, allocations: 1.438 kB / 378.4 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2078, allocations: 35.94 kB / 378.5 MB, free: 42.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.2078, allocations: 3.938 kB / 378.5 MB, free: 42.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001059/0.2089, allocations: 0.5587 MB / 379 MB, free: 41.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.2089, allocations: 53 kB / 379.1 MB, free: 41.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.209, allocations: 152.2 kB / 379.2 MB, free: 41.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.209, allocations: 25.7 kB / 379.3 MB, free: 41.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.2091, allocations: 114.7 kB / 379.4 MB, free: 41.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2091, allocations: 43.42 kB / 379.4 MB, free: 41.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.2091, allocations: 5.188 kB / 379.4 MB, free: 41.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.2092, allocations: 322.1 kB / 379.7 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2093, allocations: 73.42 kB / 379.8 MB, free: 41.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.2095, allocations: 93.08 kB / 379.9 MB, free: 41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.2097, allocations: 63.94 kB / 380 MB, free: 40.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2097, allocations: 1.375 kB / 380 MB, free: 40.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003631/0.21, allocations: 201.7 kB / 380.2 MB, free: 40.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2101, allocations: 5.469 kB / 380.2 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2101, allocations: 4.859 kB / 380.2 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2101, allocations: 1.719 kB / 380.2 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2103, allocations: 45.36 kB / 380.2 MB, free: 40.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2103, allocations: 5.344 kB / 380.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.2104, allocations: 16.58 kB / 380.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.2104, allocations: 8.594 kB / 380.3 MB, free: 40.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.2105, allocations: 122.8 kB / 380.4 MB, free: 40.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.2105, allocations: 12.89 kB / 380.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.2105, allocations: 15.97 kB / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2105, allocations: 5.031 kB / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2106, allocations: 1.062 kB / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2106, allocations: 0.9375 kB / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006825/0.2113, allocations: 0.5244 MB / 380.9 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2113, allocations: 1.5 kB / 380.9 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.2114, allocations: 33.27 kB / 381 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2114, allocations: 1.25 kB / 381 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2115, allocations: 9.188 kB / 381 MB, free: 40.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2115, allocations: 1.406 kB / 381 MB, free: 40.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2115, allocations: 1.125 kB / 381 MB, free: 40.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.212, allocations: 365.4 kB / 381.3 MB, free: 39.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.212, allocations: 88.42 kB / 381.4 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.2121, allocations: 5.219 kB / 381.4 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2122, allocations: 21 kB / 381.4 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.2122, allocations: 12.11 kB / 381.5 MB, free: 39.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2123, allocations: 4.188 kB / 381.5 MB, free: 39.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.901e-05/0.2123, allocations: 118.9 kB / 381.6 MB, free: 39.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2123, allocations: 0 / 381.6 MB, free: 39.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.2126, allocations: 20.38 kB / 381.6 MB, free: 39.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.866e-05/0.2126, allocations: 100.5 kB / 381.7 MB, free: 39.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003515/0.213, allocations: 145.7 kB / 381.8 MB, free: 39.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.213, allocations: 4 kB / 381.8 MB, free: 39.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.2132, allocations: 72.88 kB / 381.9 MB, free: 39.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.2136, allocations: 37.77 kB / 382 MB, free: 39.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.2141, allocations: 410.7 kB / 382.4 MB, free: 39.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2143, allocations: 0.7108 MB / 383.1 MB, free: 38.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.2143, allocations: 15.16 kB / 383.1 MB, free: 38.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2143, allocations: 0 / 383.1 MB, free: 38.52 MB / 298.7 MB Notification: Performance of Templates: time 0.002921/0.2172, allocations: 1.661 MB / 384.7 MB, free: 37.68 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches