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.0009505/0.0009505, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001107/0.001107, allocations: 160.6 kB / 24.91 MB, free: 8.727 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.9861/0.9861, allocations: 177 MB / 205.2 MB, free: 5.473 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 2.565e-06/2.565e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.499e-05, allocations: 2.312 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002617/0.002652, allocations: 1.695 MB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.003551, allocations: 0.5257 MB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.003667, allocations: 0 / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.003789, allocations: 15.81 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.945e-05/0.003868, allocations: 27.78 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.004027, allocations: 51.92 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.004207, allocations: 111.6 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.004306, allocations: 25.94 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.005e-05/0.004386, allocations: 59.77 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.736e-05/0.004464, allocations: 39.83 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.004493, allocations: 8 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.004506, allocations: 8 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.00453, allocations: 19.92 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.00456, allocations: 31.84 kB / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004677, allocations: 67.69 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.00468, allocations: 0 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.004682, allocations: 0 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004686, allocations: 0 / 276 MB, free: 14.57 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.0003648/0.005051, allocations: 328.3 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.005087, allocations: 11.98 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.005125, allocations: 16.92 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.005291, allocations: 150.2 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.005311, allocations: 8.375 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.005337, allocations: 12.38 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.005499, allocations: 120.7 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.005509, allocations: 11.94 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.00552, allocations: 7.984 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.005525, allocations: 0 / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.573e-05/0.005561, allocations: 23.94 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.005964, allocations: 396.3 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.006063, allocations: 62.47 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.006088, allocations: 20.86 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.006099, allocations: 8 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.006122, allocations: 38.69 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.006124, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004687/0.006592, allocations: 281 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.006627, allocations: 55.41 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.006719, allocations: 158.5 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.006731, allocations: 29.7 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.006773, allocations: 96.02 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.006795, allocations: 47.64 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.00683, allocations: 37.64 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.006907, allocations: 330.7 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.006927, allocations: 16 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.006961, allocations: 43.41 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.91e-05/0.00702, allocations: 63.33 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007021, allocations: 0 / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.489e-05/0.007116, allocations: 93.5 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.00713, allocations: 8 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007135, allocations: 0 / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.007148, allocations: 0 / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.007241, allocations: 35.92 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.007245, allocations: 0 / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.007278, allocations: 15.98 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.007283, allocations: 0 / 278.5 MB, free: 11.88 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.347e-05/0.007356, allocations: 125.7 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.007377, allocations: 12.06 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.007409, allocations: 16.77 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007411, allocations: 4 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.007413, allocations: 0 / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007416, allocations: 0 / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.007715, allocations: 292.3 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.007716, allocations: 0 / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.007793, allocations: 31.92 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.007796, allocations: 64 / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.007805, allocations: 12 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007807, allocations: 0 / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.00781, allocations: 3.938 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.007955, allocations: 197.2 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.007969, allocations: 11.91 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.007983, allocations: 8 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.008025, allocations: 7.984 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.00806, allocations: 15.92 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.008065, allocations: 4 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.008096, allocations: 39.05 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008096, allocations: 0 / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.008229, allocations: 20 kB / 279.3 MB, free: 11.02 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.488e-05/0.008324, allocations: 80.36 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.921e-05/0.008424, allocations: 60.7 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.008427, allocations: 0 / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.008465, allocations: 40.78 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.008691, allocations: 56.81 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.009089, allocations: 282.6 kB / 279.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.009134, allocations: 71.83 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.312e-05/0.009177, allocations: 9.484 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/0.009271, allocations: 79.34 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009272, allocations: 0 / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of Templates: time 0.004053/0.01332, allocations: 2.008 MB / 282 MB, free: 8.324 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.5390296606346965]