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.001204/0.001204, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001905/0.003109, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001085/0.001085, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001664/0.002749, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9842/0.9842, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09428/1.079, allocations: 52.49 MB / 238.4 MB, free: 4.371 MB / 234.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.625e-06/2.625e-06, allocations: 3.984 kB / 239.7 MB, free: 3.082 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.401e-05, allocations: 6.312 kB / 239.7 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002947/0.002971, allocations: 1.733 MB / 241.5 MB, free: 1.328 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006346/0.003606, allocations: 496.1 kB / 241.9 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.003681, allocations: 7.938 kB / 242 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.339e-05/0.003745, allocations: 15.86 kB / 242 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.003814, allocations: 35.72 kB / 242 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.00393, allocations: 47.88 kB / 242.1 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.00408, allocations: 115.6 kB / 242.2 MB, free: 0.625 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.004171, allocations: 17.95 kB / 242.2 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.004279, allocations: 75.75 kB / 242.3 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.004359, allocations: 39.83 kB / 242.3 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.004382, allocations: 8 kB / 242.3 MB, free: 496 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.004394, allocations: 8 kB / 242.3 MB, free: 488 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.004421, allocations: 11.94 kB / 242.3 MB, free: 476 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.004448, allocations: 27.94 kB / 242.4 MB, free: 448 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.004569, allocations: 67.62 kB / 242.4 MB, free: 380 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.004581, allocations: 0 / 242.4 MB, free: 380 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004582, allocations: 0 / 242.4 MB, free: 380 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.004593, allocations: 4 kB / 242.4 MB, free: 376 kB / 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.0003976/0.00499, allocations: 332.1 kB / 242.7 MB, free: 20 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.005018, allocations: 8.031 kB / 242.8 MB, free: 12 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.005066, allocations: 20.98 kB / 242.8 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.005231, allocations: 156.9 kB / 242.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.005249, allocations: 8.312 kB / 242.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.005276, allocations: 19.89 kB / 243 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.005434, allocations: 120.8 kB / 243.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.005444, allocations: 7.922 kB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.005452, allocations: 0 / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005457, allocations: 4 kB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.005494, allocations: 23.98 kB / 243.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.00587, allocations: 400.4 kB / 243.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.005965, allocations: 58.48 kB / 243.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.005991, allocations: 24.84 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.005999, allocations: 0 / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.006017, allocations: 34.56 kB / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.006018, allocations: 0 / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004368/0.006454, allocations: 285.4 kB / 243.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.006482, allocations: 59.34 kB / 244 MB, free: 14.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.00656, allocations: 146.6 kB / 244.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.006571, allocations: 29.7 kB / 244.1 MB, free: 14.49 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.00661, allocations: 100 kB / 244.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.006635, allocations: 51.56 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.006671, allocations: 33.69 kB / 244.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.006744, allocations: 326.8 kB / 244.6 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.006764, allocations: 19.94 kB / 244.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.006799, allocations: 45.86 kB / 244.7 MB, free: 13.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.118e-05/0.00686, allocations: 71.38 kB / 244.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006861, allocations: 0 / 244.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.494e-05/0.006956, allocations: 89.55 kB / 244.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.006968, allocations: 4 kB / 244.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.006973, allocations: 3.984 kB / 244.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.006984, allocations: 4 kB / 244.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/0.007079, allocations: 40.02 kB / 244.9 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.007084, allocations: 7.938 kB / 244.9 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.007113, allocations: 8 kB / 244.9 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.007118, allocations: 4 kB / 244.9 MB, free: 13.65 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.182e-05/0.00718, allocations: 113.8 kB / 245 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.0072, allocations: 12 kB / 245 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.007231, allocations: 20.77 kB / 245.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.007233, allocations: 0 / 245.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.007236, allocations: 3.938 kB / 245.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.007239, allocations: 0 / 245.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.007537, allocations: 296.3 kB / 245.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.00754, allocations: 4 kB / 245.4 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.007625, allocations: 35.92 kB / 245.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.007639, allocations: 15.84 kB / 245.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007641, allocations: 0 / 245.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.007649, allocations: 4 kB / 245.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.007651, allocations: 0 / 245.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.007652, allocations: 0 / 245.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.007797, allocations: 216.8 kB / 245.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.007811, allocations: 7.938 kB / 245.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.443e-05/0.007855, allocations: 7.984 kB / 245.6 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.007891, allocations: 11.98 kB / 245.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.007896, allocations: 4 kB / 245.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.225e-05/0.007929, allocations: 43.11 kB / 245.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007929, allocations: 0 / 245.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.008064, allocations: 20 kB / 245.7 MB, free: 12.79 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 7.616e-05/0.00814, allocations: 76.42 kB / 245.8 MB, free: 12.71 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.008242, allocations: 68.59 kB / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.008248, allocations: 3.984 kB / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.703e-05/0.008295, allocations: 44.72 kB / 245.9 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.008595, allocations: 299.3 kB / 246.2 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.009293, allocations: 295.1 kB / 246.5 MB, free: 11.92 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.009332, allocations: 63.84 kB / 246.5 MB, free: 11.84 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.77e-05/0.00938, allocations: 13.48 kB / 246.6 MB, free: 11.83 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.009465, allocations: 79.36 kB / 246.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.009466, allocations: 7.938 kB / 246.6 MB, free: 11.74 MB / 250.7 MB Notification: Performance of Templates: time 0.00378/0.01325, allocations: 2.162 MB / 248.8 MB, free: 9.625 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.397606322541833]