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.002617/0.002617, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003066/0.003066, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.572/1.572, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.405e-06/2.405e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.526e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.005144/0.005179, allocations: 1.678 MB / 274 MB, free: 160 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.007045, allocations: 0.5025 MB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.00716, allocations: 4 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.007331, allocations: 19.8 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.007477, allocations: 19.8 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.007759, allocations: 55.81 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.008077, allocations: 115.6 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.008221, allocations: 17.3 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.008382, allocations: 63.81 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.008494, allocations: 27.84 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.008529, allocations: 11.94 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/0.00856, allocations: 8 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.00861, allocations: 31.84 kB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.008681, allocations: 23.92 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.008964, allocations: 99.61 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.008969, allocations: 0 / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00897, allocations: 0 / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.008977, allocations: 4 kB / 275 MB, free: 15.16 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.001014/0.00999, allocations: 447.7 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.01004, allocations: 8.031 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.01016, allocations: 24.84 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.01055, allocations: 157 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.01058, allocations: 4.375 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.01063, allocations: 20.31 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.01106, allocations: 129.2 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.01108, allocations: 3.938 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.0111, allocations: 4 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01111, allocations: 4 kB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.01143, allocations: 59.91 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.01281, allocations: 0.6302 MB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.01338, allocations: 115 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.01385, allocations: 47.66 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.01387, allocations: 4 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.829e-05/0.01394, allocations: 41.52 kB / 276.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/0.01394, allocations: 4 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001801/0.01575, allocations: 409.3 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.01582, allocations: 55.34 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.01617, allocations: 221.8 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.01622, allocations: 33.69 kB / 277.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.01639, allocations: 154.8 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.01648, allocations: 55.58 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.0166, allocations: 43.36 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004238/0.01702, allocations: 0.4962 MB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.01725, allocations: 39.97 kB / 278.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.01755, allocations: 82.72 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.01809, allocations: 138.6 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01809, allocations: 0 / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006812/0.01877, allocations: 161.5 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.0188, allocations: 9.875 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.01881, allocations: 0 / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.01883, allocations: 0 / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.01913, allocations: 39.91 kB / 278.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.01914, allocations: 4.094 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.01927, allocations: 11.94 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.01929, allocations: 8 kB / 278.6 MB, free: 11.25 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 0.0002264/0.01951, allocations: 172.5 kB / 278.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.0196, allocations: 19.89 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/0.01969, allocations: 16.78 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01969, allocations: 0 / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01969, allocations: 0 / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.0197, allocations: 3.938 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.02116, allocations: 484.5 kB / 279.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.02116, allocations: 0 / 279.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.02146, allocations: 23.98 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.02147, allocations: 4 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.0215, allocations: 7.938 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.02151, allocations: 4 kB / 279.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.02151, allocations: 0 / 279.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.02255, allocations: 360.2 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.02259, allocations: 11.91 kB / 279.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.02263, allocations: 7.938 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.02282, allocations: 11.98 kB / 279.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.0229, allocations: 7.984 kB / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.02292, allocations: 8 kB / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.02312, allocations: 161.5 kB / 279.9 MB, free: 9.891 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.02312, allocations: 8 kB / 279.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004773/0.0236, allocations: 20 kB / 279.9 MB, free: 9.863 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 0.0001942/0.02379, allocations: 99.19 kB / 280 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.0244, allocations: 115.6 kB / 280.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0244, allocations: 0 / 280.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.0247, allocations: 67.91 kB / 280.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/0.02546, allocations: 47.23 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.02652, allocations: 313.9 kB / 280.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.0267, allocations: 98.78 kB / 280.6 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.123e-05/0.02679, allocations: 17.48 kB / 280.6 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.02686, allocations: 16.5 kB / 280.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of SimCode: time 1.001e-06/0.02686, allocations: 0 / 280.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of Templates: time 0.009864/0.03673, allocations: 1.858 MB / 282.5 MB, free: 7.215 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 -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","/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.665065178996883]