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.001161/0.001161, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.00133/0.00133, allocations: 170.3 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9764/0.9764, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.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.573e-06/1.573e-06, allocations: 0 / 273.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.437e-05, allocations: 5.828 kB / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002154/0.002178, allocations: 1.75 MB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007039/0.002882, allocations: 0.514 MB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.735e-05/0.002959, allocations: 4 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.003068, allocations: 19.8 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.003139, allocations: 27.73 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.003271, allocations: 47.94 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.003408, allocations: 115.6 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.00351, allocations: 21.95 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.0036, allocations: 63.75 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.003692, allocations: 35.84 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.003714, allocations: 4 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.003726, allocations: 8 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.003749, allocations: 23.91 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.003777, allocations: 31.86 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.003896, allocations: 67.73 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003899, allocations: 0 / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003899, allocations: 0 / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.003903, allocations: 0 / 276.2 MB, free: 14.41 MB / 266.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.0003371/0.00424, allocations: 324.3 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.004271, allocations: 8.031 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.004303, allocations: 20.92 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.004498, allocations: 146.2 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.004515, allocations: 12.36 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.004536, allocations: 16.36 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.004683, allocations: 121.3 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.004693, allocations: 3.938 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.004702, allocations: 4 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.004708, allocations: 4 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.247e-05/0.00474, allocations: 19.94 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.005112, allocations: 412.3 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/0.005201, allocations: 54.55 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.005226, allocations: 20.86 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.005234, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.005256, allocations: 42.69 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.71e-07/0.005257, allocations: 0 / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004261/0.005683, allocations: 273.1 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.005709, allocations: 59.34 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.005789, allocations: 153.8 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.005802, allocations: 29.7 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.005844, allocations: 104 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.005863, allocations: 39.64 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.005902, allocations: 41.64 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.005973, allocations: 326.8 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.005991, allocations: 15.92 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.006024, allocations: 39.42 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.451e-05/0.006089, allocations: 75.31 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.00609, allocations: 0 / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.719e-05/0.006187, allocations: 93.59 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.006199, allocations: 4 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006204, allocations: 0 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.006215, allocations: 4 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.006312, allocations: 35.92 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006314, allocations: 0 / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.006346, allocations: 16.08 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.006351, allocations: 4 kB / 278.7 MB, free: 11.71 MB / 266.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.043e-05/0.006411, allocations: 121.7 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.006432, allocations: 12 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.006465, allocations: 12.77 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006467, allocations: 4 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.006469, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006472, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.006749, allocations: 296.3 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.006751, allocations: 0 / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.006831, allocations: 31.98 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.006833, allocations: 0 / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.006841, allocations: 4 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006843, allocations: 0 / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.006846, allocations: 3.938 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.006982, allocations: 205.1 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.006994, allocations: 15.91 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.007006, allocations: 4.062 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.377e-05/0.00705, allocations: 11.98 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.007085, allocations: 15.97 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.007092, allocations: 7.984 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.492e-05/0.007116, allocations: 36.81 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007117, allocations: 0 / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.007248, allocations: 16 kB / 279.5 MB, free: 10.86 MB / 266.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.816e-05/0.007316, allocations: 84.36 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.007407, allocations: 60.89 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.007411, allocations: 4 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.007444, allocations: 28.8 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.007663, allocations: 45.53 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.008006, allocations: 294.5 kB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.00804, allocations: 68.19 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.008077, allocations: 21.48 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.008151, allocations: 75.36 kB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008151, allocations: 0 / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of Templates: time 0.00337/0.01152, allocations: 2.002 MB / 282.1 MB, free: 8.184 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5121510517783463]