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.001278/0.001278, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001474/0.001474, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.49/1.49, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.495e-06/2.495e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.637e-05/3.886e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00352/0.003559, allocations: 1.659 MB / 326.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004809, allocations: 0.4932 MB / 327.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.004912, allocations: 6.656 kB / 327.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.005052, allocations: 14.11 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.00515, allocations: 30.33 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.005336, allocations: 47.53 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.005586, allocations: 122.4 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.005718, allocations: 19.89 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.005846, allocations: 62 kB / 327.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.005948, allocations: 31.69 kB / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.005978, allocations: 7.75 kB / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.393e-05/0.006002, allocations: 11.84 kB / 327.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.006041, allocations: 26.77 kB / 327.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.006093, allocations: 24.67 kB / 327.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.006291, allocations: 93.38 kB / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.006295, allocations: 3.938 kB / 327.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.006296, allocations: 0 / 327.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.006302, allocations: 2.031 kB / 327.7 MB, free: 14.8 MB / 302.1 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.0007113/0.007013, allocations: 347.5 kB / 328 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.007063, allocations: 15.34 kB / 328.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.007115, allocations: 15.25 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.00745, allocations: 166.1 kB / 328.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.007474, allocations: 8 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.007513, allocations: 10.92 kB / 328.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.007894, allocations: 129 kB / 328.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.007917, allocations: 7.922 kB / 328.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.007934, allocations: 8.297 kB / 328.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.007945, allocations: 0 / 328.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.008176, allocations: 67.44 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.009061, allocations: 485.3 kB / 328.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.009501, allocations: 138.8 kB / 329.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.009664, allocations: 52.08 kB / 329.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.009682, allocations: 2.219 kB / 329.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.009721, allocations: 35.47 kB / 329.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.009722, allocations: 0 / 329.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001259/0.01098, allocations: 447.7 kB / 329.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.01103, allocations: 52.56 kB / 329.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.01122, allocations: 161.1 kB / 329.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.01125, allocations: 26.8 kB / 329.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.01136, allocations: 121.3 kB / 329.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.0114, allocations: 39.33 kB / 330 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.01146, allocations: 30.97 kB / 330 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.01164, allocations: 326.5 kB / 330.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.0118, allocations: 47.17 kB / 330.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.01201, allocations: 87.73 kB / 330.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.01235, allocations: 137.2 kB / 330.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01235, allocations: 0 / 330.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004315/0.01278, allocations: 179 kB / 330.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.0128, allocations: 6.156 kB / 330.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01281, allocations: 5.031 kB / 330.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.01283, allocations: 2.188 kB / 330.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.01311, allocations: 35.23 kB / 330.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.01312, allocations: 1.828 kB / 330.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.01321, allocations: 20.08 kB / 330.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01323, allocations: 8.984 kB / 330.9 MB, free: 12.5 MB / 302.1 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.0001234/0.01335, allocations: 128.3 kB / 331 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.01339, allocations: 12.09 kB / 331 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.01343, allocations: 14.05 kB / 331 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01343, allocations: 1.094 kB / 331 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.01344, allocations: 1.125 kB / 331 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.01345, allocations: 5.016 kB / 331 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.01433, allocations: 426.1 kB / 331.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01433, allocations: 1.188 kB / 331.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.01451, allocations: 31.23 kB / 331.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.01452, allocations: 2.891 kB / 331.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.01454, allocations: 9.375 kB / 331.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01454, allocations: 1.469 kB / 331.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.01454, allocations: 6.109 kB / 331.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/0.01524, allocations: 315.9 kB / 331.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.01527, allocations: 12.52 kB / 331.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.0153, allocations: 14.75 kB / 331.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.01542, allocations: 12.03 kB / 331.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/0.01552, allocations: 13.78 kB / 331.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01553, allocations: 7.344 kB / 331.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.01569, allocations: 115.8 kB / 332 MB, free: 11.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01569, allocations: 1.25 kB / 332 MB, free: 11.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.01597, allocations: 19.34 kB / 332 MB, free: 11.73 MB / 302.1 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.0001744/0.01614, allocations: 95.91 kB / 332.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004344/0.01658, allocations: 124 kB / 332.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01658, allocations: 1.125 kB / 332.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.01676, allocations: 61.59 kB / 332.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.01719, allocations: 48.94 kB / 332.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.01785, allocations: 304.3 kB / 332.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.756e-05/0.01795, allocations: 94.19 kB / 332.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.678e-05/0.01801, allocations: 12.45 kB / 332.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.01806, allocations: 20.75 kB / 332.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.01806, allocations: 0 / 332.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Templates: time 0.005474/0.02354, allocations: 1.846 MB / 334.6 MB, free: 10.26 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.437597818672657]