Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001233/0.001233, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.002947, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002607, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.944/0.944, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08861/1.033, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.188e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002144/0.002156, allocations: 1.751 MB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.005835, allocations: 0.518 MB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.005901, allocations: 4 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/0.005953, allocations: 15.8 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.006019, allocations: 35.72 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.802e-05/0.006117, allocations: 43.94 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.00626, allocations: 111.6 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.006343, allocations: 21.89 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.718e-05/0.00644, allocations: 75.75 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.00652, allocations: 43.83 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.006543, allocations: 8 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.006555, allocations: 4 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.006573, allocations: 15.94 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.006603, allocations: 19.94 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.006714, allocations: 67.69 kB / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.006726, allocations: 0 / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006727, allocations: 0 / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.006742, allocations: 0 / 247.7 MB, free: 10.9 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.0004003/0.007142, allocations: 336 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.007173, allocations: 20.61 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.007206, allocations: 12.94 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.007365, allocations: 150.1 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.007384, allocations: 8.375 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.007405, allocations: 12.31 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.007562, allocations: 124.5 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.007572, allocations: 3.938 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.007581, allocations: 8 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.007586, allocations: 0 / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.057e-05/0.007626, allocations: 19.94 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.008017, allocations: 412.3 kB / 248.8 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.595e-05/0.008113, allocations: 50.56 kB / 248.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.008142, allocations: 25.03 kB / 248.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.008154, allocations: 11.92 kB / 248.9 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.008174, allocations: 34.56 kB / 248.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.008175, allocations: 0 / 248.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.003471/0.01165, allocations: 281 kB / 249.2 MB, free: 9.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.01168, allocations: 55.41 kB / 249.3 MB, free: 9.219 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.01177, allocations: 148.2 kB / 249.4 MB, free: 9.062 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.01178, allocations: 25.7 kB / 249.4 MB, free: 9.031 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.01183, allocations: 104 kB / 249.5 MB, free: 8.926 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.01186, allocations: 51.56 kB / 249.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.0119, allocations: 29.7 kB / 249.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.01198, allocations: 330.8 kB / 249.9 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.012, allocations: 15.98 kB / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.01204, allocations: 43.41 kB / 250 MB, free: 8.438 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.974e-05/0.01211, allocations: 67.33 kB / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01211, allocations: 0 / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001071/0.01222, allocations: 89.59 kB / 250.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.01223, allocations: 8.094 kB / 250.2 MB, free: 8.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01224, allocations: 4 kB / 250.2 MB, free: 8.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.01225, allocations: 3.938 kB / 250.2 MB, free: 8.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.01236, allocations: 35.98 kB / 250.2 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.01236, allocations: 3.984 kB / 250.2 MB, free: 8.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.0124, allocations: 11.98 kB / 250.2 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.01241, allocations: 7.938 kB / 250.2 MB, free: 8.191 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 6.365e-05/0.01247, allocations: 121.7 kB / 250.3 MB, free: 8.062 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.0125, allocations: 11.98 kB / 250.4 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.01253, allocations: 12.78 kB / 250.4 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01253, allocations: 8 kB / 250.4 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01253, allocations: 0 / 250.4 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01254, allocations: 0 / 250.4 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.01286, allocations: 297.2 kB / 250.7 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01286, allocations: 0 / 250.7 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.01296, allocations: 27.98 kB / 250.7 MB, free: 7.684 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.01297, allocations: 15.89 kB / 250.7 MB, free: 7.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01297, allocations: 4 kB / 250.7 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.01298, allocations: 8.062 kB / 250.7 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01298, allocations: 3.938 kB / 250.7 MB, free: 7.652 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.01299, allocations: 4 kB / 250.7 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.01314, allocations: 205.2 kB / 250.9 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.01316, allocations: 4 kB / 250.9 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.01322, allocations: 8 kB / 250.9 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.01326, allocations: 19.91 kB / 251 MB, free: 7.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.01326, allocations: 7.938 kB / 251 MB, free: 7.387 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.413e-05/0.0133, allocations: 33.44 kB / 251 MB, free: 7.352 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0133, allocations: 4 kB / 251 MB, free: 7.348 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.01349, allocations: 20 kB / 251 MB, free: 7.328 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.894e-05/0.01356, allocations: 84.39 kB / 251.1 MB, free: 7.238 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.838e-05/0.01366, allocations: 52.77 kB / 251.2 MB, free: 7.184 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.01366, allocations: 4 kB / 251.2 MB, free: 7.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.01371, allocations: 36.78 kB / 251.2 MB, free: 7.141 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01396, allocations: 51.78 kB / 251.3 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.01767, allocations: 294.6 kB / 251.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01771, allocations: 75.69 kB / 251.6 MB, free: 6.676 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.059e-05/0.01776, allocations: 9.484 kB / 251.6 MB, free: 6.668 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.01784, allocations: 75.36 kB / 251.7 MB, free: 6.594 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01784, allocations: 0 / 251.7 MB, free: 6.594 MB / 250.7 MB Notification: Performance of Templates: time 0.006881/0.02472, allocations: 2.06 MB / 253.8 MB, free: 4.578 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.409804210998118]