Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 179 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.6 MB / 223.7 MB, free: 8.957 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007713/0.0007713, allocations: 91.88 kB / 272.1 MB, free: 8.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004183, allocations: 8 kB / 329 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 47.57 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001808/0.232, allocations: 1.357 MB / 377.9 MB, free: 44.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008504/0.2329, allocations: 0.4963 MB / 378.4 MB, free: 44.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.233, allocations: 6.125 kB / 378.5 MB, free: 44.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.495e-05/0.2331, allocations: 5.531 kB / 378.5 MB, free: 44.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.641e-05/0.2332, allocations: 21.22 kB / 378.5 MB, free: 44.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.2334, allocations: 44.8 kB / 378.5 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.2335, allocations: 108.8 kB / 378.6 MB, free: 44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2336, allocations: 27.48 kB / 378.7 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.2337, allocations: 43.47 kB / 378.7 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.2337, allocations: 39.25 kB / 378.7 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.2338, allocations: 3.875 kB / 378.7 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.2338, allocations: 3.5 kB / 378.7 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.2338, allocations: 17.92 kB / 378.8 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.2339, allocations: 71.69 kB / 378.8 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.688e-05/0.234, allocations: 87.91 kB / 378.9 MB, free: 43.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.234, allocations: 3.938 kB / 378.9 MB, free: 43.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.234, allocations: 0 / 378.9 MB, free: 43.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.234, allocations: 5.031 kB / 378.9 MB, free: 43.77 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.0004235/0.2344, allocations: 407.5 kB / 379.3 MB, free: 43.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2345, allocations: 10.12 kB / 379.3 MB, free: 43.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.2345, allocations: 15.56 kB / 379.3 MB, free: 43.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.2347, allocations: 211.7 kB / 379.6 MB, free: 43.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2347, allocations: 12.03 kB / 379.6 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.2348, allocations: 14.5 kB / 379.6 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.2351, allocations: 137.5 kB / 379.7 MB, free: 43.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2351, allocations: 9.234 kB / 379.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2351, allocations: 4 kB / 379.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2351, allocations: 2.594 kB / 379.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.2354, allocations: 77.48 kB / 379.8 MB, free: 42.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.2361, allocations: 0.5569 MB / 380.4 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.2364, allocations: 152.2 kB / 380.5 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2365, allocations: 67.56 kB / 380.6 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2366, allocations: 1.344 kB / 380.6 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.2366, allocations: 36.03 kB / 380.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.2366, allocations: 192 / 380.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001006/0.2376, allocations: 0.5669 MB / 381.2 MB, free: 41.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.2376, allocations: 56.88 kB / 381.2 MB, free: 41.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2377, allocations: 150.3 kB / 381.4 MB, free: 41.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.2378, allocations: 31.17 kB / 381.4 MB, free: 41.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.2378, allocations: 109.7 kB / 381.5 MB, free: 41.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2378, allocations: 51.8 kB / 381.6 MB, free: 41.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.2378, allocations: 0.9375 kB / 381.6 MB, free: 41.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.2379, allocations: 326.2 kB / 381.9 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.238, allocations: 61.67 kB / 381.9 MB, free: 41.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2382, allocations: 93.23 kB / 382 MB, free: 41.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.2385, allocations: 158.2 kB / 382.2 MB, free: 41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2385, allocations: 0 / 382.2 MB, free: 41 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003458/0.2388, allocations: 195.1 kB / 382.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2389, allocations: 6.719 kB / 382.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2389, allocations: 4.031 kB / 382.4 MB, free: 40.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2389, allocations: 6.375 kB / 382.4 MB, free: 40.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2391, allocations: 48.75 kB / 382.4 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2391, allocations: 1.438 kB / 382.5 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.959e-05/0.2392, allocations: 16.14 kB / 382.5 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2392, allocations: 4.438 kB / 382.5 MB, free: 40.88 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.519e-05/0.2392, allocations: 123.9 kB / 382.6 MB, free: 40.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.2393, allocations: 12.16 kB / 382.6 MB, free: 40.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.2393, allocations: 20.03 kB / 382.6 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2393, allocations: 5.297 kB / 382.6 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2393, allocations: 0 / 382.6 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.2393, allocations: 1.062 kB / 382.6 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.24, allocations: 0.5208 MB / 383.2 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.24, allocations: 3.984 kB / 383.2 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.2402, allocations: 42.03 kB / 383.2 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.2402, allocations: 1.219 kB / 383.2 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2402, allocations: 10.22 kB / 383.2 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2402, allocations: 1.031 kB / 383.2 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2402, allocations: 1.219 kB / 383.2 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.2407, allocations: 352.3 kB / 383.6 MB, free: 40.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.2408, allocations: 88.92 kB / 383.6 MB, free: 39.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.2408, allocations: 1.078 kB / 383.6 MB, free: 39.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2409, allocations: 20.92 kB / 383.7 MB, free: 39.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.241, allocations: 17.41 kB / 383.7 MB, free: 39.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.241, allocations: 2.875 kB / 383.7 MB, free: 39.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.61e-05/0.2411, allocations: 113.3 kB / 383.8 MB, free: 39.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2411, allocations: 0 / 383.8 MB, free: 39.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.2413, allocations: 19.59 kB / 383.8 MB, free: 39.8 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.401e-05/0.2414, allocations: 111.8 kB / 383.9 MB, free: 39.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.2417, allocations: 144.1 kB / 384.1 MB, free: 39.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2418, allocations: 5.625 kB / 384.1 MB, free: 39.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2419, allocations: 79.77 kB / 384.1 MB, free: 39.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.2423, allocations: 34.44 kB / 384.2 MB, free: 39.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.243, allocations: 399.1 kB / 384.6 MB, free: 39.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2431, allocations: 0.7098 MB / 385.3 MB, free: 38.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.737e-05/0.2432, allocations: 13.55 kB / 385.3 MB, free: 38.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.2432, allocations: 17.69 kB / 385.3 MB, free: 38.56 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2432, allocations: 1 kB / 385.3 MB, free: 38.56 MB / 298.7 MB Notification: Performance of Templates: time 0.003832/0.2471, allocations: 1.493 MB / 386.8 MB, free: 37.82 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches