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.001948/0.001948, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002363/0.002363, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.641/1.641, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.001853/0.001853, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3335, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003932/0.3374, allocations: 1.652 MB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3387, allocations: 498.7 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3388, allocations: 4 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.339, allocations: 15.8 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.3391, allocations: 27.78 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.3393, allocations: 47.89 kB / 434.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.3395, allocations: 115.6 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3396, allocations: 21.11 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.3397, allocations: 51.72 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3398, allocations: 43.78 kB / 434.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.3399, allocations: 12 kB / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.565e-05/0.3399, allocations: 4 kB / 434.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.3399, allocations: 23.91 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.3401, allocations: 47.67 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.3403, allocations: 90.39 kB / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3404, allocations: 0 / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3404, allocations: 0 / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3404, allocations: 0 / 435 MB, free: 4.078 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.0007065/0.3411, allocations: 349.8 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3411, allocations: 12.03 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.3412, allocations: 16.84 kB / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.3415, allocations: 154.8 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.3415, allocations: 16.31 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.3416, allocations: 12.12 kB / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.3419, allocations: 132.1 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3419, allocations: 0 / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3419, allocations: 7.984 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.342, allocations: 4 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.3422, allocations: 63.95 kB / 435.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.3431, allocations: 492.5 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.3435, allocations: 130.5 kB / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.3437, allocations: 56.81 kB / 436.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.3437, allocations: 0 / 436.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3438, allocations: 34.56 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3438, allocations: 0 / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001392/0.3451, allocations: 452.7 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3452, allocations: 51.41 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3454, allocations: 155.5 kB / 437.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3454, allocations: 37.7 kB / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.3455, allocations: 108 kB / 437.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.3455, allocations: 43.58 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.3456, allocations: 37.7 kB / 437.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3458, allocations: 322.8 kB / 437.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.346, allocations: 55.89 kB / 437.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3462, allocations: 79.55 kB / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.3466, allocations: 135.3 kB / 437.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3466, allocations: 0 / 437.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004919/0.3471, allocations: 177.5 kB / 438 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3471, allocations: 11.98 kB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3471, allocations: 0 / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3471, allocations: 3.938 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.3473, allocations: 35.92 kB / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3474, allocations: 4 kB / 438.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3475, allocations: 15.98 kB / 438.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3475, allocations: 7.984 kB / 438.1 MB, free: 0.6953 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.0001419/0.3476, allocations: 121.9 kB / 438.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.3477, allocations: 15.91 kB / 438.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.3477, allocations: 12.72 kB / 438.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3477, allocations: 11.88 kB / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3477, allocations: 0 / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3477, allocations: 0 / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.3487, allocations: 428.6 kB / 438.7 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3487, allocations: 4 kB / 438.7 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3489, allocations: 35.92 kB / 438.7 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3489, allocations: 0 / 438.7 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3489, allocations: 4.094 kB / 438.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3489, allocations: 3.938 kB / 438.7 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3489, allocations: 0 / 438.7 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.3497, allocations: 329 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.3497, allocations: 15.91 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3498, allocations: 4 kB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.3499, allocations: 15.97 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.35, allocations: 11.98 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.35, allocations: 8 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3501, allocations: 111.2 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3501, allocations: 0 / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.3505, allocations: 20 kB / 439.2 MB, free: 15.49 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.0001206/0.3506, allocations: 95.47 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004884/0.3511, allocations: 135.3 kB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3511, allocations: 4 kB / 439.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.3513, allocations: 59.89 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.3519, allocations: 53.03 kB / 439.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.3527, allocations: 324.5 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.3528, allocations: 94.7 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.018e-05/0.3529, allocations: 13.42 kB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.353, allocations: 15.44 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.353, allocations: 192 / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of Templates: time 0.006468/0.3594, allocations: 1.973 MB / 442 MB, free: 12.73 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 cvode -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] "" Variables in the reference:time,limit_a.y,limit_v.y,positionSmoothed.y Variables in the result:aMax,limit_a.Falling,limit_a.Rising,limit_a.Td,limit_a.initType,limit_a.strict,limit_a.y,limit_a.y_start,limit_v.Falling,limit_v.Rising,limit_v.Td,limit_v.initType,limit_v.strict,limit_v.y,limit_v.y_start,positionSmoothed.initType,positionSmoothed.k,positionSmoothed.y,positionSmoothed.y_start,positionStep.height,positionStep.offset,positionStep.startTime,time,vMax [Calling sys.exit(0), Time elapsed: 6.223512632001075]