Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008305/0.0008306, allocations: 186.4 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 225.7 MB / 243.2 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007107/0.0007109, allocations: 95.69 kB / 294.4 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002341, allocations: 11.94 kB / 354.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1885, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001266/0.1898, allocations: 1.363 MB / 405.9 MB, free: 29.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005507/0.1904, allocations: 456.6 kB / 406.4 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.1905, allocations: 4 kB / 406.4 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.048e-05/0.1906, allocations: 11.92 kB / 406.4 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.1906, allocations: 17.11 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.1908, allocations: 43.89 kB / 406.4 MB, free: 29.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1909, allocations: 112.1 kB / 406.6 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.191, allocations: 24.31 kB / 406.6 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.1911, allocations: 35.8 kB / 406.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.1911, allocations: 43.72 kB / 406.7 MB, free: 29.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1911, allocations: 4 kB / 406.7 MB, free: 29.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.1912, allocations: 4 kB / 406.7 MB, free: 29.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.1912, allocations: 22.14 kB / 406.7 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.1912, allocations: 65.42 kB / 406.8 MB, free: 29.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.425e-05/0.1913, allocations: 89.11 kB / 406.8 MB, free: 29.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1913, allocations: 0 / 406.8 MB, free: 29.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1913, allocations: 0 / 406.8 MB, free: 29.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1914, allocations: 0 / 406.8 MB, free: 29.08 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.0003857/0.1917, allocations: 423 kB / 407.3 MB, free: 28.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1918, allocations: 12.03 kB / 407.3 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.1918, allocations: 12.75 kB / 407.3 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.192, allocations: 209.8 kB / 407.5 MB, free: 28.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.192, allocations: 11.94 kB / 407.5 MB, free: 28.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.192, allocations: 16 kB / 407.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.1923, allocations: 142 kB / 407.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1923, allocations: 0 / 407.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1923, allocations: 8 kB / 407.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1923, allocations: 4 kB / 407.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1925, allocations: 83.78 kB / 407.7 MB, free: 28.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.193, allocations: 0.5516 MB / 408.3 MB, free: 27.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.1933, allocations: 158.5 kB / 408.4 MB, free: 27.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1934, allocations: 64.81 kB / 408.5 MB, free: 27.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.1935, allocations: 4 kB / 408.5 MB, free: 27.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.1935, allocations: 38.69 kB / 408.6 MB, free: 27.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1935, allocations: 0 / 408.6 MB, free: 27.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.000898/0.1944, allocations: 0.5603 MB / 409.1 MB, free: 26.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.1944, allocations: 56.28 kB / 409.2 MB, free: 26.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.1945, allocations: 152.9 kB / 409.3 MB, free: 26.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.1945, allocations: 29.7 kB / 409.3 MB, free: 26.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.1946, allocations: 115.8 kB / 409.5 MB, free: 26.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1946, allocations: 47.3 kB / 409.5 MB, free: 26.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.1946, allocations: 4 kB / 409.5 MB, free: 26.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.1947, allocations: 326.8 kB / 409.8 MB, free: 25.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1948, allocations: 59.97 kB / 409.9 MB, free: 25.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1949, allocations: 87.39 kB / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1952, allocations: 155.3 kB / 410.1 MB, free: 25.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1952, allocations: 7.938 kB / 410.1 MB, free: 25.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003074/0.1955, allocations: 189.4 kB / 410.3 MB, free: 25.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1955, allocations: 4 kB / 410.3 MB, free: 25.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1955, allocations: 4 kB / 410.3 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1956, allocations: 0 / 410.3 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1957, allocations: 48 kB / 410.4 MB, free: 25.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1957, allocations: 7.938 kB / 410.4 MB, free: 25.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.1958, allocations: 19.98 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1958, allocations: 4 kB / 410.4 MB, free: 25.21 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 5.956e-05/0.1959, allocations: 129.7 kB / 410.5 MB, free: 25.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1959, allocations: 19.75 kB / 410.6 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.196, allocations: 16.7 kB / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.196, allocations: 4 kB / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.196, allocations: 0 / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.196, allocations: 0 / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.1966, allocations: 0.5194 MB / 411.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1966, allocations: 0 / 411.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.1968, allocations: 39.97 kB / 411.1 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1968, allocations: 0 / 411.1 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1968, allocations: 12.06 kB / 411.1 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1968, allocations: 0 / 411.1 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1968, allocations: 0 / 411.1 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.1972, allocations: 348.9 kB / 411.5 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.1973, allocations: 92.95 kB / 411.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1973, allocations: 4 kB / 411.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1974, allocations: 19.98 kB / 411.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.1974, allocations: 11.98 kB / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1975, allocations: 11.94 kB / 411.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.1975, allocations: 113.5 kB / 411.7 MB, free: 23.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1975, allocations: 0 / 411.7 MB, free: 23.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000205/0.1977, allocations: 24 kB / 411.8 MB, free: 23.75 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 6.555e-05/0.1978, allocations: 107.2 kB / 411.9 MB, free: 23.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.1981, allocations: 143.9 kB / 412 MB, free: 23.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1981, allocations: 96 / 412 MB, free: 23.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1983, allocations: 84.14 kB / 412.1 MB, free: 23.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1986, allocations: 35.97 kB / 412.1 MB, free: 23.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.1991, allocations: 389.7 kB / 412.5 MB, free: 22.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1992, allocations: 0.7087 MB / 413.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.1993, allocations: 13.42 kB / 413.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.1993, allocations: 19.38 kB / 413.2 MB, free: 22.2 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1993, allocations: 0 / 413.2 MB, free: 22.2 MB / 298.7 MB Notification: Performance of Templates: time 0.003071/0.2024, allocations: 1.515 MB / 414.8 MB, free: 20.69 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/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