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.001228/0.001228, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001496/0.001496, allocations: 160.5 kB / 24.55 MB, free: 16 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.054/1.054, 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.883e-06/1.883e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.192e-05/4.38e-05, allocations: 5.406 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003202/0.003246, allocations: 1.713 MB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008249/0.004071, allocations: 0.5064 MB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/0.004155, allocations: 3.938 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.004272, allocations: 11.86 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.00435, allocations: 31.72 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.004508, allocations: 51.88 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.004662, allocations: 115.6 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.004769, allocations: 21.23 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.004844, allocations: 63.81 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.004916, allocations: 27.91 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.004938, allocations: 8 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.004952, allocations: 8 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.004977, allocations: 27.84 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.005007, allocations: 23.92 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.005142, allocations: 75.61 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.005145, allocations: 0 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005147, allocations: 0 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.005153, allocations: 0 / 275.6 MB, free: 14.76 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.0004596/0.005613, allocations: 448 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.005656, allocations: 15.98 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.005704, allocations: 16.89 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.005926, allocations: 172.9 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.005949, allocations: 4.375 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.005978, allocations: 8.375 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.006194, allocations: 130.1 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.006206, allocations: 7.938 kB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.006218, allocations: 4 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.006226, allocations: 4 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.006287, allocations: 34.72 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.00704, allocations: 0.6145 MB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.007181, allocations: 74.98 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.007222, allocations: 27.67 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.007233, allocations: 8 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.007258, allocations: 33.39 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.545e-06/0.007261, allocations: 0 / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006143/0.007875, allocations: 317.5 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.00791, allocations: 55.41 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.00804, allocations: 209.8 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.008051, allocations: 25.7 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.008135, allocations: 154.8 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.008163, allocations: 51.58 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.008208, allocations: 35.36 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.008347, allocations: 0.5001 MB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.008384, allocations: 15.98 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.008441, allocations: 58.67 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.65e-05/0.008538, allocations: 86.73 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008539, allocations: 0 / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001545/0.008694, allocations: 117.1 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.008712, allocations: 8.094 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.008718, allocations: 4 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.008734, allocations: 3.984 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.008848, allocations: 35.92 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.008854, allocations: 0 / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.008892, allocations: 15.94 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.008899, allocations: 4 kB / 278.8 MB, free: 11.22 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.984e-05/0.008979, allocations: 164.6 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.009004, allocations: 19.89 kB / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.009042, allocations: 20.72 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.009044, allocations: 4 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.009049, allocations: 4 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.009054, allocations: 3.938 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.009439, allocations: 416.6 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.009442, allocations: 4 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.009532, allocations: 27.92 kB / 279.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.009536, allocations: 4 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.00955, allocations: 8 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.009552, allocations: 4 kB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.009555, allocations: 4 kB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.009779, allocations: 279.1 kB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.009794, allocations: 11.91 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.00981, allocations: 15.88 kB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.009862, allocations: 7.984 kB / 279.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.009908, allocations: 11.98 kB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.009915, allocations: 4 kB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.051e-05/0.009985, allocations: 157.4 kB / 280 MB, free: 9.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.009985, allocations: 4 kB / 280 MB, free: 9.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.01014, allocations: 20 kB / 280 MB, free: 9.961 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 9.487e-05/0.01023, allocations: 91.25 kB / 280.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.01037, allocations: 75.73 kB / 280.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01037, allocations: 0 / 280.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.01042, allocations: 47.55 kB / 280.2 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.01071, allocations: 36.28 kB / 280.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.01118, allocations: 299.2 kB / 280.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.007e-05/0.01123, allocations: 71.83 kB / 280.6 MB, free: 9.281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.01127, allocations: 13.48 kB / 280.6 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.01131, allocations: 16.5 kB / 280.6 MB, free: 9.25 MB / 266.7 MB Notification: Performance of SimCode: time 1.143e-06/0.01131, allocations: 0 / 280.6 MB, free: 9.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004053/0.01536, allocations: 1.855 MB / 282.5 MB, free: 7.426 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.9803693401627243]