Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 104.8 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 59.89 kB / 347.6 MB, free: 9.582 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3555, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003079/0.3586, allocations: 1.679 MB / 398.5 MB, free: 8.348 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009196/0.3595, allocations: 0.5349 MB / 399 MB, free: 7.969 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.3596, allocations: 1.125 kB / 399 MB, free: 7.969 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3597, allocations: 16.06 kB / 399 MB, free: 7.957 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.3598, allocations: 27.5 kB / 399.1 MB, free: 7.938 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.36, allocations: 53.11 kB / 399.1 MB, free: 7.906 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000186/0.3602, allocations: 111.6 kB / 399.2 MB, free: 7.855 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3603, allocations: 23.44 kB / 399.2 MB, free: 7.848 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.3604, allocations: 48.11 kB / 399.3 MB, free: 7.82 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.3605, allocations: 47.62 kB / 399.3 MB, free: 7.793 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.3605, allocations: 7.438 kB / 399.3 MB, free: 7.793 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.3605, allocations: 7.625 kB / 399.3 MB, free: 7.793 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.3606, allocations: 25.61 kB / 399.4 MB, free: 7.773 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.3606, allocations: 49.77 kB / 399.4 MB, free: 7.738 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3608, allocations: 97.52 kB / 399.5 MB, free: 7.695 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3608, allocations: 0 / 399.5 MB, free: 7.695 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.543e-06/0.3608, allocations: 0 / 399.5 MB, free: 7.695 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 7.624e-06/0.3608, allocations: 1.844 kB / 399.5 MB, free: 7.695 MB / 318.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.0005745/0.3614, allocations: 357.1 kB / 399.9 MB, free: 7.379 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3614, allocations: 13.08 kB / 399.9 MB, free: 7.375 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.3615, allocations: 12.61 kB / 399.9 MB, free: 7.371 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3618, allocations: 159.8 kB / 400.1 MB, free: 7.219 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3618, allocations: 8.594 kB / 400.1 MB, free: 7.215 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.3618, allocations: 18.53 kB / 400.1 MB, free: 7.203 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.3621, allocations: 123.1 kB / 400.2 MB, free: 7.129 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3621, allocations: 4 kB / 400.2 MB, free: 7.125 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3621, allocations: 5.438 kB / 400.2 MB, free: 7.121 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3621, allocations: 2.594 kB / 400.2 MB, free: 7.121 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.3624, allocations: 68.02 kB / 400.3 MB, free: 7.105 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.363, allocations: 0.5218 MB / 400.8 MB, free: 6.641 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.3634, allocations: 125.3 kB / 400.9 MB, free: 6.594 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3636, allocations: 66.59 kB / 401 MB, free: 6.566 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3636, allocations: 0 / 401 MB, free: 6.566 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.3636, allocations: 36.22 kB / 401 MB, free: 6.523 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.041e-06/0.3636, allocations: 0 / 401 MB, free: 6.523 MB / 318.1 MB
Notification: Performance of matching and sorting (n=12): time 0.001147/0.3647, allocations: 451.6 kB / 401.5 MB, free: 6.27 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.3648, allocations: 53.23 kB / 401.5 MB, free: 6.207 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3649, allocations: 159.8 kB / 401.7 MB, free: 6.082 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3649, allocations: 30.92 kB / 401.7 MB, free: 6.047 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.365, allocations: 113.5 kB / 401.8 MB, free: 5.941 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.365, allocations: 41.09 kB / 401.8 MB, free: 5.91 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.365, allocations: 38.7 kB / 401.9 MB, free: 5.879 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 5.919e-05/0.3651, allocations: 322 kB / 402.2 MB, free: 5.562 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3653, allocations: 50.86 kB / 402.3 MB, free: 5.551 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.3654, allocations: 86.25 kB / 402.3 MB, free: 5.5 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.3658, allocations: 133.9 kB / 402.5 MB, free: 5.434 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3658, allocations: 0 / 402.5 MB, free: 5.434 MB / 318.1 MB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003918/0.3662, allocations: 172.3 kB / 402.6 MB, free: 5.363 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3662, allocations: 5.406 kB / 402.6 MB, free: 5.363 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3662, allocations: 5.516 kB / 402.6 MB, free: 5.359 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3662, allocations: 2.438 kB / 402.6 MB, free: 5.359 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.3664, allocations: 43.25 kB / 402.7 MB, free: 5.352 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3664, allocations: 1.375 kB / 402.7 MB, free: 5.352 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.113e-05/0.3665, allocations: 19.83 kB / 402.7 MB, free: 5.344 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3665, allocations: 4.703 kB / 402.7 MB, free: 5.344 MB / 318.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 7.27e-05/0.3666, allocations: 122.4 kB / 402.8 MB, free: 5.219 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.3666, allocations: 14.33 kB / 402.8 MB, free: 5.211 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.3666, allocations: 21.34 kB / 402.9 MB, free: 5.191 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3666, allocations: 1.469 kB / 402.9 MB, free: 5.191 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3667, allocations: 4 kB / 402.9 MB, free: 5.188 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3667, allocations: 2.672 kB / 402.9 MB, free: 5.188 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/0.3674, allocations: 471.6 kB / 403.3 MB, free: 4.84 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3674, allocations: 1.062 kB / 403.3 MB, free: 4.84 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.3676, allocations: 31 kB / 403.4 MB, free: 4.84 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3676, allocations: 2.562 kB / 403.4 MB, free: 4.84 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3676, allocations: 5.609 kB / 403.4 MB, free: 4.836 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3676, allocations: 1.156 kB / 403.4 MB, free: 4.836 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3676, allocations: 4.844 kB / 403.4 MB, free: 4.832 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.3681, allocations: 324.2 kB / 403.7 MB, free: 4.629 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.3682, allocations: 16.16 kB / 403.7 MB, free: 4.617 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3682, allocations: 4.125 kB / 403.7 MB, free: 4.617 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3683, allocations: 17.08 kB / 403.7 MB, free: 4.609 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.3684, allocations: 14.97 kB / 403.8 MB, free: 4.605 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3684, allocations: 2.531 kB / 403.8 MB, free: 4.605 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 7.928e-05/0.3684, allocations: 114.6 kB / 403.9 MB, free: 4.52 MB / 318.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3684, allocations: 0 / 403.9 MB, free: 4.52 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.000261/0.3687, allocations: 20.91 kB / 403.9 MB, free: 4.516 MB / 318.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.305e-05/0.3688, allocations: 100 kB / 404 MB, free: 4.422 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004143/0.3692, allocations: 125.8 kB / 404.1 MB, free: 4.391 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3692, allocations: 0 / 404.1 MB, free: 4.391 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000229/0.3694, allocations: 65.69 kB / 404.2 MB, free: 4.375 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.3699, allocations: 43.66 kB / 404.2 MB, free: 4.359 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.3707, allocations: 327.4 kB / 404.5 MB, free: 4.125 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.3709, allocations: 0.712 MB / 405.2 MB, free: 3.422 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 6.706e-05/0.3709, allocations: 14.44 kB / 405.3 MB, free: 3.422 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.371, allocations: 14.66 kB / 405.3 MB, free: 3.414 MB / 318.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.371, allocations: 1.094 kB / 405.3 MB, free: 3.414 MB / 318.1 MB
Notification: Performance of Templates: time 0.006533/0.3775, allocations: 1.808 MB / 407.1 MB, free: 3.242 MB / 318.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.901041565462947]