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.0009819/0.0009819, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001203/0.001203, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 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 0.9704/0.9704, allocations: 177 MB / 205.2 MB, free: 5.055 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.924e-06/1.924e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.498e-05, allocations: 2.312 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002115/0.00213, allocations: 1.739 MB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007513/0.002881, allocations: 0.5219 MB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.002954, allocations: 7.938 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.468e-05/0.003049, allocations: 7.875 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.003114, allocations: 27.78 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.003244, allocations: 55.8 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.003373, allocations: 107.6 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.628e-05/0.003459, allocations: 25.94 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.003533, allocations: 59.83 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.003609, allocations: 39.83 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.003635, allocations: 8 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.003647, allocations: 8 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.00367, allocations: 15.92 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.003697, allocations: 31.86 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.003797, allocations: 71.61 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003799, allocations: 0 / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003799, allocations: 0 / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.003802, allocations: 4 kB / 276.1 MB, free: 14.31 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.0002877/0.00409, allocations: 324.4 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.004124, allocations: 15.98 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.004149, allocations: 16.92 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.004288, allocations: 158.1 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.004302, allocations: 4.375 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.004321, allocations: 8.375 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.004446, allocations: 113.5 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.004456, allocations: 11.88 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.004465, allocations: 11.98 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.004469, allocations: 0 / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.148e-05/0.004501, allocations: 19.98 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.004843, allocations: 404.3 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.133e-05/0.004924, allocations: 58.47 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/0.005021, allocations: 20.86 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.005033, allocations: 8 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.005058, allocations: 34.56 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.005059, allocations: 0 / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004651/0.005524, allocations: 282 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.005559, allocations: 51.41 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.005648, allocations: 150.6 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.005662, allocations: 33.7 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.005709, allocations: 100 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.00573, allocations: 43.64 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.00577, allocations: 41.64 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.005859, allocations: 330.7 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/0.005878, allocations: 8 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.00592, allocations: 50.62 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/0.005981, allocations: 63.39 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.005982, allocations: 4 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.924e-05/0.006071, allocations: 97.41 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.006084, allocations: 4 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.00609, allocations: 4 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.006105, allocations: 0 / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.006219, allocations: 35.92 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.006222, allocations: 0 / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.006271, allocations: 15.98 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.006277, allocations: 0 / 278.6 MB, free: 11.62 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.951e-05/0.006357, allocations: 117.8 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.006387, allocations: 16.09 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.006425, allocations: 20.77 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006427, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.006429, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.006433, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.006733, allocations: 296.2 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.006735, allocations: 0 / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.006814, allocations: 39.92 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.006817, allocations: 8.062 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.006824, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006825, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.006828, allocations: 7.938 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.006984, allocations: 201.2 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.006995, allocations: 15.84 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.007008, allocations: 4 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.007053, allocations: 11.98 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.007096, allocations: 15.92 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.007099, allocations: 0 / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.356e-05/0.007133, allocations: 42.84 kB / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007133, allocations: 4 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000128/0.007261, allocations: 16 kB / 279.4 MB, free: 10.76 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.843e-05/0.007329, allocations: 76.42 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.007435, allocations: 64.64 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.007439, allocations: 4 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.007478, allocations: 32.78 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.007678, allocations: 44.31 kB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.008046, allocations: 282.6 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.008093, allocations: 71.83 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.008137, allocations: 13.48 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.008217, allocations: 75.36 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of SimCode: time 4.7e-07/0.008217, allocations: 4 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of Templates: time 0.003444/0.01166, allocations: 2.004 MB / 282.1 MB, free: 8.074 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 -s gbode -gbm=radauIIA3 -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.5855729742906988]