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.0008744/0.0008744, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.0008567/0.0008567, allocations: 158.3 kB / 25.75 MB, free: 8.52 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 0.8986/0.8986, allocations: 158.6 MB / 187.5 MB, free: 2.934 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.863e-06/1.863e-06, allocations: 0 / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.015e-05/4.201e-05, allocations: 6.25 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00249/0.002532, allocations: 1.688 MB / 252.8 MB, free: 6.102 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.003327, allocations: 0.5074 MB / 253.3 MB, free: 5.586 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.003414, allocations: 7.938 kB / 253.3 MB, free: 5.578 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.003527, allocations: 15.86 kB / 253.3 MB, free: 5.562 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.003603, allocations: 31.72 kB / 253.3 MB, free: 5.531 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.003771, allocations: 47.88 kB / 253.4 MB, free: 5.484 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.00393, allocations: 119.6 kB / 253.5 MB, free: 5.367 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004042, allocations: 21.28 kB / 253.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.00413, allocations: 59.83 kB / 253.6 MB, free: 5.289 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.004207, allocations: 35.89 kB / 253.6 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.004231, allocations: 8 kB / 253.6 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.004244, allocations: 8 kB / 253.6 MB, free: 5.238 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.004271, allocations: 23.86 kB / 253.7 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.004308, allocations: 27.92 kB / 253.7 MB, free: 5.188 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004444, allocations: 71.61 kB / 253.8 MB, free: 5.117 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004448, allocations: 0 / 253.8 MB, free: 5.117 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.00445, allocations: 4 kB / 253.8 MB, free: 5.113 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.004459, allocations: 0 / 253.8 MB, free: 5.113 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.0004916/0.004951, allocations: 444 kB / 254.2 MB, free: 4.645 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.004998, allocations: 15.98 kB / 254.2 MB, free: 4.629 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.005054, allocations: 16.89 kB / 254.2 MB, free: 4.613 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.005267, allocations: 172.8 kB / 254.4 MB, free: 4.418 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.005289, allocations: 8.375 kB / 254.4 MB, free: 4.41 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.005313, allocations: 12.38 kB / 254.4 MB, free: 4.398 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.005507, allocations: 129.9 kB / 254.5 MB, free: 4.25 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.00552, allocations: 3.938 kB / 254.5 MB, free: 4.246 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.005532, allocations: 4 kB / 254.6 MB, free: 4.242 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.005543, allocations: 4 kB / 254.6 MB, free: 4.238 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.472e-05/0.005597, allocations: 31.91 kB / 254.6 MB, free: 4.207 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.006179, allocations: 0.6184 MB / 255.2 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.00631, allocations: 74.92 kB / 255.3 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.00635, allocations: 27.67 kB / 255.3 MB, free: 3.426 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.006361, allocations: 4 kB / 255.3 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.006386, allocations: 37.39 kB / 255.3 MB, free: 3.375 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.006387, allocations: 0 / 255.3 MB, free: 3.375 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005512/0.006939, allocations: 318.1 kB / 255.7 MB, free: 3.027 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.006973, allocations: 55.41 kB / 255.7 MB, free: 2.961 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.007101, allocations: 213.6 kB / 255.9 MB, free: 2.734 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.007114, allocations: 29.7 kB / 255.9 MB, free: 2.699 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.007185, allocations: 154.8 kB / 256.1 MB, free: 2.543 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.007212, allocations: 47.59 kB / 256.1 MB, free: 2.496 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.007256, allocations: 39.36 kB / 256.2 MB, free: 2.449 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.007383, allocations: 0.4923 MB / 256.7 MB, free: 1.945 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.00742, allocations: 19.98 kB / 256.7 MB, free: 1.926 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.007474, allocations: 58.67 kB / 256.8 MB, free: 1.848 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.026e-05/0.007564, allocations: 86.67 kB / 256.8 MB, free: 1.746 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007565, allocations: 0 / 256.8 MB, free: 1.746 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001414/0.007707, allocations: 117 kB / 257 MB, free: 1.629 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.007722, allocations: 15.42 kB / 257 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.007727, allocations: 0 / 257 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.007741, allocations: 0 / 257 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.00785, allocations: 39.92 kB / 257 MB, free: 1.578 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.007856, allocations: 4.094 kB / 257 MB, free: 1.574 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.007899, allocations: 15.92 kB / 257 MB, free: 1.559 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.007906, allocations: 4 kB / 257 MB, free: 1.555 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 8.49e-05/0.007991, allocations: 160.6 kB / 257.2 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.008016, allocations: 15.91 kB / 257.2 MB, free: 1.371 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.008051, allocations: 16.78 kB / 257.2 MB, free: 1.352 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.008052, allocations: 0 / 257.2 MB, free: 1.352 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.008057, allocations: 4 kB / 257.2 MB, free: 1.348 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.008062, allocations: 3.938 kB / 257.2 MB, free: 1.344 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.008448, allocations: 425 kB / 257.6 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.008451, allocations: 4 kB / 257.6 MB, free: 0.875 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.916e-05/0.00855, allocations: 27.92 kB / 257.7 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.008554, allocations: 4 kB / 257.7 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.008566, allocations: 3.938 kB / 257.7 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008568, allocations: 0 / 257.7 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.008572, allocations: 7.984 kB / 257.7 MB, free: 0.832 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.008807, allocations: 283.2 kB / 258 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.008821, allocations: 19.97 kB / 258 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.008842, allocations: 11.92 kB / 258 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.008894, allocations: 4.047 kB / 258 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.008943, allocations: 15.97 kB / 258 MB, free: 488 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.00895, allocations: 8 kB / 258 MB, free: 480 kB / 234.7 MB Notification: Performance of sorting global known variables: time 6.427e-05/0.009014, allocations: 155.8 kB / 258.2 MB, free: 324 kB / 234.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.009014, allocations: 0 / 258.2 MB, free: 324 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.009176, allocations: 20 kB / 258.2 MB, free: 304 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 8.472e-05/0.009261, allocations: 99.23 kB / 258.3 MB, free: 196 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.009396, allocations: 75.53 kB / 258.4 MB, free: 116 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.009397, allocations: 4 kB / 258.4 MB, free: 112 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.009441, allocations: 39.61 kB / 258.4 MB, free: 68 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.009714, allocations: 36.19 kB / 258.4 MB, free: 32 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.01017, allocations: 313.3 kB / 258.7 MB, free: 15.69 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.406e-05/0.01021, allocations: 71.83 kB / 258.8 MB, free: 15.6 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.01025, allocations: 13.48 kB / 258.8 MB, free: 15.59 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.01029, allocations: 16.5 kB / 258.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01029, allocations: 0 / 258.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of Templates: time 0.003717/0.014, allocations: 1.878 MB / 260.7 MB, free: 13.71 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: 2.496284715132788]