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.001362/0.001362, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.00161/0.00161, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 1.046/1.046, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.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.984e-06/1.984e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.869e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002086/0.002105, allocations: 1.708 MB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.002881, allocations: 0.5065 MB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.002962, allocations: 3.938 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.003073, allocations: 11.81 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.524e-05/0.003149, allocations: 31.78 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.003303, allocations: 55.86 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.003465, allocations: 111.6 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.003574, allocations: 25.28 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.003647, allocations: 55.83 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.003725, allocations: 35.84 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.003752, allocations: 8 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.003765, allocations: 8 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.00379, allocations: 19.91 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.003823, allocations: 31.86 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003948, allocations: 67.67 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003951, allocations: 4 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003951, allocations: 0 / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.003956, allocations: 0 / 275.6 MB, free: 14.75 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.0004915/0.004448, allocations: 448 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.004495, allocations: 15.98 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.004548, allocations: 16.89 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.004755, allocations: 168.9 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.004779, allocations: 8.375 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.004809, allocations: 8.375 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.005025, allocations: 135.2 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.00504, allocations: 11.92 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.005053, allocations: 4 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.005062, allocations: 4 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.00512, allocations: 22.64 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.005673, allocations: 0.6222 MB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.005799, allocations: 71.03 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.005837, allocations: 23.69 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.005848, allocations: 11.98 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.00587, allocations: 37.39 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.005871, allocations: 0 / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005125/0.006384, allocations: 306.2 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.006411, allocations: 55.41 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.00652, allocations: 209.8 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.006531, allocations: 29.7 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.006603, allocations: 162.6 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.006626, allocations: 39.66 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.006668, allocations: 39.36 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.006793, allocations: 0.4962 MB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.006828, allocations: 23.92 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.891e-05/0.006877, allocations: 54.73 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.006968, allocations: 90.67 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006969, allocations: 0 / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001324/0.007101, allocations: 109.5 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.007115, allocations: 8 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.00712, allocations: 4.094 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.007134, allocations: 0 / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.007254, allocations: 39.92 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.00726, allocations: 0 / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.007295, allocations: 15.92 kB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.007305, allocations: 8 kB / 278.8 MB, free: 11.21 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 7.78e-05/0.007382, allocations: 160.6 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.007407, allocations: 19.84 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.007441, allocations: 16.78 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007443, allocations: 4 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.007449, allocations: 3.984 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.007455, allocations: 7.938 kB / 279 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.00784, allocations: 413 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.007843, allocations: 4 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.007929, allocations: 23.98 kB / 279.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.007935, allocations: 7.984 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.007948, allocations: 7.922 kB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.00795, allocations: 4.062 kB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.007952, allocations: 4 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.008197, allocations: 287.1 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.008212, allocations: 15.89 kB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.00823, allocations: 11.94 kB / 279.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.532e-05/0.008275, allocations: 4 kB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.008324, allocations: 15.97 kB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.00833, allocations: 4 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.597e-05/0.008396, allocations: 153.4 kB / 280 MB, free: 9.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008396, allocations: 4 kB / 280 MB, free: 9.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.00856, allocations: 19.98 kB / 280 MB, free: 9.953 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.876e-05/0.008629, allocations: 99.19 kB / 280.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.00876, allocations: 67.59 kB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008762, allocations: 0 / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.008809, allocations: 43.83 kB / 280.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.009066, allocations: 40.22 kB / 280.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.00949, allocations: 298 kB / 280.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.945e-05/0.00954, allocations: 75.77 kB / 280.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.009581, allocations: 13.48 kB / 280.6 MB, free: 9.254 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.009625, allocations: 16.5 kB / 280.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.009626, allocations: 0 / 280.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of Templates: time 0.003673/0.0133, allocations: 1.986 MB / 282.6 MB, free: 7.289 MB / 266.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 -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.8189533511176705]