Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002645, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002483, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.057/1.057, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08187/1.139, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.436e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001764/0.001779, allocations: 1.755 MB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005617/0.00234, allocations: 0.5103 MB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.002409, allocations: 11.94 kB / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.082e-05/0.00246, allocations: 15.86 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.002521, allocations: 31.72 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.664e-05/0.002618, allocations: 43.94 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.002748, allocations: 119.5 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.002829, allocations: 21.89 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.002917, allocations: 75.81 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.002981, allocations: 31.83 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003002, allocations: 8 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.003012, allocations: 12 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.003029, allocations: 15.94 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.003055, allocations: 19.94 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.498e-05/0.00315, allocations: 59.7 kB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.003164, allocations: 7.984 kB / 247.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003164, allocations: 0 / 247.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.003177, allocations: 3.938 kB / 247.3 MB, free: 11.57 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.0003842/0.003561, allocations: 336.1 kB / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.003589, allocations: 8.031 kB / 247.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.00362, allocations: 16.92 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.003766, allocations: 158.1 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.003785, allocations: 4.375 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.003806, allocations: 12.38 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.00394, allocations: 116.4 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.003949, allocations: 7.922 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.003957, allocations: 4 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.003962, allocations: 4 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.004001, allocations: 31.05 kB / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.004355, allocations: 404.2 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/0.004443, allocations: 54.55 kB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.004468, allocations: 28.97 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.004475, allocations: 0 / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.004494, allocations: 34.56 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.004495, allocations: 0 / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006259/0.005121, allocations: 281 kB / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.005148, allocations: 51.41 kB / 248.8 MB, free: 9.902 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.005222, allocations: 149.9 kB / 248.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.005233, allocations: 29.7 kB / 249 MB, free: 9.711 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.005278, allocations: 104 kB / 249.1 MB, free: 9.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.005307, allocations: 47.56 kB / 249.1 MB, free: 9.559 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.005341, allocations: 37.69 kB / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.005408, allocations: 326.8 kB / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.005424, allocations: 8 kB / 249.5 MB, free: 9.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.005456, allocations: 51.39 kB / 249.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.005511, allocations: 71.27 kB / 249.6 MB, free: 9.035 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.005512, allocations: 0 / 249.6 MB, free: 9.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.104e-05/0.005593, allocations: 93.53 kB / 249.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.005603, allocations: 4 kB / 249.7 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005608, allocations: 4 kB / 249.7 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.005617, allocations: 4.094 kB / 249.7 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.005705, allocations: 39.97 kB / 249.7 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.005709, allocations: 4 kB / 249.7 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.005736, allocations: 4 kB / 249.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.005743, allocations: 4 kB / 249.7 MB, free: 8.875 MB / 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 5.445e-05/0.005797, allocations: 125.7 kB / 249.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.005815, allocations: 11.98 kB / 249.9 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.005844, allocations: 16.78 kB / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005845, allocations: 0 / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.005847, allocations: 0 / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.005851, allocations: 11.98 kB / 249.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.006107, allocations: 288.2 kB / 250.2 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006109, allocations: 0 / 250.2 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.006187, allocations: 35.97 kB / 250.2 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.006199, allocations: 11.91 kB / 250.2 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.0062, allocations: 0 / 250.2 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.006208, allocations: 4 kB / 250.2 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.00621, allocations: 3.938 kB / 250.2 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.006212, allocations: 8 kB / 250.2 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.006342, allocations: 205.1 kB / 250.4 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.006353, allocations: 4 kB / 250.4 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.006395, allocations: 4 kB / 250.5 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.006425, allocations: 19.91 kB / 250.5 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.006431, allocations: 8 kB / 250.5 MB, free: 8.066 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.476e-05/0.006455, allocations: 32.83 kB / 250.5 MB, free: 8.031 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006455, allocations: 0 / 250.5 MB, free: 8.031 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000132/0.006587, allocations: 20 kB / 250.5 MB, free: 8.012 MB / 250.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.151e-05/0.006649, allocations: 88.34 kB / 250.6 MB, free: 7.918 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.315e-05/0.006732, allocations: 52.78 kB / 250.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.006737, allocations: 4 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.00677, allocations: 36.77 kB / 250.7 MB, free: 7.82 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.006967, allocations: 49.17 kB / 250.8 MB, free: 7.773 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.007558, allocations: 287.2 kB / 251 MB, free: 7.457 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.65e-05/0.007595, allocations: 71.84 kB / 251.1 MB, free: 7.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.796e-05/0.007633, allocations: 13.48 kB / 251.1 MB, free: 7.355 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.007707, allocations: 79.36 kB / 251.2 MB, free: 7.277 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007707, allocations: 0 / 251.2 MB, free: 7.277 MB / 250.7 MB Notification: Performance of Templates: time 0.003391/0.0111, allocations: 2.06 MB / 253.3 MB, free: 5.27 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5273064505308867]