Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009234/0.0009234, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002273, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008551/0.0008551, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002042, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.138/1.138, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1088/1.247, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.371e-05, allocations: 5.828 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002016/0.00203, allocations: 1.762 MB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006788/0.002709, allocations: 0.5149 MB / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.002782, allocations: 3.938 kB / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.244e-05/0.002835, allocations: 7.875 kB / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.002897, allocations: 35.72 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.863e-05/0.002996, allocations: 55.86 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.003135, allocations: 107.6 kB / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.003239, allocations: 25.88 kB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.003339, allocations: 67.83 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.003416, allocations: 39.89 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.003442, allocations: 8 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.003454, allocations: 8 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.003475, allocations: 15.88 kB / 247.4 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.003502, allocations: 23.94 kB / 247.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.003618, allocations: 67.62 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.00363, allocations: 0 / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003631, allocations: 0 / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.003641, allocations: 0 / 247.4 MB, free: 11.48 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.0003847/0.004026, allocations: 332.1 kB / 247.8 MB, free: 11.13 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.004055, allocations: 16.03 kB / 247.8 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.00409, allocations: 16.92 kB / 247.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.004284, allocations: 154.1 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.004311, allocations: 12.36 kB / 248 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.00434, allocations: 8.375 kB / 248 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.004526, allocations: 116.2 kB / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.004539, allocations: 7.938 kB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.004549, allocations: 11.94 kB / 248.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.004557, allocations: 3.984 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.004612, allocations: 23.98 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.005093, allocations: 404.3 kB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.005204, allocations: 58.48 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.005239, allocations: 20.86 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.005249, allocations: 4 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.005273, allocations: 34.56 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.005274, allocations: 0 / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005544/0.005829, allocations: 285.2 kB / 248.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.005862, allocations: 51.41 kB / 249 MB, free: 9.801 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.005969, allocations: 149.1 kB / 249.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.005983, allocations: 29.7 kB / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.006036, allocations: 104 kB / 249.2 MB, free: 9.504 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.006066, allocations: 43.58 kB / 249.3 MB, free: 9.461 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.00612, allocations: 41.69 kB / 249.3 MB, free: 9.414 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.006215, allocations: 330.7 kB / 249.7 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.006241, allocations: 11.98 kB / 249.7 MB, free: 9.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.00629, allocations: 41.78 kB / 249.7 MB, free: 9.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.006374, allocations: 71.06 kB / 249.8 MB, free: 8.941 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006375, allocations: 4 kB / 249.8 MB, free: 8.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000129/0.006504, allocations: 93.53 kB / 249.9 MB, free: 8.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.00652, allocations: 8.094 kB / 249.9 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.006529, allocations: 4 kB / 249.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.006544, allocations: 0 / 249.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.006667, allocations: 35.98 kB / 249.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.006674, allocations: 7.938 kB / 249.9 MB, free: 8.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.006722, allocations: 7.984 kB / 249.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.00673, allocations: 4 kB / 249.9 MB, free: 8.773 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 7.187e-05/0.006802, allocations: 117.8 kB / 250 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.00683, allocations: 11.98 kB / 250.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.006866, allocations: 20.78 kB / 250.1 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.006868, allocations: 0 / 250.1 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.006872, allocations: 7.938 kB / 250.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.006875, allocations: 0 / 250.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.007544, allocations: 292.2 kB / 250.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007547, allocations: 0 / 250.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.908e-05/0.007636, allocations: 35.92 kB / 250.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.00765, allocations: 11.91 kB / 250.4 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.007654, allocations: 8.047 kB / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.007661, allocations: 4 kB / 250.4 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.007665, allocations: 7.938 kB / 250.4 MB, free: 8.227 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007666, allocations: 0 / 250.4 MB, free: 8.227 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.007807, allocations: 197.2 kB / 250.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.007821, allocations: 7.984 kB / 250.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.045e-05/0.007861, allocations: 4 kB / 250.6 MB, free: 8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.007893, allocations: 19.86 kB / 250.7 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007898, allocations: 7.984 kB / 250.7 MB, free: 7.973 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.872e-05/0.007926, allocations: 36.69 kB / 250.7 MB, free: 7.938 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007927, allocations: 4 kB / 250.7 MB, free: 7.934 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.008053, allocations: 20 kB / 250.7 MB, free: 7.914 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 6.235e-05/0.008116, allocations: 76.64 kB / 250.8 MB, free: 7.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.868e-05/0.008204, allocations: 68.64 kB / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.008209, allocations: 0 / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.008257, allocations: 49.73 kB / 250.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.008546, allocations: 296.1 kB / 251.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.009178, allocations: 294.5 kB / 251.5 MB, free: 7.043 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.00922, allocations: 68 kB / 251.6 MB, free: 6.957 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.074e-05/0.009261, allocations: 13.48 kB / 251.6 MB, free: 6.945 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.00935, allocations: 75.36 kB / 251.7 MB, free: 6.871 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.009351, allocations: 4 kB / 251.7 MB, free: 6.867 MB / 250.7 MB Notification: Performance of Templates: time 0.003826/0.01318, allocations: 2.136 MB / 253.8 MB, free: 4.781 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.7102762842550874]