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.001878/0.001878, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002489/0.002489, allocations: 207 kB / 23.72 MB, free: 4.391 MB / 14.72 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.549/1.549, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002349/0.002349, allocations: 67.88 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2822, allocations: 53.4 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003957/0.2862, allocations: 1.655 MB / 433.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2874, allocations: 494.7 kB / 433.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.2875, allocations: 7.938 kB / 433.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2876, allocations: 15.8 kB / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2878, allocations: 31.8 kB / 433.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.288, allocations: 43.94 kB / 433.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.2882, allocations: 115.6 kB / 434 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2884, allocations: 29.08 kB / 434 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.167e-05/0.2884, allocations: 43.8 kB / 434 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2885, allocations: 39.72 kB / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2886, allocations: 8 kB / 434.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.2886, allocations: 8 kB / 434.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.2886, allocations: 23.86 kB / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.2887, allocations: 35.8 kB / 434.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.2889, allocations: 101.9 kB / 434.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2889, allocations: 0 / 434.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2889, allocations: 4 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2889, allocations: 0 / 434.3 MB, free: 3.879 MB / 334.1 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.0007664/0.2897, allocations: 349.8 kB / 434.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.2897, allocations: 11.98 kB / 434.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.2898, allocations: 16.84 kB / 434.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.2901, allocations: 162.4 kB / 434.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2902, allocations: 12.33 kB / 434.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.2902, allocations: 20.12 kB / 434.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.2906, allocations: 127.1 kB / 434.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2906, allocations: 0 / 434.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2906, allocations: 4 kB / 434.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2906, allocations: 4 kB / 435 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.2908, allocations: 71.88 kB / 435 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008915/0.2917, allocations: 480.6 kB / 435.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.2922, allocations: 130.4 kB / 435.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2923, allocations: 56.83 kB / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2924, allocations: 3.984 kB / 435.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.2924, allocations: 34.56 kB / 435.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.2924, allocations: 7.938 kB / 435.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001301/0.2937, allocations: 452.8 kB / 436.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.2938, allocations: 51.41 kB / 436.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2939, allocations: 153.3 kB / 436.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.294, allocations: 25.7 kB / 436.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2941, allocations: 112 kB / 436.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.2941, allocations: 47.58 kB / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.2942, allocations: 29.72 kB / 436.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.2944, allocations: 330.8 kB / 436.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.2945, allocations: 47.95 kB / 436.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2947, allocations: 79.55 kB / 437 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.295, allocations: 135.3 kB / 437.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.295, allocations: 0 / 437.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00043/0.2955, allocations: 188.8 kB / 437.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2955, allocations: 4 kB / 437.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2955, allocations: 8.031 kB / 437.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.2955, allocations: 7.938 kB / 437.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.2957, allocations: 35.97 kB / 437.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.2957, allocations: 4 kB / 437.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.2958, allocations: 11.98 kB / 437.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.2958, allocations: 11.94 kB / 437.4 MB, free: 0.4922 MB / 334.1 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 0.0001292/0.296, allocations: 113.8 kB / 437.5 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.296, allocations: 15.91 kB / 437.5 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.2961, allocations: 12.72 kB / 437.6 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.2961, allocations: 11.92 kB / 437.6 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2961, allocations: 4 kB / 437.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2961, allocations: 0 / 437.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009105/0.297, allocations: 424.7 kB / 438 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.297, allocations: 8.062 kB / 438 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.2972, allocations: 35.91 kB / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2972, allocations: 0 / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2972, allocations: 8 kB / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.2972, allocations: 4.094 kB / 438 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2972, allocations: 3.938 kB / 438 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.2978, allocations: 325 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.2979, allocations: 15.91 kB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.2979, allocations: 0 / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.298, allocations: 12.03 kB / 438.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.2981, allocations: 19.91 kB / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2981, allocations: 4 kB / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2982, allocations: 116.1 kB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2982, allocations: 0 / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.2985, allocations: 20 kB / 438.5 MB, free: 15.29 MB / 350.1 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 0.0001262/0.2986, allocations: 95.25 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.299, allocations: 119.8 kB / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.299, allocations: 0 / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.2992, allocations: 72.2 kB / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.2996, allocations: 39.81 kB / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.3003, allocations: 316.2 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3005, allocations: 106.6 kB / 439.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.501e-05/0.3005, allocations: 17.5 kB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.3006, allocations: 15.44 kB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3006, allocations: 192 / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Templates: time 0.006021/0.3066, allocations: 1.929 MB / 441.2 MB, free: 12.56 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.677835643291473]