Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002611/0.002611, allocations: 91.92 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002882/0.002882, allocations: 145.1 kB / 24.26 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.073e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002952/0.002973, allocations: 1.66 MB / 269 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.003924, allocations: 486.6 kB / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.004008, allocations: 7.938 kB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.004124, allocations: 15.8 kB / 269.5 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.018e-05/0.004214, allocations: 31.78 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.004378, allocations: 47.88 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.004587, allocations: 127.5 kB / 269.7 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.004688, allocations: 13.3 kB / 269.7 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.004797, allocations: 59.83 kB / 269.7 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.004892, allocations: 39.81 kB / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.004918, allocations: 12 kB / 269.8 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.004938, allocations: 8 kB / 269.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.004967, allocations: 19.86 kB / 269.8 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.005019, allocations: 23.94 kB / 269.8 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.005198, allocations: 99.61 kB / 269.9 MB, free: 4.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.0052, allocations: 3.938 kB / 269.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005201, allocations: 0 / 269.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.005204, allocations: 0 / 269.9 MB, free: 4.09 MB / 250.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.0006473/0.005851, allocations: 443.8 kB / 270.4 MB, free: 3.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.005885, allocations: 12.92 kB / 270.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.005955, allocations: 24.84 kB / 270.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.006439, allocations: 172.8 kB / 270.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.006461, allocations: 8.375 kB / 270.6 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.006489, allocations: 7.938 kB / 270.6 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.006769, allocations: 136.7 kB / 270.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.006783, allocations: 0 / 270.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.006794, allocations: 0 / 270.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.006803, allocations: 4 kB / 270.7 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.006994, allocations: 63.89 kB / 270.8 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.007849, allocations: 0.6302 MB / 271.4 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.008165, allocations: 111 kB / 271.5 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.008294, allocations: 47.66 kB / 271.6 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.008314, allocations: 8 kB / 271.6 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.008347, allocations: 37.39 kB / 271.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.008348, allocations: 0 / 271.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.001048/0.009396, allocations: 421.3 kB / 272 MB, free: 1.805 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.009443, allocations: 51.41 kB / 272.1 MB, free: 1.742 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.009664, allocations: 225.8 kB / 272.3 MB, free: 1.504 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.009686, allocations: 29.7 kB / 272.3 MB, free: 1.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.009805, allocations: 162.8 kB / 272.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.009861, allocations: 47.58 kB / 272.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.00993, allocations: 39.38 kB / 272.6 MB, free: 1.211 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002753/0.01021, allocations: 0.4962 MB / 273.1 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.01033, allocations: 39.97 kB / 273.1 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.0105, allocations: 89.53 kB / 273.2 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.01077, allocations: 133.9 kB / 273.3 MB, free: 428 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01077, allocations: 0 / 273.3 MB, free: 428 kB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003621/0.01113, allocations: 169.4 kB / 273.5 MB, free: 252 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01115, allocations: 8 kB / 273.5 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01116, allocations: 0 / 273.5 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.01117, allocations: 8.031 kB / 273.5 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.01133, allocations: 31.98 kB / 273.5 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01133, allocations: 0 / 273.5 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.0114, allocations: 11.98 kB / 273.6 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.01141, allocations: 4 kB / 273.6 MB, free: 188 kB / 250.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 0.0001319/0.01154, allocations: 172.5 kB / 273.7 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.0116, allocations: 15.98 kB / 273.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.01164, allocations: 12.78 kB / 273.8 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.01165, allocations: 7.938 kB / 273.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.01165, allocations: 7.938 kB / 273.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01165, allocations: 3.938 kB / 273.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.01244, allocations: 480.5 kB / 274.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.01245, allocations: 4 kB / 274.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.0126, allocations: 27.92 kB / 274.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.0126, allocations: 4 kB / 274.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.01262, allocations: 8.047 kB / 274.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01262, allocations: 4 kB / 274.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01262, allocations: 4 kB / 274.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.01319, allocations: 351.1 kB / 274.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.01321, allocations: 11.91 kB / 274.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.01323, allocations: 4 kB / 274.7 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.01333, allocations: 15.92 kB / 274.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.01338, allocations: 11.98 kB / 274.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.01339, allocations: 11.94 kB / 274.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.01352, allocations: 161 kB / 274.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01352, allocations: 0 / 274.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.01377, allocations: 24 kB / 274.9 MB, free: 14.78 MB / 266.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 0.0001184/0.01389, allocations: 95.23 kB / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.01422, allocations: 119.5 kB / 275.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01423, allocations: 4.188 kB / 275.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.01438, allocations: 63.59 kB / 275.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.0148, allocations: 43.91 kB / 275.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.01544, allocations: 311.2 kB / 275.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.01556, allocations: 102.9 kB / 275.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.178e-05/0.01562, allocations: 13.48 kB / 275.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.01566, allocations: 16.5 kB / 275.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01566, allocations: 0 / 275.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of Templates: time 0.005787/0.02145, allocations: 1.894 MB / 277.5 MB, free: 12.1 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.428308326052502]