Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001321/0.001321, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001502/0.001502, allocations: 209.9 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.043 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 72.77 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2558, allocations: 53.37 MB / 432.4 MB, free: 6.953 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002987/0.2588, allocations: 1.695 MB / 434.1 MB, free: 5.254 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001019/0.2598, allocations: 0.5298 MB / 434.6 MB, free: 4.719 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.2599, allocations: 7.938 kB / 434.6 MB, free: 4.711 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.26, allocations: 15.8 kB / 434.7 MB, free: 4.695 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.61e-05/0.2601, allocations: 23.8 kB / 434.7 MB, free: 4.672 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.2602, allocations: 47.94 kB / 434.7 MB, free: 4.625 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001748/0.2604, allocations: 111.6 kB / 434.8 MB, free: 4.516 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2605, allocations: 21.3 kB / 434.9 MB, free: 4.492 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.2606, allocations: 39.84 kB / 434.9 MB, free: 4.453 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.2607, allocations: 59.64 kB / 434.9 MB, free: 4.395 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.2607, allocations: 8 kB / 435 MB, free: 4.387 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.2607, allocations: 8 kB / 435 MB, free: 4.379 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.2607, allocations: 15.94 kB / 435 MB, free: 4.363 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.2608, allocations: 47.67 kB / 435 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2609, allocations: 99.02 kB / 435.1 MB, free: 4.227 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2609, allocations: 0 / 435.1 MB, free: 4.227 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.262e-06/0.2609, allocations: 3.938 kB / 435.1 MB, free: 4.223 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.571e-06/0.2609, allocations: 0 / 435.1 MB, free: 4.223 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.0005352/0.2615, allocations: 355.9 kB / 435.5 MB, free: 3.848 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2615, allocations: 8.031 kB / 435.5 MB, free: 3.84 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.2616, allocations: 20.83 kB / 435.5 MB, free: 3.82 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.2619, allocations: 154.8 kB / 435.7 MB, free: 3.645 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2619, allocations: 8.375 kB / 435.7 MB, free: 3.637 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.2619, allocations: 20.08 kB / 435.7 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.2622, allocations: 128.2 kB / 435.8 MB, free: 3.477 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.2622, allocations: 0 / 435.8 MB, free: 3.477 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.2622, allocations: 7.984 kB / 435.8 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2622, allocations: 7.984 kB / 435.8 MB, free: 3.461 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2624, allocations: 63.89 kB / 435.9 MB, free: 3.398 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.2632, allocations: 0.5195 MB / 436.4 MB, free: 2.828 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.2635, allocations: 126.4 kB / 436.5 MB, free: 2.695 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2636, allocations: 56.81 kB / 436.6 MB, free: 2.637 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2636, allocations: 4 kB / 436.6 MB, free: 2.633 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2637, allocations: 30.56 kB / 436.6 MB, free: 2.594 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.2637, allocations: 0 / 436.6 MB, free: 2.594 MB / 334.1 MB
Notification: Performance of matching and sorting (n=12): time 0.001006/0.2647, allocations: 460.7 kB / 437.1 MB, free: 2.109 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2647, allocations: 55.41 kB / 437.1 MB, free: 2.043 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.2649, allocations: 142.3 kB / 437.3 MB, free: 1.895 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.2649, allocations: 34.64 kB / 437.3 MB, free: 1.855 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.265, allocations: 108 kB / 437.4 MB, free: 1.746 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.265, allocations: 43.58 kB / 437.4 MB, free: 1.703 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.2651, allocations: 37.7 kB / 437.5 MB, free: 1.66 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001271/0.2652, allocations: 322.8 kB / 437.8 MB, free: 1.336 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.2653, allocations: 55.95 kB / 437.8 MB, free: 1.281 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.2655, allocations: 82.05 kB / 437.9 MB, free: 1.191 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.2657, allocations: 135.3 kB / 438.1 MB, free: 1.047 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2657, allocations: 0 / 438.1 MB, free: 1.047 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003526/0.2661, allocations: 185.4 kB / 438.2 MB, free: 0.8594 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2661, allocations: 7.938 kB / 438.3 MB, free: 0.8516 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2661, allocations: 7.938 kB / 438.3 MB, free: 0.8438 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2661, allocations: 4 kB / 438.3 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.2663, allocations: 35.97 kB / 438.3 MB, free: 0.8047 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2663, allocations: 3.984 kB / 438.3 MB, free: 0.8008 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.2664, allocations: 15.98 kB / 438.3 MB, free: 0.7852 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.2664, allocations: 4 kB / 438.3 MB, free: 0.7812 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 9.01e-05/0.2665, allocations: 129.8 kB / 438.4 MB, free: 0.6445 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.2665, allocations: 11.91 kB / 438.5 MB, free: 0.6328 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.2665, allocations: 20.66 kB / 438.5 MB, free: 0.6133 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2665, allocations: 0 / 438.5 MB, free: 0.6133 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2665, allocations: 0 / 438.5 MB, free: 0.6133 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2665, allocations: 3.984 kB / 438.5 MB, free: 0.6094 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.2672, allocations: 471 kB / 438.9 MB, free: 96 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2673, allocations: 3.984 kB / 438.9 MB, free: 92 kB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.2674, allocations: 31.92 kB / 439 MB, free: 60 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2674, allocations: 4 kB / 439 MB, free: 56 kB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.2674, allocations: 0 / 439 MB, free: 56 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2674, allocations: 4.062 kB / 439 MB, free: 52 kB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2674, allocations: 4 kB / 439 MB, free: 48 kB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.2679, allocations: 321 kB / 439.3 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.2679, allocations: 11.91 kB / 439.3 MB, free: 15.7 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.268, allocations: 4 kB / 439.3 MB, free: 15.7 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2681, allocations: 12.03 kB / 439.3 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.2681, allocations: 15.92 kB / 439.3 MB, free: 15.67 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2681, allocations: 4 kB / 439.3 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.447e-05/0.2682, allocations: 122.8 kB / 439.5 MB, free: 15.55 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2682, allocations: 4 kB / 439.5 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002356/0.2684, allocations: 20 kB / 439.5 MB, free: 15.52 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 8.124e-05/0.2685, allocations: 95.19 kB / 439.6 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003402/0.2689, allocations: 123.8 kB / 439.7 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2689, allocations: 4.188 kB / 439.7 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.269, allocations: 71.92 kB / 439.8 MB, free: 15.23 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.2694, allocations: 38.33 kB / 439.8 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.2699, allocations: 316.5 kB / 440.1 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.2702, allocations: 0.7161 MB / 440.8 MB, free: 14.11 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 5.046e-05/0.2703, allocations: 17.36 kB / 440.9 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.2703, allocations: 15.44 kB / 440.9 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.2703, allocations: 0 / 440.9 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of Templates: time 0.004584/0.2749, allocations: 1.798 MB / 442.7 MB, free: 12.3 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.458547865971923]