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.00102/0.00102, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001096/0.001096, allocations: 140.7 kB / 24.97 MB, free: 9.316 MB / 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 0.9367/0.9367, allocations: 173.4 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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.553e-06/1.553e-06, allocations: 0 / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.357e-05, allocations: 6.25 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001893/0.001917, allocations: 1.676 MB / 269.7 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006022/0.002519, allocations: 486.7 kB / 270.2 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.002596, allocations: 3.938 kB / 270.2 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.002706, allocations: 19.8 kB / 270.2 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.002773, allocations: 27.78 kB / 270.3 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.002918, allocations: 51.81 kB / 270.3 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.003064, allocations: 123.6 kB / 270.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.003162, allocations: 21.28 kB / 270.5 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.003233, allocations: 59.83 kB / 270.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.003301, allocations: 39.83 kB / 270.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.003322, allocations: 4 kB / 270.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.003333, allocations: 8 kB / 270.6 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.003355, allocations: 19.92 kB / 270.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.003388, allocations: 35.84 kB / 270.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003499, allocations: 63.69 kB / 270.7 MB, free: 4.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003501, allocations: 3.938 kB / 270.7 MB, free: 4.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003502, allocations: 0 / 270.7 MB, free: 4.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.003506, allocations: 8 kB / 270.7 MB, free: 4.074 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.0004126/0.003919, allocations: 440.1 kB / 271.1 MB, free: 3.609 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.003954, allocations: 12.92 kB / 271.1 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.003997, allocations: 16.84 kB / 271.2 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.004173, allocations: 164.9 kB / 271.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.004192, allocations: 8.375 kB / 271.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.004216, allocations: 19.89 kB / 271.3 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.004392, allocations: 133.3 kB / 271.5 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.004403, allocations: 3.984 kB / 271.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.004414, allocations: 4 kB / 271.5 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-06/0.004422, allocations: 4 kB / 271.5 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/0.004475, allocations: 27.09 kB / 271.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.00497, allocations: 0.6222 MB / 272.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.005082, allocations: 75.03 kB / 272.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.00512, allocations: 27.67 kB / 272.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.005129, allocations: 4 kB / 272.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.005148, allocations: 37.39 kB / 272.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.005149, allocations: 192 / 272.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004927/0.005642, allocations: 317.2 kB / 272.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.005672, allocations: 55.41 kB / 272.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.00579, allocations: 211.4 kB / 272.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.005802, allocations: 33.64 kB / 272.9 MB, free: 1.668 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.005868, allocations: 154.8 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.005893, allocations: 47.59 kB / 273.1 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.005936, allocations: 39.36 kB / 273.1 MB, free: 1.418 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.006066, allocations: 0.4923 MB / 273.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.006101, allocations: 19.98 kB / 273.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.848e-05/0.006149, allocations: 54.73 kB / 273.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.682e-05/0.006236, allocations: 90.3 kB / 273.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.006237, allocations: 0 / 273.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001275/0.006365, allocations: 117.5 kB / 273.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.006378, allocations: 8 kB / 273.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006383, allocations: 0 / 273.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.006397, allocations: 7.938 kB / 273.9 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.006503, allocations: 39.92 kB / 273.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.006508, allocations: 0 / 273.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.006543, allocations: 11.98 kB / 273.9 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.00655, allocations: 4 kB / 274 MB, free: 0.5312 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 6.647e-05/0.006616, allocations: 160.5 kB / 274.1 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.006639, allocations: 24 kB / 274.1 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.006667, allocations: 16.78 kB / 274.1 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.00667, allocations: 3.938 kB / 274.2 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.006675, allocations: 7.984 kB / 274.2 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006679, allocations: 0 / 274.2 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.007032, allocations: 416.6 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.007034, allocations: 4 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.007117, allocations: 23.98 kB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.007121, allocations: 12.05 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.007131, allocations: 3.938 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.007132, allocations: 0 / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.007134, allocations: 4 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.007332, allocations: 283.1 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.007345, allocations: 15.89 kB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.007359, allocations: 4 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.007405, allocations: 8 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.007454, allocations: 15.97 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.00746, allocations: 4 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.626e-05/0.007516, allocations: 158.2 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007516, allocations: 0 / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.007674, allocations: 20 kB / 275.1 MB, free: 15.29 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 7.294e-05/0.007747, allocations: 99.19 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.007877, allocations: 71.53 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007878, allocations: 4 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.409e-05/0.007923, allocations: 39.61 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.008197, allocations: 44.22 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.008598, allocations: 307.2 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.008637, allocations: 67.84 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.008674, allocations: 17.53 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.008708, allocations: 16.5 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008708, allocations: 0 / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Templates: time 0.003343/0.01205, allocations: 1.894 MB / 277.7 MB, free: 12.7 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","",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.7994169238954782]