Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00175/0.00175, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 101.9 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009548/0.0009548, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1904, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002131/0.1926, allocations: 1.731 MB / 408.8 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006493/0.1933, allocations: 0.5133 MB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.1934, allocations: 4 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.389e-05/0.1935, allocations: 11.86 kB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.1935, allocations: 19.84 kB / 409.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.1937, allocations: 51.52 kB / 409.4 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.1938, allocations: 107.6 kB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.741e-05/0.1939, allocations: 29.09 kB / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.1939, allocations: 27.86 kB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.194, allocations: 55.64 kB / 409.6 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.194, allocations: 8 kB / 409.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.194, allocations: 4 kB / 409.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.1941, allocations: 15.92 kB / 409.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.1941, allocations: 47.67 kB / 409.7 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.442e-05/0.1942, allocations: 81.23 kB / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1942, allocations: 0 / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1942, allocations: 3.938 kB / 409.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1942, allocations: 4 kB / 409.8 MB, free: 25.11 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.0003992/0.1946, allocations: 427 kB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.1947, allocations: 12.03 kB / 410.2 MB, free: 24.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.1947, allocations: 12.75 kB / 410.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1948, allocations: 220.1 kB / 410.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1949, allocations: 12.31 kB / 410.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1949, allocations: 16.12 kB / 410.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.1951, allocations: 130.6 kB / 410.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1952, allocations: 0 / 410.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1952, allocations: 4 kB / 410.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1952, allocations: 4 kB / 410.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.1954, allocations: 67.73 kB / 410.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.1959, allocations: 0.5477 MB / 411.2 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.1962, allocations: 142.4 kB / 411.3 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1963, allocations: 56.81 kB / 411.4 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1963, allocations: 4 kB / 411.4 MB, free: 23.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.1963, allocations: 30.56 kB / 411.4 MB, free: 23.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1963, allocations: 0 / 411.4 MB, free: 23.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.00091/0.1973, allocations: 0.5019 MB / 411.9 MB, free: 22.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.1973, allocations: 55.41 kB / 412 MB, free: 22.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.1974, allocations: 156.2 kB / 412.1 MB, free: 22.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.1974, allocations: 29.7 kB / 412.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.1974, allocations: 111.9 kB / 412.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.1975, allocations: 43.3 kB / 412.3 MB, free: 22.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.1975, allocations: 37.7 kB / 412.3 MB, free: 22.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.699e-05/0.1976, allocations: 322.8 kB / 412.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1977, allocations: 55.95 kB / 412.7 MB, free: 21.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1978, allocations: 79.14 kB / 412.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.1981, allocations: 139.2 kB / 412.9 MB, free: 21.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1981, allocations: 0 / 412.9 MB, free: 21.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003139/0.1984, allocations: 181.3 kB / 413.1 MB, free: 21.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1984, allocations: 8.094 kB / 413.1 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1984, allocations: 3.938 kB / 413.1 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1985, allocations: 4 kB / 413.1 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.1986, allocations: 35.97 kB / 413.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1986, allocations: 0 / 413.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.1987, allocations: 15.98 kB / 413.2 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1987, allocations: 7.938 kB / 413.2 MB, free: 21.39 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.516e-05/0.1988, allocations: 131.2 kB / 413.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1988, allocations: 11.91 kB / 413.3 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.1989, allocations: 20.66 kB / 413.3 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1989, allocations: 0 / 413.3 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1989, allocations: 4 kB / 413.3 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1989, allocations: 3.984 kB / 413.3 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005979/0.1995, allocations: 0.4921 MB / 413.8 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1995, allocations: 0 / 413.8 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.1996, allocations: 27.98 kB / 413.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1997, allocations: 4 kB / 413.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1997, allocations: 3.984 kB / 413.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1997, allocations: 8 kB / 413.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1997, allocations: 4 kB / 413.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.2016, allocations: 1.607 MB / 415.5 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.2016, allocations: 88.92 kB / 415.6 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.2017, allocations: 8 kB / 415.6 MB, free: 18.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.2018, allocations: 8.031 kB / 415.6 MB, free: 18.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.2018, allocations: 23.91 kB / 415.6 MB, free: 18.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2018, allocations: 4 kB / 415.6 MB, free: 18.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.875e-05/0.2019, allocations: 108.5 kB / 415.7 MB, free: 18.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2019, allocations: 4 kB / 415.7 MB, free: 18.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.2022, allocations: 24 kB / 415.8 MB, free: 18.57 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 8.303e-05/0.2023, allocations: 107.2 kB / 415.9 MB, free: 18.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.2026, allocations: 121.1 kB / 416 MB, free: 18.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2026, allocations: 0 / 416 MB, free: 18.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2028, allocations: 67.89 kB / 416 MB, free: 18.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.2032, allocations: 41.44 kB / 416.1 MB, free: 18.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.2038, allocations: 0.4928 MB / 416.6 MB, free: 17.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.204, allocations: 0.7127 MB / 417.3 MB, free: 16.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.204, allocations: 13.42 kB / 417.3 MB, free: 16.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.2041, allocations: 15.44 kB / 417.3 MB, free: 16.93 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2041, allocations: 4 kB / 417.3 MB, free: 16.93 MB / 298.7 MB Notification: Performance of Templates: time 0.00346/0.2075, allocations: 1.766 MB / 419.1 MB, free: 15.18 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches