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.001284/0.001284, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001652/0.001652, allocations: 217 kB / 24.5 MB, free: 4.133 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.45/1.45, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.00188/0.00188, allocations: 63.91 kB / 379 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2407, allocations: 53.41 MB / 432.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002895/0.2436, allocations: 1.702 MB / 434.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.2446, allocations: 0.5259 MB / 434.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.2447, allocations: 3.938 kB / 434.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.2448, allocations: 11.86 kB / 434.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.2449, allocations: 31.78 kB / 434.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.245, allocations: 43.89 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.2452, allocations: 123.6 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2453, allocations: 13.3 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.078e-05/0.2454, allocations: 51.72 kB / 434.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.2455, allocations: 47.78 kB / 435 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.2455, allocations: 8 kB / 435 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.2455, allocations: 8 kB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.2455, allocations: 23.86 kB / 435 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.2456, allocations: 51.66 kB / 435.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.2457, allocations: 88.78 kB / 435.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.2457, allocations: 8 kB / 435.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2457, allocations: 0 / 435.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2457, allocations: 0 / 435.2 MB, free: 4.035 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.000581/0.2463, allocations: 357.7 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2464, allocations: 8.031 kB / 435.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.2464, allocations: 16.84 kB / 435.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.2467, allocations: 154.3 kB / 435.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2467, allocations: 8.375 kB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.2467, allocations: 20.08 kB / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.247, allocations: 130.9 kB / 435.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.247, allocations: 4 kB / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2471, allocations: 4 kB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2471, allocations: 0 / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.2473, allocations: 67.89 kB / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.248, allocations: 0.5234 MB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.2483, allocations: 130.5 kB / 436.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.2485, allocations: 60.94 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.2485, allocations: 0 / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2485, allocations: 34.56 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/0.2485, allocations: 4 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001078/0.2496, allocations: 453.4 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.2496, allocations: 51.41 kB / 437.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2498, allocations: 153.4 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.2498, allocations: 33.64 kB / 437.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.2499, allocations: 112 kB / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.2499, allocations: 43.58 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.25, allocations: 33.72 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2501, allocations: 318.8 kB / 437.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2503, allocations: 59.95 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.2504, allocations: 81.89 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.2507, allocations: 135.3 kB / 438.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2508, allocations: 4 kB / 438.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003768/0.2511, allocations: 180.9 kB / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2511, allocations: 4 kB / 438.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2512, allocations: 3.938 kB / 438.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2512, allocations: 4 kB / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.2513, allocations: 39.91 kB / 438.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2513, allocations: 0 / 438.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.327e-05/0.2514, allocations: 15.98 kB / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.2514, allocations: 4 kB / 438.4 MB, free: 0.6016 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.0001038/0.2515, allocations: 125.8 kB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2516, allocations: 15.91 kB / 438.5 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.2516, allocations: 24.58 kB / 438.5 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2516, allocations: 4 kB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2516, allocations: 0 / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2516, allocations: 0 / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007918/0.2524, allocations: 467 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2524, allocations: 4 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.2526, allocations: 31.97 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2526, allocations: 0 / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.2526, allocations: 8.062 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2526, allocations: 4 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2526, allocations: 0 / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.2532, allocations: 316.9 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.2532, allocations: 15.91 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.2532, allocations: 11.94 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2533, allocations: 12.03 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.2534, allocations: 16.06 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.2534, allocations: 7.938 kB / 439.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.241e-05/0.2535, allocations: 116.1 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2535, allocations: 4 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.2537, allocations: 20 kB / 439.5 MB, free: 15.34 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.0001029/0.2538, allocations: 99.12 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.2542, allocations: 115.9 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2542, allocations: 4.188 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.2544, allocations: 63.89 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.2548, allocations: 36.12 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.2554, allocations: 350.1 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.2558, allocations: 0.7122 MB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.2558, allocations: 15.44 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2558, allocations: 4 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Templates: time 0.003547/0.2593, allocations: 1.69 MB / 442.6 MB, free: 12.19 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/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_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: 6.990439204964787]