Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.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.001077/0.001077, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009936/0.0009936, allocations: 169 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.9757/0.9757, allocations: 177.1 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.05841/0.05841, allocations: 12.76 MB / 273 MB, free: 128 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_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 347.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.963e-05, allocations: 4.703 kB / 347.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.004491/0.004521, allocations: 2.84 MB / 350 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.006158, allocations: 0.6777 MB / 350.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.006345, allocations: 7.938 kB / 350.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.006501, allocations: 35.64 kB / 350.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.006851, allocations: 103.1 kB / 350.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.00717, allocations: 79.75 kB / 350.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005098/0.00768, allocations: 338.2 kB / 351.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.007843, allocations: 48.56 kB / 351.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.008242, allocations: 183.5 kB / 351.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.008457, allocations: 99.72 kB / 351.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.008491, allocations: 16 kB / 351.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.783e-05/0.008529, allocations: 20 kB / 351.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.008574, allocations: 47.83 kB / 351.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.008673, allocations: 87.83 kB / 351.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.008966, allocations: 183.4 kB / 351.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.008971, allocations: 0 / 351.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.008972, allocations: 0 / 351.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.008977, allocations: 0 / 351.9 MB, free: 13.27 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007636/0.009741, allocations: 0.5656 MB / 352.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.009778, allocations: 11.98 kB / 352.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.009858, allocations: 40.75 kB / 352.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.01016, allocations: 212.2 kB / 352.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.01026, allocations: 119.4 kB / 352.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.0103, allocations: 20.38 kB / 352.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.01058, allocations: 168.5 kB / 353 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01059, allocations: 192 / 353 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.01062, allocations: 11.94 kB / 353 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01062, allocations: 4 kB / 353 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.01077, allocations: 75.48 kB / 353.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.01165, allocations: 491.7 kB / 353.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.01203, allocations: 138.8 kB / 353.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.01216, allocations: 63.58 kB / 353.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.01218, allocations: 3.984 kB / 353.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.01234, allocations: 121.5 kB / 353.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.794e-06/0.01234, allocations: 0 / 353.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003361/0.01267, allocations: 165.7 kB / 354 MB, free: 10.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.01271, allocations: 55.41 kB / 354.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.01287, allocations: 217.8 kB / 354.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.0129, allocations: 29.7 kB / 354.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.013, allocations: 195 kB / 354.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/0.01306, allocations: 59.47 kB / 354.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.01313, allocations: 47.33 kB / 354.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.01331, allocations: 0.5001 MB / 355.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.01337, allocations: 27.84 kB / 355.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.01345, allocations: 73.69 kB / 355.2 MB, free: 9.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.01365, allocations: 117.8 kB / 355.4 MB, free: 9.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.01366, allocations: 4 kB / 355.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00026/0.01392, allocations: 153.4 kB / 355.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01393, allocations: 6.656 kB / 355.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01394, allocations: 0 / 355.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.01395, allocations: 8.062 kB / 355.5 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.01434, allocations: 75.89 kB / 355.6 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01434, allocations: 0 / 355.6 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01446, allocations: 23.88 kB / 355.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.01447, allocations: 4 kB / 355.6 MB, free: 9.25 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 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 inertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" 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 (24): * Single equations (assignments): 24 * 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.0001666/0.01464, allocations: 181 kB / 355.8 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.01468, allocations: 27.89 kB / 355.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.01495, allocations: 143.3 kB / 356 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01496, allocations: 4 kB / 356 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01496, allocations: 4 kB / 356 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.01496, allocations: 3.984 kB / 356 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.01555, allocations: 445.6 kB / 356.4 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01555, allocations: 0 / 356.4 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.01586, allocations: 63.95 kB / 356.5 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01586, allocations: 8 kB / 356.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.01588, allocations: 3.984 kB / 356.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01588, allocations: 0 / 356.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01588, allocations: 0 / 356.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.01615, allocations: 323.5 kB / 356.8 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.01617, allocations: 11.91 kB / 356.8 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.01619, allocations: 8 kB / 356.8 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.01627, allocations: 7.984 kB / 356.8 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.01631, allocations: 15.98 kB / 356.8 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.01633, allocations: 8.016 kB / 356.9 MB, free: 7.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.412e-05/0.01639, allocations: 176.1 kB / 357 MB, free: 7.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01639, allocations: 0 / 357 MB, free: 7.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01661, allocations: 63.83 kB / 357.1 MB, free: 7.715 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,inertia.q_in.q) * 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 (18): * Single equations (assignments): 15 * 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 0.0001069/0.01671, allocations: 99.23 kB / 357.2 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.01687, allocations: 91.42 kB / 357.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01688, allocations: 0 / 357.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.01695, allocations: 59.72 kB / 357.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.0172, allocations: 39.91 kB / 357.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.01838, allocations: 498.1 kB / 357.9 MB, free: 6.902 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.845e-05/0.01843, allocations: 79.98 kB / 357.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.067e-05/0.01851, allocations: 21.47 kB / 358 MB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.01862, allocations: 110.2 kB / 358.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01862, allocations: 0 / 358.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of Templates: time 0.00411/0.02273, allocations: 2.301 MB / 360.4 MB, free: 4.426 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.sim & (cd run_cvode && ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_gbode.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_ida.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.871239443309605]