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.001026/0.001026, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009146/0.0009146, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9653/0.9653, allocations: 173.3 MB / 201.1 MB, free: 9.348 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 2.064e-06/2.064e-06, allocations: 0 / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.137e-05, allocations: 6.25 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00614/0.006172, allocations: 1.683 MB / 269.7 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008612/0.007033, allocations: 490.6 kB / 270.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.007126, allocations: 7.938 kB / 270.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.007257, allocations: 7.875 kB / 270.2 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.494e-05/0.007352, allocations: 31.73 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.007537, allocations: 51.81 kB / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.00774, allocations: 123.5 kB / 270.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.007859, allocations: 17.3 kB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.007961, allocations: 63.81 kB / 270.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.008049, allocations: 35.84 kB / 270.5 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.008078, allocations: 8 kB / 270.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.008095, allocations: 8 kB / 270.5 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.008121, allocations: 15.92 kB / 270.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.008162, allocations: 35.84 kB / 270.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.008317, allocations: 71.69 kB / 270.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.00832, allocations: 0 / 270.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.008321, allocations: 0 / 270.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.008326, allocations: 0 / 270.6 MB, free: 3.809 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.000537/0.008863, allocations: 444.1 kB / 271 MB, free: 3.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.008906, allocations: 16.86 kB / 271.1 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.00897, allocations: 20.83 kB / 271.1 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.009197, allocations: 172.3 kB / 271.3 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.009222, allocations: 8.375 kB / 271.3 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.009253, allocations: 15.89 kB / 271.3 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.009483, allocations: 133.3 kB / 271.4 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.009494, allocations: 0 / 271.4 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.009508, allocations: 4 kB / 271.4 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.00952, allocations: 4 kB / 271.4 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.768e-05/0.009588, allocations: 19.98 kB / 271.4 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.01023, allocations: 0.6261 MB / 272.1 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.01037, allocations: 71.03 kB / 272.1 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.01042, allocations: 27.67 kB / 272.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.01043, allocations: 4 kB / 272.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.01045, allocations: 37.39 kB / 272.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.01046, allocations: 0 / 272.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005931/0.01105, allocations: 310.1 kB / 272.5 MB, free: 1.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.01108, allocations: 59.39 kB / 272.6 MB, free: 1.664 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.01121, allocations: 209.8 kB / 272.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.01123, allocations: 33.64 kB / 272.8 MB, free: 1.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.0113, allocations: 154.8 kB / 272.9 MB, free: 1.246 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.01133, allocations: 51.56 kB / 273 MB, free: 1.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.01138, allocations: 35.38 kB / 273 MB, free: 1.152 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.01152, allocations: 0.4961 MB / 273.5 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.01156, allocations: 19.98 kB / 273.5 MB, free: 0.625 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.704e-05/0.01163, allocations: 57.55 kB / 273.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.01174, allocations: 82.67 kB / 273.7 MB, free: 468 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01174, allocations: 4 kB / 273.7 MB, free: 464 kB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001831/0.01192, allocations: 121.5 kB / 273.8 MB, free: 336 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01194, allocations: 4 kB / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01194, allocations: 0 / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.01196, allocations: 7.938 kB / 273.8 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.0121, allocations: 39.92 kB / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01211, allocations: 0 / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.01216, allocations: 11.98 kB / 273.9 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.01217, allocations: 8.094 kB / 273.9 MB, free: 264 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 8.739e-05/0.01226, allocations: 164.6 kB / 274 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.01229, allocations: 15.91 kB / 274.1 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.01232, allocations: 12.78 kB / 274.1 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01233, allocations: 15.86 kB / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01233, allocations: 0 / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01234, allocations: 0 / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.01283, allocations: 421 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01283, allocations: 4.062 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.01295, allocations: 27.97 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01295, allocations: 4 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01297, allocations: 0 / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.01297, allocations: 4 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01297, allocations: 0 / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.01323, allocations: 295 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.01325, allocations: 15.89 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.01327, allocations: 48 / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.01336, allocations: 15.98 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.01341, allocations: 19.97 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.01342, allocations: 0 / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.104e-05/0.0135, allocations: 154.2 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0135, allocations: 0 / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.0138, allocations: 20 kB / 275 MB, free: 15.01 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 9.505e-05/0.01389, allocations: 99.19 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.01407, allocations: 79.03 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01407, allocations: 192 / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.01413, allocations: 43.61 kB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.01456, allocations: 43.91 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.01509, allocations: 298 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.345e-05/0.01514, allocations: 67.97 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.302e-05/0.0152, allocations: 17.48 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.01524, allocations: 16.5 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01525, allocations: 0 / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of Templates: time 0.004819/0.02007, allocations: 2.003 MB / 277.7 MB, free: 12.31 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.739269806072116]