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.001314/0.001314, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001509/0.001509, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.001/1.001, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.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.122e-06/1.122e-06, allocations: 0 / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.8e-05, allocations: 2.875 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002138/0.002156, allocations: 1.692 MB / 275.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007077/0.002864, allocations: 0.5039 MB / 276.4 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.002945, allocations: 4.438 kB / 276.4 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.003052, allocations: 20.58 kB / 276.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.00312, allocations: 23.84 kB / 276.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.003258, allocations: 56.44 kB / 276.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.00339, allocations: 118.1 kB / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.003482, allocations: 13.31 kB / 276.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.003553, allocations: 63.81 kB / 276.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.003617, allocations: 31.83 kB / 276.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.003636, allocations: 8 kB / 276.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.003648, allocations: 8 kB / 276.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.003672, allocations: 27.84 kB / 276.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.003697, allocations: 25.81 kB / 276.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.003801, allocations: 75.66 kB / 276.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003803, allocations: 0 / 276.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.003803, allocations: 0 / 276.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.003807, allocations: 0 / 276.8 MB, free: 1.746 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.0003419/0.004149, allocations: 449.2 kB / 277.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.004181, allocations: 8.031 kB / 277.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.004216, allocations: 24.78 kB / 277.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.004365, allocations: 161 kB / 277.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.004382, allocations: 8.375 kB / 277.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.004408, allocations: 12.31 kB / 277.5 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.004548, allocations: 125.8 kB / 277.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.004557, allocations: 3.938 kB / 277.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.004566, allocations: 8 kB / 277.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.004571, allocations: 4 kB / 277.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.004607, allocations: 23.92 kB / 277.7 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.005035, allocations: 0.5994 MB / 278.3 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/0.005128, allocations: 59.05 kB / 278.3 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.005155, allocations: 27.66 kB / 278.3 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.005164, allocations: 4 kB / 278.3 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.005184, allocations: 41.52 kB / 278.4 MB, free: 64 kB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.005185, allocations: 4 kB / 278.4 MB, free: 60 kB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.000405/0.00559, allocations: 273.5 kB / 278.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.005619, allocations: 59.34 kB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.005718, allocations: 212.6 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.005729, allocations: 29.7 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.005792, allocations: 154.8 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.005817, allocations: 51.52 kB / 279.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.005856, allocations: 39.36 kB / 279.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.005981, allocations: 0.5 MB / 279.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.006, allocations: 11.98 kB / 279.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.006041, allocations: 60.91 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.006107, allocations: 74.66 kB / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006108, allocations: 4 kB / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001131/0.006221, allocations: 105.2 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.006233, allocations: 8 kB / 279.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006237, allocations: 0 / 279.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.872e-06/0.006244, allocations: 0 / 279.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.041e-05/0.006334, allocations: 44 kB / 280 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.006337, allocations: 0 / 280 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.00637, allocations: 4 kB / 280 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.006376, allocations: 11.94 kB / 280 MB, free: 14.31 MB / 266.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.0002153/0.006591, allocations: 164.5 kB / 280.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.006618, allocations: 19.89 kB / 280.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.006646, allocations: 20.77 kB / 280.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006647, allocations: 0 / 280.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.00665, allocations: 4 kB / 280.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.006654, allocations: 0 / 280.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.006968, allocations: 406 kB / 280.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00697, allocations: 0 / 280.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.007044, allocations: 23.98 kB / 280.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.007046, allocations: 4 kB / 280.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007053, allocations: 4 kB / 280.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007054, allocations: 0 / 280.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007056, allocations: 7.938 kB / 280.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.007222, allocations: 275.3 kB / 280.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.007235, allocations: 15.89 kB / 280.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.007248, allocations: 4 kB / 280.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.0073, allocations: 11.98 kB / 280.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.007331, allocations: 11.92 kB / 281 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.007337, allocations: 8 kB / 281 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.007383, allocations: 143.2 kB / 281.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007383, allocations: 3.938 kB / 281.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.007545, allocations: 20 kB / 281.1 MB, free: 13.11 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 6.53e-05/0.00761, allocations: 99.19 kB / 281.2 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.607e-05/0.007706, allocations: 71.56 kB / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.007707, allocations: 0 / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.007744, allocations: 35.61 kB / 281.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.007993, allocations: 44.17 kB / 281.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.008336, allocations: 302.2 kB / 281.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.93e-05/0.008376, allocations: 67.84 kB / 281.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.008413, allocations: 9.484 kB / 281.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.008496, allocations: 102.2 kB / 281.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008496, allocations: 0 / 281.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of Templates: time 0.003628/0.01212, allocations: 2.075 MB / 283.9 MB, free: 10.29 MB / 266.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 -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.6984403491951525]