Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.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.0009079/0.0009079, 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.001024/0.001024, 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 1.081/1.081, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.06458/0.06458, allocations: 12.77 MB / 273 MB, free: 140 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.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") translateModel(Bodylight.Hydraulic.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 347.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.228e-05, allocations: 8.641 kB / 347.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.002861/0.002883, allocations: 2.809 MB / 349.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.004043, allocations: 0.6583 MB / 350.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.004179, allocations: 7.938 kB / 350.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.004322, allocations: 39.58 kB / 350.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.004574, allocations: 91.19 kB / 350.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.004778, allocations: 71.78 kB / 350.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.005101, allocations: 322.3 kB / 351.1 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.005229, allocations: 36.56 kB / 351.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.005442, allocations: 163.7 kB / 351.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.005596, allocations: 87.78 kB / 351.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.005627, allocations: 20 kB / 351.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.541e-05/0.005663, allocations: 16 kB / 351.4 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.005701, allocations: 47.72 kB / 351.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.005774, allocations: 79.83 kB / 351.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.006107, allocations: 179.4 kB / 351.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006109, allocations: 0 / 351.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.00611, allocations: 0 / 351.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006115, allocations: 0 / 351.7 MB, free: 12.35 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006194/0.006734, allocations: 0.564 MB / 352.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.006771, allocations: 11.98 kB / 352.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.006831, allocations: 36.8 kB / 352.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.007049, allocations: 201 kB / 352.6 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/0.007111, allocations: 68.23 kB / 352.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.00714, allocations: 16.38 kB / 352.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.007371, allocations: 196.4 kB / 352.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.007384, allocations: 4.125 kB / 352.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.007401, allocations: 11.94 kB / 352.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.007408, allocations: 0 / 352.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.575e-05/0.007503, allocations: 52.17 kB / 352.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.008082, allocations: 463.8 kB / 353.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.008272, allocations: 106.9 kB / 353.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.593e-05/0.008348, allocations: 55.64 kB / 353.5 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.008367, allocations: 4 kB / 353.5 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.008518, allocations: 148.3 kB / 353.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.00852, allocations: 0 / 353.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002475/0.008767, allocations: 148.7 kB / 353.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.008804, allocations: 55.41 kB / 353.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.008923, allocations: 227.2 kB / 354.1 MB, free: 9.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.008939, allocations: 25.7 kB / 354.1 MB, free: 9.781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.009017, allocations: 191.1 kB / 354.3 MB, free: 9.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.009053, allocations: 55.52 kB / 354.3 MB, free: 9.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.00911, allocations: 47.34 kB / 354.4 MB, free: 9.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.00924, allocations: 0.5001 MB / 354.9 MB, free: 8.969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.009294, allocations: 45.69 kB / 354.9 MB, free: 8.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.009357, allocations: 79.28 kB / 355 MB, free: 8.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.009662, allocations: 107.7 kB / 355.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.009664, allocations: 0 / 355.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001839/0.009848, allocations: 192.9 kB / 355.3 MB, free: 8.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.00988, allocations: 34.95 kB / 355.3 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.009886, allocations: 4.031 kB / 355.3 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.009894, allocations: 3.938 kB / 355.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.0101, allocations: 51.95 kB / 355.4 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.0101, allocations: 4 kB / 355.4 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.01018, allocations: 23.88 kB / 355.4 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.0102, allocations: 7.984 kB / 355.4 MB, free: 8.371 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 8.769e-05/0.01029, allocations: 172.5 kB / 355.6 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.01031, allocations: 23.84 kB / 355.6 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.0105, allocations: 119.1 kB / 355.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01051, allocations: 4 kB / 355.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01051, allocations: 0 / 355.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01051, allocations: 0 / 355.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.01087, allocations: 417.7 kB / 356.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01088, allocations: 3.938 kB / 356.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.01105, allocations: 47.95 kB / 356.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.01105, allocations: 0 / 356.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.01107, allocations: 8 kB / 356.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01107, allocations: 0 / 356.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.01107, allocations: 3.938 kB / 356.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.01132, allocations: 298.6 kB / 356.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.01134, allocations: 19.84 kB / 356.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.01136, allocations: 4 kB / 356.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.01145, allocations: 20.02 kB / 356.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.01149, allocations: 19.95 kB / 356.6 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.01151, allocations: 0 / 356.6 MB, free: 7.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.01156, allocations: 163 kB / 356.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01156, allocations: 0 / 356.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.01175, allocations: 51.94 kB / 356.8 MB, free: 6.957 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,veins.volume) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001102/0.01186, allocations: 99.19 kB / 356.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.01206, allocations: 172.7 kB / 357 MB, free: 6.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.01206, allocations: 0 / 357 MB, free: 6.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.064e-05/0.01212, allocations: 39.66 kB / 357.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.01239, allocations: 59.8 kB / 357.1 MB, free: 6.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.01345, allocations: 462.8 kB / 357.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.0135, allocations: 75.98 kB / 357.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.658e-05/0.01357, allocations: 17.48 kB / 357.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.01371, allocations: 126.2 kB / 357.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01371, allocations: 0 / 357.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of Templates: time 0.004599/0.01831, allocations: 2.89 MB / 360.7 MB, free: 3.027 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.sim & (cd run_cvode && ../Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_gbode.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_ida.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9243073780089617]