Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001395, allocations: 200.2 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007657/0.0007659, allocations: 96.62 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.0002331, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2331, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001618/0.2347, allocations: 1.37 MB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.2356, allocations: 0.6302 MB / 414 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.75e-05/0.2357, allocations: 4 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2358, allocations: 11.86 kB / 414.1 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.2359, allocations: 21.09 kB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.236, allocations: 43.97 kB / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.2362, allocations: 107.6 kB / 414.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.2363, allocations: 27.91 kB / 414.3 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.2364, allocations: 31.8 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2364, allocations: 47.66 kB / 414.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2365, allocations: 8.438 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.2365, allocations: 4 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.2365, allocations: 17.11 kB / 414.4 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.2366, allocations: 69.38 kB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.2367, allocations: 81.22 kB / 414.5 MB, free: 23.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2367, allocations: 4 kB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2367, allocations: 0 / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2367, allocations: 0 / 414.5 MB, free: 23.39 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.000445/0.2372, allocations: 419 kB / 414.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2372, allocations: 12.03 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.2373, allocations: 16.75 kB / 414.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.2375, allocations: 208.7 kB / 415.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.2375, allocations: 4.375 kB / 415.2 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.2375, allocations: 24.06 kB / 415.2 MB, free: 22.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.2378, allocations: 137.6 kB / 415.3 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2378, allocations: 4 kB / 415.3 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2378, allocations: 3.938 kB / 415.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2378, allocations: 0 / 415.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.238, allocations: 91.78 kB / 415.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.2386, allocations: 0.5516 MB / 416 MB, free: 21.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.2389, allocations: 150.5 kB / 416.1 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.239, allocations: 72.94 kB / 416.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.239, allocations: 4 kB / 416.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2391, allocations: 34.56 kB / 416.2 MB, free: 21.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2391, allocations: 0 / 416.2 MB, free: 21.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001014/0.2401, allocations: 0.5569 MB / 416.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.2401, allocations: 55.41 kB / 416.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2402, allocations: 152.4 kB / 417 MB, free: 20.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2403, allocations: 30.08 kB / 417 MB, free: 20.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.2403, allocations: 111.9 kB / 417.1 MB, free: 20.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.2403, allocations: 47.3 kB / 417.2 MB, free: 20.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.2404, allocations: 8 kB / 417.2 MB, free: 20.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.2404, allocations: 322.8 kB / 417.5 MB, free: 20.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2406, allocations: 63.95 kB / 417.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2407, allocations: 91.39 kB / 417.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.241, allocations: 155.2 kB / 417.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.241, allocations: 0 / 417.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003191/0.2413, allocations: 201.5 kB / 418 MB, free: 19.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2413, allocations: 8.938 kB / 418 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2413, allocations: 3.938 kB / 418 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2414, allocations: 7.938 kB / 418 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2415, allocations: 35.98 kB / 418 MB, free: 19.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2415, allocations: 7.969 kB / 418 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.2416, allocations: 27.98 kB / 418.1 MB, free: 19.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.2416, allocations: 4 kB / 418.1 MB, free: 19.52 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.758e-05/0.2417, allocations: 125.7 kB / 418.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.2417, allocations: 11.81 kB / 418.2 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.2418, allocations: 16.66 kB / 418.2 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2418, allocations: 3.984 kB / 418.2 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2418, allocations: 4 kB / 418.2 MB, free: 19.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2418, allocations: 0 / 418.2 MB, free: 19.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.2424, allocations: 0.5272 MB / 418.8 MB, free: 18.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2424, allocations: 0 / 418.8 MB, free: 18.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.2426, allocations: 40.05 kB / 418.8 MB, free: 18.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2426, allocations: 0 / 418.8 MB, free: 18.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.2426, allocations: 0 / 418.8 MB, free: 18.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2426, allocations: 7.984 kB / 418.8 MB, free: 18.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2426, allocations: 3.938 kB / 418.8 MB, free: 18.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.2431, allocations: 348.9 kB / 419.2 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.2431, allocations: 88.92 kB / 419.2 MB, free: 18.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.2431, allocations: 4 kB / 419.2 MB, free: 18.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2432, allocations: 24.03 kB / 419.3 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.2433, allocations: 11.98 kB / 419.3 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.2433, allocations: 4 kB / 419.3 MB, free: 18.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.956e-05/0.2434, allocations: 117.6 kB / 419.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2434, allocations: 0 / 419.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.2436, allocations: 20.09 kB / 419.4 MB, free: 18.07 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 9.284e-05/0.2437, allocations: 111.1 kB / 419.5 MB, free: 17.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.244, allocations: 148 kB / 419.7 MB, free: 17.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.244, allocations: 0 / 419.7 MB, free: 17.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2442, allocations: 79.89 kB / 419.8 MB, free: 17.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.2446, allocations: 36.16 kB / 419.8 MB, free: 17.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.2451, allocations: 375.7 kB / 420.2 MB, free: 17.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2452, allocations: 0.7126 MB / 420.9 MB, free: 16.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.2453, allocations: 17.42 kB / 420.9 MB, free: 16.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.2453, allocations: 11.44 kB / 420.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2453, allocations: 0 / 420.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of Templates: time 0.00337/0.2487, allocations: 1.501 MB / 422.4 MB, free: 15.03 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/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