Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.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.0009873/0.0009873, allocations: 81.86 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.001233/0.001233, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 1.084/1.084, allocations: 177.2 MB / 203.7 MB, free: 5.531 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.06696/0.06696, allocations: 12.75 MB / 273 MB, free: 156 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_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 347.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.588e-06/1.108e-05, allocations: 6.25 kB / 347.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.002224/0.002235, allocations: 2.513 MB / 349.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.003003, allocations: 0.6193 MB / 350.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-05/0.003096, allocations: 3.938 kB / 350.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.003208, allocations: 31.7 kB / 350.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.003366, allocations: 71.39 kB / 350.4 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.00349, allocations: 59.8 kB / 350.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.003684, allocations: 242.7 kB / 350.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003784, allocations: 25.8 kB / 350.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.004009, allocations: 131.6 kB / 350.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.004129, allocations: 71.8 kB / 350.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.004149, allocations: 15.94 kB / 350.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.933e-05/0.004168, allocations: 12 kB / 350.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.004195, allocations: 27.91 kB / 351 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.004244, allocations: 63.83 kB / 351 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.004399, allocations: 123.6 kB / 351.1 MB, free: 12.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004401, allocations: 0 / 351.1 MB, free: 12.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.004402, allocations: 7.922 kB / 351.1 MB, free: 12.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.004406, allocations: 4 kB / 351.1 MB, free: 12.95 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004799/0.004886, allocations: 492.1 kB / 351.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.004916, allocations: 11.98 kB / 351.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.004959, allocations: 28.84 kB / 351.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.005127, allocations: 178.7 kB / 351.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.005185, allocations: 68.2 kB / 351.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.005206, allocations: 12.38 kB / 351.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.005373, allocations: 135.2 kB / 352.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.005383, allocations: 8.125 kB / 352.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.005397, allocations: 11.92 kB / 352.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.005406, allocations: 4 kB / 352.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.005477, allocations: 42.55 kB / 352.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.005909, allocations: 400.3 kB / 352.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.006132, allocations: 114.9 kB / 352.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.006169, allocations: 31.67 kB / 352.7 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.006184, allocations: 4 kB / 352.7 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.696e-05/0.006271, allocations: 102.7 kB / 352.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.083e-06/0.006272, allocations: 0 / 352.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001863/0.006458, allocations: 125.6 kB / 352.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.006485, allocations: 63.28 kB / 352.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.006568, allocations: 205.8 kB / 353.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.006582, allocations: 33.92 kB / 353.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.006638, allocations: 162.7 kB / 353.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.006664, allocations: 47.61 kB / 353.4 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.006704, allocations: 35.34 kB / 353.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.006806, allocations: 0.4923 MB / 353.9 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.006831, allocations: 15.98 kB / 353.9 MB, free: 9.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/0.00687, allocations: 50.5 kB / 354 MB, free: 9.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/0.006947, allocations: 78.92 kB / 354 MB, free: 9.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006949, allocations: 0 / 354 MB, free: 9.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001151/0.007064, allocations: 117.5 kB / 354.2 MB, free: 9.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.007075, allocations: 8 kB / 354.2 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.007079, allocations: 0 / 354.2 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.625e-06/0.007086, allocations: 0 / 354.2 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.007241, allocations: 47.91 kB / 354.2 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.007246, allocations: 7.938 kB / 354.2 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.007297, allocations: 19.91 kB / 354.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.007307, allocations: 8 kB / 354.3 MB, free: 9.602 MB / 282.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: 3 * 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 (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.000101/0.007408, allocations: 168.6 kB / 354.4 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.007427, allocations: 15.91 kB / 354.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.007571, allocations: 118.4 kB / 354.5 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.007572, allocations: 0 / 354.5 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.007574, allocations: 3.938 kB / 354.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.007578, allocations: 4 kB / 354.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.00786, allocations: 389.3 kB / 354.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007862, allocations: 0 / 354.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.007993, allocations: 39.89 kB / 355 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007994, allocations: 0 / 355 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.008004, allocations: 4 kB / 355 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.008006, allocations: 3.938 kB / 355 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008007, allocations: 8 kB / 355 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.008199, allocations: 279.8 kB / 355.3 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.008213, allocations: 15.91 kB / 355.3 MB, free: 8.508 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.008229, allocations: 0 / 355.3 MB, free: 8.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.008292, allocations: 15.92 kB / 355.3 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.008325, allocations: 12.03 kB / 355.3 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.008341, allocations: 11.97 kB / 355.3 MB, free: 8.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.48e-05/0.008385, allocations: 150.2 kB / 355.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008385, allocations: 0 / 355.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.008546, allocations: 40.03 kB / 355.5 MB, free: 8.285 MB / 282.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 (13): * Single equations (assignments): 10 * 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 6.484e-05/0.008611, allocations: 99.19 kB / 355.6 MB, free: 8.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.008723, allocations: 82.33 kB / 355.7 MB, free: 8.098 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.008724, allocations: 0 / 355.7 MB, free: 8.098 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/0.00877, allocations: 35.67 kB / 355.7 MB, free: 8.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.008973, allocations: 44.17 kB / 355.8 MB, free: 8.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/0.009838, allocations: 382.3 kB / 356.1 MB, free: 7.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.009873, allocations: 67.84 kB / 356.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.009925, allocations: 21.22 kB / 356.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.01002, allocations: 106.1 kB / 356.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01002, allocations: 0 / 356.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of Templates: time 0.003185/0.01321, allocations: 1.896 MB / 358.2 MB, free: 5.543 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.sim & (cd run_cvode && ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_gbode.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_ida.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9459553668275476]