Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002244/0.002244, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 51.86 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2431, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002846/0.2459, allocations: 1.656 MB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009233/0.2469, allocations: 498.7 kB / 434.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.2469, allocations: 3.938 kB / 434.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.2471, allocations: 15.86 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.417e-05/0.2472, allocations: 27.73 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.2473, allocations: 51.94 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.2475, allocations: 115.6 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2476, allocations: 25.09 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.2477, allocations: 39.8 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.2478, allocations: 55.69 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.2478, allocations: 8 kB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.2478, allocations: 8 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.2479, allocations: 23.86 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.2479, allocations: 27.81 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.2481, allocations: 102.4 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2481, allocations: 4 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2481, allocations: 0 / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2481, allocations: 0 / 435 MB, free: 4.062 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.0005731/0.2486, allocations: 353.7 kB / 435.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2487, allocations: 12.03 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.2487, allocations: 12.84 kB / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.249, allocations: 150.9 kB / 435.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.249, allocations: 12.33 kB / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.249, allocations: 24 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.2493, allocations: 126.4 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2494, allocations: 4 kB / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2494, allocations: 4 kB / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2494, allocations: 0 / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.2496, allocations: 71.89 kB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.2503, allocations: 480.6 kB / 436.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.2506, allocations: 126.5 kB / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2508, allocations: 60.94 kB / 436.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2508, allocations: 7.984 kB / 436.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.2508, allocations: 34.56 kB / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.2508, allocations: 0 / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001118/0.2519, allocations: 452.6 kB / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.252, allocations: 55.41 kB / 436.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2521, allocations: 151.9 kB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2521, allocations: 25.7 kB / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.2522, allocations: 108 kB / 437.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.2523, allocations: 51.58 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.2523, allocations: 29.7 kB / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2525, allocations: 330.8 kB / 437.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2526, allocations: 47.97 kB / 437.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.2528, allocations: 87.53 kB / 437.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.2531, allocations: 142.9 kB / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2531, allocations: 0 / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003815/0.2535, allocations: 173.5 kB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2535, allocations: 4 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2535, allocations: 4 kB / 438 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2535, allocations: 7.938 kB / 438 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.2537, allocations: 44 kB / 438.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2537, allocations: 0 / 438.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.2538, allocations: 11.98 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2538, allocations: 8 kB / 438.1 MB, free: 0.6836 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.0001108/0.2539, allocations: 129.7 kB / 438.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.2539, allocations: 15.91 kB / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.254, allocations: 12.72 kB / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.254, allocations: 3.938 kB / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.254, allocations: 4 kB / 438.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.254, allocations: 0 / 438.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000743/0.2547, allocations: 428.6 kB / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2547, allocations: 0 / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.2549, allocations: 36.03 kB / 438.7 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2549, allocations: 4 kB / 438.7 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.2549, allocations: 4.094 kB / 438.7 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2549, allocations: 7.938 kB / 438.7 MB, free: 0 / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.56e-05/0.2549, allocations: 112 / 438.7 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.2555, allocations: 324.8 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.2555, allocations: 15.91 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.2555, allocations: 4 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2557, allocations: 11.98 kB / 439.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.2557, allocations: 11.98 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.2557, allocations: 4 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.98e-05/0.2558, allocations: 118.9 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2558, allocations: 0 / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.2561, allocations: 20 kB / 439.2 MB, free: 15.48 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 9.88e-05/0.2562, allocations: 99.19 kB / 439.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003546/0.2565, allocations: 119.8 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2565, allocations: 0 / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.2567, allocations: 68.2 kB / 439.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.2571, allocations: 54.41 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.2577, allocations: 316.3 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2578, allocations: 102.7 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.899e-05/0.2579, allocations: 17.52 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.2579, allocations: 15.44 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2579, allocations: 192 / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Templates: time 0.004956/0.2628, allocations: 1.98 MB / 442 MB, free: 12.71 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.336765551997814]