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.0009215/0.0009215, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001032/0.001032, allocations: 146.3 kB / 24.89 MB, free: 8.781 MB / 18.57 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.9672/0.9672, allocations: 173.4 MB / 201.5 MB, free: 8.262 MB / 186.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 1.122e-06/1.122e-06, allocations: 0 / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.207e-05, allocations: 2.312 kB / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001921/0.001933, allocations: 1.737 MB / 270.2 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006307/0.002564, allocations: 488.8 kB / 270.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.002632, allocations: 3.938 kB / 270.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.506e-05/0.002728, allocations: 16.52 kB / 270.7 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.002796, allocations: 30.5 kB / 270.8 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.002923, allocations: 51.88 kB / 270.8 MB, free: 7.473 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003051, allocations: 119.6 kB / 270.9 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.00313, allocations: 21.89 kB / 271 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.601e-05/0.003196, allocations: 63.81 kB / 271 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.003264, allocations: 23.91 kB / 271 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.003281, allocations: 8 kB / 271.1 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.003292, allocations: 8.531 kB / 271.1 MB, free: 7.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.003316, allocations: 29.5 kB / 271.1 MB, free: 7.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.003346, allocations: 31.86 kB / 271.1 MB, free: 7.172 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.988e-05/0.003446, allocations: 67.67 kB / 271.2 MB, free: 7.105 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003448, allocations: 0 / 271.2 MB, free: 7.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003449, allocations: 0 / 271.2 MB, free: 7.105 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.003452, allocations: 0.5 kB / 271.2 MB, free: 7.105 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.0002879/0.00374, allocations: 317 kB / 271.5 MB, free: 6.773 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.003768, allocations: 8.719 kB / 271.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.003797, allocations: 20.86 kB / 271.5 MB, free: 6.746 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.003949, allocations: 158.3 kB / 271.7 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.003964, allocations: 8.375 kB / 271.7 MB, free: 6.562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.003983, allocations: 15.88 kB / 271.7 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.004118, allocations: 125.2 kB / 271.8 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.004128, allocations: 0 / 271.8 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.004137, allocations: 8 kB / 271.8 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004142, allocations: 0 / 271.8 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.504e-05/0.004177, allocations: 19.98 kB / 271.9 MB, free: 6.379 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.004515, allocations: 404.3 kB / 272.2 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.259e-05/0.004598, allocations: 58.53 kB / 272.3 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.004622, allocations: 20.86 kB / 272.3 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.00463, allocations: 4 kB / 272.3 MB, free: 5.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.00465, allocations: 30.56 kB / 272.4 MB, free: 5.828 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.004651, allocations: 0 / 272.4 MB, free: 5.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003991/0.00505, allocations: 281.2 kB / 272.6 MB, free: 5.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.005075, allocations: 55.34 kB / 272.7 MB, free: 5.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.00516, allocations: 154.4 kB / 272.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.005172, allocations: 29.7 kB / 272.9 MB, free: 5.254 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.005212, allocations: 104 kB / 273 MB, free: 5.148 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.005234, allocations: 51.56 kB / 273 MB, free: 5.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.005269, allocations: 37.69 kB / 273.1 MB, free: 5.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.005352, allocations: 330.7 kB / 273.4 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.005368, allocations: 8 kB / 273.4 MB, free: 4.715 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.005401, allocations: 39.42 kB / 273.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.005e-05/0.005461, allocations: 71.31 kB / 273.5 MB, free: 4.582 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.005462, allocations: 4 kB / 273.5 MB, free: 4.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.682e-05/0.005549, allocations: 93.23 kB / 273.6 MB, free: 4.484 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.005561, allocations: 10.33 kB / 273.6 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.005564, allocations: 4 kB / 273.6 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.005576, allocations: 0 / 273.6 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.005656, allocations: 39.86 kB / 273.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.00566, allocations: 3.938 kB / 273.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.00569, allocations: 11.98 kB / 273.7 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-06/0.005698, allocations: 8 kB / 273.7 MB, free: 4.41 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 5.556e-05/0.005753, allocations: 109.8 kB / 273.8 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.005771, allocations: 12.09 kB / 273.8 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.005798, allocations: 20.77 kB / 273.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.005799, allocations: 3.938 kB / 273.8 MB, free: 4.258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.005802, allocations: 3.938 kB / 273.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.005806, allocations: 3.984 kB / 273.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.006063, allocations: 293.3 kB / 274.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006064, allocations: 0 / 274.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.006141, allocations: 31.92 kB / 274.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006144, allocations: 8.062 kB / 274.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.00615, allocations: 3.938 kB / 274.1 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006152, allocations: 0 / 274.1 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.006153, allocations: 4 kB / 274.2 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.006296, allocations: 205.1 kB / 274.4 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.006306, allocations: 11.91 kB / 274.4 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.006318, allocations: 7.875 kB / 274.4 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-05/0.006364, allocations: 15.98 kB / 274.4 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.006398, allocations: 7.984 kB / 274.4 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.0064, allocations: 4 kB / 274.4 MB, free: 3.617 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.83e-05/0.006429, allocations: 43.86 kB / 274.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006429, allocations: 0 / 274.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001325/0.006561, allocations: 20 kB / 274.5 MB, free: 3.555 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.943e-05/0.006631, allocations: 72.42 kB / 274.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.006731, allocations: 64.7 kB / 274.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.006734, allocations: 0 / 274.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.00677, allocations: 36.81 kB / 274.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.006976, allocations: 48.28 kB / 274.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.007338, allocations: 286.6 kB / 275 MB, free: 3.008 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.007376, allocations: 67.84 kB / 275 MB, free: 2.922 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.654e-05/0.007413, allocations: 17.48 kB / 275 MB, free: 2.902 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.007488, allocations: 79.36 kB / 275.1 MB, free: 2.824 MB / 250.7 MB Notification: Performance of SimCode: time 4e-07/0.007488, allocations: 0 / 275.1 MB, free: 2.824 MB / 250.7 MB Notification: Performance of Templates: time 0.003468/0.01096, allocations: 2.018 MB / 277.1 MB, free: 0.8516 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5301398998126388]