Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001452/0.001452, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001377/0.001377, allocations: 166.9 kB / 25.33 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.293e-05, allocations: 6.25 kB / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002622/0.002655, allocations: 1.692 MB / 252.7 MB, free: 5.816 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.003454, allocations: 0.5112 MB / 253.2 MB, free: 5.297 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.975e-05/0.003544, allocations: 8 kB / 253.2 MB, free: 5.289 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.003672, allocations: 15.8 kB / 253.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.003748, allocations: 27.72 kB / 253.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.003933, allocations: 47.94 kB / 253.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.004101, allocations: 119.6 kB / 253.4 MB, free: 5.082 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004223, allocations: 17.3 kB / 253.5 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.345e-05/0.004307, allocations: 63.77 kB / 253.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.801e-05/0.004385, allocations: 39.88 kB / 253.6 MB, free: 4.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.004409, allocations: 8 kB / 253.6 MB, free: 4.957 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.004423, allocations: 8 kB / 253.6 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.004449, allocations: 19.88 kB / 253.6 MB, free: 4.93 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.004489, allocations: 27.92 kB / 253.6 MB, free: 4.902 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.00464, allocations: 71.66 kB / 253.7 MB, free: 4.832 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.004643, allocations: 4 kB / 253.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.004644, allocations: 0 / 253.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.00465, allocations: 0 / 253.7 MB, free: 4.828 MB / 234.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.000525/0.005175, allocations: 448 kB / 254.1 MB, free: 4.355 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.005221, allocations: 15.98 kB / 254.2 MB, free: 4.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.005272, allocations: 12.89 kB / 254.2 MB, free: 4.328 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.005488, allocations: 172.9 kB / 254.3 MB, free: 4.133 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.005513, allocations: 8.375 kB / 254.3 MB, free: 4.125 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.466e-05/0.005548, allocations: 4.375 kB / 254.3 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.005773, allocations: 141.8 kB / 254.5 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.005792, allocations: 3.938 kB / 254.5 MB, free: 3.957 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.005805, allocations: 0 / 254.5 MB, free: 3.957 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.005819, allocations: 4 kB / 254.5 MB, free: 3.953 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.484e-05/0.005884, allocations: 31.92 kB / 254.5 MB, free: 3.922 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.006549, allocations: 0.6222 MB / 255.1 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.006688, allocations: 71.03 kB / 255.2 MB, free: 3.172 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.006732, allocations: 27.67 kB / 255.2 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.006745, allocations: 4.188 kB / 255.2 MB, free: 3.137 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.006771, allocations: 37.33 kB / 255.3 MB, free: 3.09 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 2.835e-06/0.006774, allocations: 0 / 255.3 MB, free: 3.09 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005964/0.007371, allocations: 318 kB / 255.6 MB, free: 2.742 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.007405, allocations: 55.41 kB / 255.7 MB, free: 2.676 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.007536, allocations: 217.6 kB / 255.9 MB, free: 2.445 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.00755, allocations: 25.7 kB / 255.9 MB, free: 2.414 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.007822, allocations: 158.8 kB / 256 MB, free: 2.254 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.007854, allocations: 47.59 kB / 256.1 MB, free: 2.207 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.007909, allocations: 35.36 kB / 256.1 MB, free: 2.164 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.008041, allocations: 0.4962 MB / 256.6 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.008081, allocations: 12 kB / 256.6 MB, free: 1.645 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.008136, allocations: 62.72 kB / 256.7 MB, free: 1.566 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.00824, allocations: 90.25 kB / 256.8 MB, free: 1.465 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.008241, allocations: 0 / 256.8 MB, free: 1.465 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001525/0.008394, allocations: 113.6 kB / 256.9 MB, free: 1.348 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.008413, allocations: 11.44 kB / 256.9 MB, free: 1.34 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.008419, allocations: 0 / 256.9 MB, free: 1.34 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.008441, allocations: 7.938 kB / 256.9 MB, free: 1.332 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.008569, allocations: 31.97 kB / 256.9 MB, free: 1.301 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.008576, allocations: 96 / 256.9 MB, free: 1.301 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.008614, allocations: 19.94 kB / 257 MB, free: 1.281 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.008622, allocations: 4 kB / 257 MB, free: 1.277 MB / 234.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.000129/0.008751, allocations: 164.5 kB / 257.1 MB, free: 1.105 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.008782, allocations: 19.89 kB / 257.1 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.008827, allocations: 16.78 kB / 257.2 MB, free: 1.066 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.008831, allocations: 4 kB / 257.2 MB, free: 1.062 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.008837, allocations: 0 / 257.2 MB, free: 1.062 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.008843, allocations: 3.938 kB / 257.2 MB, free: 1.059 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.009281, allocations: 425 kB / 257.6 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.009285, allocations: 0 / 257.6 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.009385, allocations: 27.98 kB / 257.6 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.009392, allocations: 4 kB / 257.6 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.009409, allocations: 3.938 kB / 257.6 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.009411, allocations: 0 / 257.6 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.009416, allocations: 7.938 kB / 257.6 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.009704, allocations: 287.2 kB / 257.9 MB, free: 248 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.009724, allocations: 11.97 kB / 257.9 MB, free: 236 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.009743, allocations: 7.938 kB / 257.9 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/0.009797, allocations: 11.98 kB / 257.9 MB, free: 216 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.009856, allocations: 7.984 kB / 257.9 MB, free: 208 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.009862, allocations: 8 kB / 258 MB, free: 200 kB / 234.7 MB Notification: Performance of sorting global known variables: time 7.226e-05/0.009935, allocations: 155.8 kB / 258.1 MB, free: 44 kB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009935, allocations: 3.938 kB / 258.1 MB, free: 40 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.01012, allocations: 20 kB / 258.1 MB, free: 20 kB / 234.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.0001574/0.01028, allocations: 99.28 kB / 258.2 MB, free: 15.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.01046, allocations: 71.59 kB / 258.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01046, allocations: 0 / 258.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.253e-05/0.01052, allocations: 43.81 kB / 258.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.01085, allocations: 43.91 kB / 258.4 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.01143, allocations: 309.3 kB / 258.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.01149, allocations: 71.83 kB / 258.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.01154, allocations: 13.48 kB / 258.8 MB, free: 15.31 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.0116, allocations: 20.5 kB / 258.8 MB, free: 15.29 MB / 250.7 MB Notification: Performance of SimCode: time 1.442e-06/0.0116, allocations: 0 / 258.8 MB, free: 15.29 MB / 250.7 MB Notification: Performance of Templates: time 0.004656/0.01625, allocations: 1.878 MB / 260.7 MB, free: 13.43 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.103119419887662]