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.0008001/0.0008001, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001865, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006331/0.0006331, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008636/0.001497, allocations: 459.6 kB / 11.69 MB, free: 2.477 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.9097/0.9097, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08471/0.9944, allocations: 52.5 MB / 238.3 MB, free: 4.43 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 1.653e-06/1.653e-06, allocations: 3.938 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.116e-05, allocations: 2.312 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002749/0.00277, allocations: 1.724 MB / 241.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006844/0.009615, allocations: 0.4923 MB / 241.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.009678, allocations: 3.938 kB / 241.8 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.009726, allocations: 15.8 kB / 241.8 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.009784, allocations: 31.78 kB / 241.8 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.672e-05/0.009871, allocations: 47.88 kB / 241.9 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.00999, allocations: 115.6 kB / 242 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.01007, allocations: 17.95 kB / 242 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.01015, allocations: 79.75 kB / 242.1 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.01021, allocations: 35.83 kB / 242.1 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.01023, allocations: 12 kB / 242.1 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.01024, allocations: 8 kB / 242.1 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.01026, allocations: 15.94 kB / 242.1 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.01029, allocations: 19.94 kB / 242.2 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.01041, allocations: 71.62 kB / 242.2 MB, free: 492 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.01042, allocations: 0 / 242.2 MB, free: 492 kB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01043, allocations: 0 / 242.2 MB, free: 492 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.01044, allocations: 0 / 242.2 MB, free: 492 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.0004187/0.01086, allocations: 332.1 kB / 242.6 MB, free: 136 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.01089, allocations: 16.03 kB / 242.6 MB, free: 120 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.01093, allocations: 16.92 kB / 242.6 MB, free: 104 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.0111, allocations: 156.9 kB / 242.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.01112, allocations: 8.375 kB / 242.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.01115, allocations: 15.89 kB / 242.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.01131, allocations: 120.8 kB / 242.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.01132, allocations: 0 / 242.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.01133, allocations: 4 kB / 242.9 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.01134, allocations: 11.92 kB / 242.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.715e-05/0.01138, allocations: 23.98 kB / 242.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.01179, allocations: 400.3 kB / 243.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.01189, allocations: 54.55 kB / 243.4 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.01192, allocations: 28.78 kB / 243.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.01193, allocations: 4 kB / 243.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.01195, allocations: 30.56 kB / 243.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.01195, allocations: 4 kB / 243.4 MB, free: 15.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004605/0.01241, allocations: 277.2 kB / 243.7 MB, free: 14.87 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.01244, allocations: 59.34 kB / 243.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.01253, allocations: 149.9 kB / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.01255, allocations: 29.7 kB / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.01259, allocations: 100 kB / 244 MB, free: 14.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.01263, allocations: 51.56 kB / 244.1 MB, free: 14.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.01267, allocations: 33.69 kB / 244.1 MB, free: 14.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.01275, allocations: 330.8 kB / 244.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.01277, allocations: 15.94 kB / 244.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.01281, allocations: 41.92 kB / 244.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.268e-05/0.01289, allocations: 70.64 kB / 244.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01289, allocations: 0 / 244.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001022/0.01299, allocations: 85.59 kB / 244.7 MB, free: 13.85 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.013, allocations: 8 kB / 244.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.013, allocations: 4.094 kB / 244.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.01301, allocations: 4 kB / 244.7 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01312, allocations: 43.91 kB / 244.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.01313, allocations: 3.938 kB / 244.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.01317, allocations: 8 kB / 244.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.01318, allocations: 4 kB / 244.7 MB, free: 13.77 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.828e-05/0.01323, allocations: 113.8 kB / 244.8 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.01326, allocations: 11.98 kB / 244.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.01329, allocations: 12.78 kB / 244.9 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01329, allocations: 8 kB / 244.9 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.0133, allocations: 11.86 kB / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.0133, allocations: 0 / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.01362, allocations: 288.4 kB / 245.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01363, allocations: 3.984 kB / 245.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.01373, allocations: 31.92 kB / 245.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.01374, allocations: 19.84 kB / 245.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01374, allocations: 4 kB / 245.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.01375, allocations: 8.062 kB / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01376, allocations: 4 kB / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01376, allocations: 0 / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.01392, allocations: 209.1 kB / 245.4 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.01394, allocations: 7.938 kB / 245.4 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.014, allocations: 11.98 kB / 245.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.01404, allocations: 11.98 kB / 245.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.01404, allocations: 0 / 245.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.437e-05/0.01407, allocations: 36.69 kB / 245.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01407, allocations: 0 / 245.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001902/0.01426, allocations: 27.98 kB / 245.5 MB, free: 12.9 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.242e-05/0.01434, allocations: 76.42 kB / 245.6 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.01444, allocations: 60.7 kB / 245.7 MB, free: 12.76 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.01444, allocations: 0 / 245.7 MB, free: 12.76 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.01449, allocations: 40.78 kB / 245.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01474, allocations: 48.27 kB / 245.8 MB, free: 12.67 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/0.01549, allocations: 299.8 kB / 246 MB, free: 12.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.01554, allocations: 67.84 kB / 246.1 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.2e-05/0.01558, allocations: 17.52 kB / 246.1 MB, free: 12.23 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.01566, allocations: 71.36 kB / 246.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01566, allocations: 4 kB / 246.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of Templates: time 0.003812/0.01947, allocations: 2.086 MB / 248.3 MB, free: 10.12 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5126922484487295]