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.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.001209/0.001209, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001246/0.001246, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.299/1.299, allocations: 207.6 MB / 232.5 MB, free: 3.895 MB / 174.1 MB " [Timeout remaining time 179] 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.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: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 59.92 kB / 343 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.07993, allocations: 49.12 MB / 392.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002737/0.08267, allocations: 1.695 MB / 393.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008557/0.08352, allocations: 0.5266 MB / 394.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.0836, allocations: 4 kB / 394.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.768e-05/0.08369, allocations: 11.81 kB / 394.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.08377, allocations: 27.78 kB / 394.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.08391, allocations: 51.88 kB / 394.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.08409, allocations: 115.6 kB / 394.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.08419, allocations: 21.11 kB / 394.6 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.08426, allocations: 51.72 kB / 394.6 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.08433, allocations: 39.78 kB / 394.6 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.08435, allocations: 8 kB / 394.7 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.08437, allocations: 8 kB / 394.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.0844, allocations: 19.92 kB / 394.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.08445, allocations: 51.61 kB / 394.7 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.0846, allocations: 95.5 kB / 394.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.08461, allocations: 3.984 kB / 394.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08461, allocations: 4 kB / 394.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.08461, allocations: 0 / 394.8 MB, free: 5.969 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.0005765/0.08519, allocations: 430.8 kB / 395.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.08523, allocations: 12.03 kB / 395.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.014e-05/0.08524, allocations: 192 / 395.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.08527, allocations: 38.75 kB / 395.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.0853, allocations: 16.84 kB / 395.3 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.08557, allocations: 216.7 kB / 395.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.08559, allocations: 16.11 kB / 395.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.08561, allocations: 8 kB / 395.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.0859, allocations: 132.1 kB / 395.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.08591, allocations: 8 kB / 395.7 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.08592, allocations: 0 / 395.7 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.08593, allocations: 0 / 395.7 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.08614, allocations: 67.89 kB / 395.8 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007196/0.08686, allocations: 0.5516 MB / 396.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.0872, allocations: 126.5 kB / 396.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.08735, allocations: 57 kB / 396.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.08737, allocations: 7.938 kB / 396.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.0874, allocations: 34.56 kB / 396.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.0874, allocations: 0 / 396.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.00113/0.08853, allocations: 0.5134 MB / 397 MB, free: 3.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.08858, allocations: 51.41 kB / 397.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.08871, allocations: 161.9 kB / 397.2 MB, free: 3.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.08874, allocations: 29.7 kB / 397.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.08881, allocations: 116 kB / 397.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.08885, allocations: 47.59 kB / 397.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.08891, allocations: 33.7 kB / 397.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.08905, allocations: 326.8 kB / 397.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.0892, allocations: 47.95 kB / 397.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.08936, allocations: 87.3 kB / 397.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.08967, allocations: 139.3 kB / 398.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.08968, allocations: 0 / 398.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003899/0.09007, allocations: 173.5 kB / 398.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.09008, allocations: 7.938 kB / 398.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.09008, allocations: 0 / 398.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.0901, allocations: 7.938 kB / 398.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.09025, allocations: 40.95 kB / 398.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.09026, allocations: 3.984 kB / 398.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.09034, allocations: 11.98 kB / 398.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.09035, allocations: 8 kB / 398.3 MB, free: 2.172 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 0.0001064/0.09046, allocations: 125.7 kB / 398.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.09049, allocations: 15.84 kB / 398.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.09053, allocations: 20.72 kB / 398.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.09053, allocations: 0 / 398.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.09054, allocations: 4 kB / 398.5 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.09054, allocations: 3.984 kB / 398.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007716/0.09131, allocations: 0.4959 MB / 399 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.09132, allocations: 0 / 399 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.09147, allocations: 31.98 kB / 399 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.09148, allocations: 4 kB / 399 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.09149, allocations: 0 / 399 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.09149, allocations: 3.984 kB / 399 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.09149, allocations: 4 kB / 399 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.09207, allocations: 325 kB / 399.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.09213, allocations: 89.02 kB / 399.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.09214, allocations: 0 / 399.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.09226, allocations: 20.03 kB / 399.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.0923, allocations: 7.984 kB / 399.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.09231, allocations: 8 kB / 399.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.602e-05/0.0924, allocations: 115.2 kB / 399.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0924, allocations: 0 / 399.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.09264, allocations: 20 kB / 399.6 MB, free: 0.7812 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 0.0008641/0.0935, allocations: 0.8506 MB / 400.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.09387, allocations: 123.8 kB / 400.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.09387, allocations: 0 / 400.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.09404, allocations: 63.89 kB / 400.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.09442, allocations: 40.5 kB / 400.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.09685, allocations: 1.948 MB / 402.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.09719, allocations: 0.7045 MB / 403.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.09724, allocations: 13.42 kB / 403.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.09731, allocations: 43.42 kB / 403.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09731, allocations: 0 / 403.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.118, allocations: 3.422 MB / 406.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/7.764, allocations: 8.062 kB / 406.8 MB, free: 9.344 MB / 334.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,limit_a.y,limit_v.y,positionSmoothed.y Variables in the result:a.u,a.y,aLimited,aMax,der(a.u),der(limit_a.y),der(limit_v.y),der(positionSmoothed.y),der(v.u),limit_a.Falling,limit_a.Rising,limit_a.Td,limit_a.initType,limit_a.strict,limit_a.u,limit_a.y,limit_a.y_start,limit_v.Falling,limit_v.Rising,limit_v.Td,limit_v.initType,limit_v.strict,limit_v.u,limit_v.y,limit_v.y_start,positionSmoothed.initType,positionSmoothed.k,positionSmoothed.u,positionSmoothed.use_reset,positionSmoothed.use_set,positionSmoothed.y,positionSmoothed.y_start,positionStep.height,positionStep.offset,positionStep.startTime,positionStep.y,s,sSmoothed,time,v.u,v.y,vLimited,vMax [Calling sys.exit(0), Time elapsed: 9.957202713005245]