Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.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.0009754/0.0009754, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001136/0.001136, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9813/0.9813, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.06873/0.06873, allocations: 12.75 MB / 273 MB, free: 136 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo) 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(Bodylight.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 347.1 MB, free: 2.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.694e-05, allocations: 6.25 kB / 347.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.003234/0.003261, allocations: 2.682 MB / 349.8 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.004313, allocations: 0.6622 MB / 350.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.004446, allocations: 7.938 kB / 350.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.004593, allocations: 35.59 kB / 350.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.004808, allocations: 83.31 kB / 350.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.005005, allocations: 71.78 kB / 350.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.005258, allocations: 286.5 kB / 351 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005376, allocations: 37.78 kB / 351 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.005629, allocations: 163.5 kB / 351.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.005774, allocations: 83.78 kB / 351.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.005799, allocations: 16 kB / 351.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.005823, allocations: 16 kB / 351.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.005857, allocations: 35.84 kB / 351.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.005918, allocations: 75.83 kB / 351.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.006128, allocations: 163.4 kB / 351.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006131, allocations: 0 / 351.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006132, allocations: 0 / 351.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.006136, allocations: 0 / 351.5 MB, free: 13.63 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005398/0.006676, allocations: 0.5231 MB / 352.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.006709, allocations: 11.98 kB / 352.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.006763, allocations: 32.8 kB / 352.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.006975, allocations: 188.9 kB / 352.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/0.007068, allocations: 119.4 kB / 352.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.007096, allocations: 28.31 kB / 352.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.007303, allocations: 154 kB / 352.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.007315, allocations: 192 / 352.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.007329, allocations: 11.94 kB / 352.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.007338, allocations: 3.984 kB / 352.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.992e-05/0.007438, allocations: 67.61 kB / 352.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.007988, allocations: 443.8 kB / 353.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.008241, allocations: 114.9 kB / 353.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.008285, allocations: 43.66 kB / 353.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.008299, allocations: 0 / 353.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.0084, allocations: 118.6 kB / 353.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.008401, allocations: 0 / 353.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002339/0.008635, allocations: 144.7 kB / 353.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.008669, allocations: 55.41 kB / 353.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.008785, allocations: 219.4 kB / 353.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/0.008804, allocations: 29.7 kB / 353.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.008874, allocations: 179.1 kB / 354 MB, free: 10.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.008906, allocations: 47.58 kB / 354 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.008954, allocations: 47.34 kB / 354.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.009066, allocations: 0.5001 MB / 354.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.009097, allocations: 19.89 kB / 354.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.873e-05/0.009146, allocations: 58.72 kB / 354.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.009243, allocations: 102.5 kB / 354.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.009245, allocations: 0 / 354.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00014/0.009385, allocations: 133.4 kB / 354.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.009395, allocations: 8 kB / 354.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.0094, allocations: 3.984 kB / 354.9 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.009412, allocations: 7.938 kB / 354.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.009635, allocations: 72 kB / 355 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.009639, allocations: 4 kB / 355 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/0.009699, allocations: 15.89 kB / 355 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.009712, allocations: 11.98 kB / 355 MB, free: 9.895 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real pulses.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"beginning of cardiac cycle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.pulses.HP,$PRE.pulses.T0,pulses.b,$whenCondition1,pulses.TD2,pulses.HP,pulses.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001239/0.009836, allocations: 168.5 kB / 355.2 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.009861, allocations: 23.84 kB / 355.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.01002, allocations: 127 kB / 355.3 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01002, allocations: 3.938 kB / 355.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01002, allocations: 4 kB / 355.3 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01003, allocations: 0 / 355.3 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.01063, allocations: 406.1 kB / 355.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01063, allocations: 3.938 kB / 355.7 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.01083, allocations: 63.89 kB / 355.8 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01083, allocations: 0 / 355.8 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01084, allocations: 0 / 355.8 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01085, allocations: 7.984 kB / 355.8 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01085, allocations: 0 / 355.8 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.01109, allocations: 290.2 kB / 356.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.01111, allocations: 15.88 kB / 356.1 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01113, allocations: 12 kB / 356.1 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.0112, allocations: 7.984 kB / 356.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.01124, allocations: 15.97 kB / 356.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.01125, allocations: 4 kB / 356.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.286e-05/0.0113, allocations: 155.8 kB / 356.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0113, allocations: 0 / 356.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.01148, allocations: 47.94 kB / 356.3 MB, free: 8.504 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (arteries.volume) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.264e-05/0.01155, allocations: 95.19 kB / 356.4 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.01168, allocations: 91.48 kB / 356.5 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01169, allocations: 0 / 356.5 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.933e-05/0.01173, allocations: 43.61 kB / 356.5 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.01195, allocations: 39.91 kB / 356.6 MB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/0.01291, allocations: 422.3 kB / 357 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.01295, allocations: 71.98 kB / 357.1 MB, free: 7.691 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.596e-05/0.01302, allocations: 25.42 kB / 357.1 MB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.01311, allocations: 102.2 kB / 357.2 MB, free: 7.566 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01312, allocations: 0 / 357.2 MB, free: 7.566 MB / 330.7 MB Notification: Performance of Templates: time 0.003913/0.01703, allocations: 2.08 MB / 359.3 MB, free: 5.527 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.sim & (cd run_cvode && ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_gbode.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_ida.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.873045734129846]