Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008341/0.0008341, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002362, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000731/0.000731, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000984/0.001715, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9333/0.9333, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08918/1.022, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.854e-05, allocations: 2.312 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002006/0.002024, allocations: 1.751 MB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006187/0.002643, allocations: 0.5141 MB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.002692, allocations: 11.94 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.002733, allocations: 15.8 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.002777, allocations: 23.86 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.806e-05/0.002845, allocations: 51.81 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.002944, allocations: 111.6 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.003, allocations: 21.83 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.003067, allocations: 75.81 kB / 247.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.003117, allocations: 31.89 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.003132, allocations: 8 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.003141, allocations: 11.94 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.003157, allocations: 23.88 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.003176, allocations: 19.94 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.562e-05/0.003252, allocations: 63.7 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.003259, allocations: 0 / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003259, allocations: 0 / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.003264, allocations: 0 / 247.9 MB, free: 10.79 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.0002501/0.003514, allocations: 332.1 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.042e-05/0.003535, allocations: 12.56 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.003557, allocations: 20.92 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.003671, allocations: 154.1 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.003681, allocations: 8.375 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.003695, allocations: 12.38 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.003805, allocations: 121.4 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003811, allocations: 3.938 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.003817, allocations: 0 / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-06/0.00382, allocations: 4 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.00385, allocations: 27.94 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.004134, allocations: 408.3 kB / 249 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.156e-05/0.004206, allocations: 54.55 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.004227, allocations: 20.86 kB / 249.1 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.004234, allocations: 4 kB / 249.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.004249, allocations: 34.55 kB / 249.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 7.31e-07/0.00425, allocations: 192 / 249.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003371/0.004587, allocations: 288.9 kB / 249.4 MB, free: 9.168 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.004605, allocations: 55.41 kB / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.004671, allocations: 146.6 kB / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.004681, allocations: 29.7 kB / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.004715, allocations: 104 kB / 249.7 MB, free: 8.805 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.004733, allocations: 51.52 kB / 249.8 MB, free: 8.754 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.004763, allocations: 29.7 kB / 249.8 MB, free: 8.719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.004825, allocations: 330.7 kB / 250.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.004841, allocations: 15.98 kB / 250.2 MB, free: 8.371 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.00487, allocations: 50.53 kB / 250.2 MB, free: 8.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.00492, allocations: 63.34 kB / 250.3 MB, free: 8.238 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.004921, allocations: 0 / 250.3 MB, free: 8.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 7.35e-05/0.004995, allocations: 93.59 kB / 250.4 MB, free: 8.141 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.005009, allocations: 4 kB / 250.4 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.005011, allocations: 0 / 250.4 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.005017, allocations: 4 kB / 250.4 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.005088, allocations: 44.02 kB / 250.4 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.00509, allocations: 3.984 kB / 250.4 MB, free: 8.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.005118, allocations: 11.98 kB / 250.4 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.005123, allocations: 4 kB / 250.4 MB, free: 8.07 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 4.524e-05/0.005168, allocations: 117.8 kB / 250.5 MB, free: 7.945 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.005188, allocations: 19.92 kB / 250.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.00521, allocations: 16.78 kB / 250.6 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.005211, allocations: 0 / 250.6 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.005212, allocations: 0 / 250.6 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005214, allocations: 4 kB / 250.6 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.005449, allocations: 292.2 kB / 250.9 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.00545, allocations: 0 / 250.9 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.005519, allocations: 35.98 kB / 250.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.005529, allocations: 19.83 kB / 250.9 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.00553, allocations: 0 / 250.9 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.005536, allocations: 4 kB / 250.9 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.005539, allocations: 7.938 kB / 250.9 MB, free: 7.523 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005539, allocations: 4.062 kB / 250.9 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.005655, allocations: 201.1 kB / 251.1 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.005667, allocations: 8 kB / 251.1 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.005706, allocations: 4 kB / 251.1 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.005732, allocations: 19.91 kB / 251.2 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.005735, allocations: 4 kB / 251.2 MB, free: 7.266 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.361e-05/0.005759, allocations: 34.66 kB / 251.2 MB, free: 7.23 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005759, allocations: 0 / 251.2 MB, free: 7.23 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001174/0.005876, allocations: 20 kB / 251.2 MB, free: 7.211 MB / 250.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 4.64e-05/0.005923, allocations: 84.34 kB / 251.3 MB, free: 7.121 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.35e-05/0.005996, allocations: 64.64 kB / 251.4 MB, free: 7.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.006002, allocations: 4 kB / 251.4 MB, free: 7.055 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.006041, allocations: 40.72 kB / 251.4 MB, free: 7.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.006265, allocations: 292.6 kB / 251.7 MB, free: 6.672 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.006773, allocations: 294.9 kB / 252 MB, free: 6.348 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.179e-05/0.006804, allocations: 71.83 kB / 252.1 MB, free: 6.258 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.006834, allocations: 13.48 kB / 252.1 MB, free: 6.246 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.006902, allocations: 75.36 kB / 252.1 MB, free: 6.172 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006902, allocations: 0 / 252.1 MB, free: 6.172 MB / 250.7 MB Notification: Performance of Templates: time 0.002843/0.009745, allocations: 2.133 MB / 254.3 MB, free: 4.078 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.37734386138618]