Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.001217/0.001217, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001237/0.001237, allocations: 173 kB / 23.49 MB, free: 1.059 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.9466/0.9466, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.05611/0.05611, allocations: 8.716 MB / 269 MB, free: 4.617 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/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(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 340.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.821e-05, allocations: 2.312 kB / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003665/0.003684, allocations: 2.876 MB / 343.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.007197, allocations: 2.469 MB / 346.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.007385, allocations: 4 kB / 346.2 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004959/0.007881, allocations: 99.25 kB / 346.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006195/0.0085, allocations: 242.4 kB / 346.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009568/0.009457, allocations: 494 kB / 347 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.009864, allocations: 409.9 kB / 347.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.01001, allocations: 36.91 kB / 347.5 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.01031, allocations: 203.5 kB / 347.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.01051, allocations: 123.6 kB / 347.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.01054, allocations: 20 kB / 347.8 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.01096, allocations: 283.6 kB / 348.1 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.01106, allocations: 71.62 kB / 348.1 MB, free: 1.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.01116, allocations: 103.7 kB / 348.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.01177, allocations: 482.4 kB / 348.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01178, allocations: 7.938 kB / 348.7 MB, free: 0.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01178, allocations: 0 / 348.7 MB, free: 0.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.01178, allocations: 0 / 348.7 MB, free: 0.5 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008049/0.01259, allocations: 0.6822 MB / 349.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.01263, allocations: 8.031 kB / 349.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.01285, allocations: 60.69 kB / 349.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.01322, allocations: 252.5 kB / 349.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.01324, allocations: 16.88 kB / 349.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.01328, allocations: 24.12 kB / 349.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.01367, allocations: 180.7 kB / 349.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01368, allocations: 0 / 349.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.01371, allocations: 8 kB / 349.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01372, allocations: 4 kB / 349.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.01402, allocations: 126.9 kB / 350.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.0153, allocations: 0.6574 MB / 350.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.01576, allocations: 135.2 kB / 350.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.01588, allocations: 50.64 kB / 350.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.016, allocations: 23.97 kB / 350.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.01603, allocations: 37.39 kB / 351 MB, free: 14.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.764e-06/0.01603, allocations: 4 kB / 351 MB, free: 14.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.01531/0.03134, allocations: 2.498 MB / 353.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.03137, allocations: 55.41 kB / 353.5 MB, free: 11.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.03164, allocations: 334.3 kB / 353.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.03168, allocations: 33.7 kB / 353.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.03178, allocations: 231.4 kB / 354.1 MB, free: 10.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.28e-05/0.03185, allocations: 115 kB / 354.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.03199, allocations: 87.31 kB / 354.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.0321, allocations: 0.5157 MB / 354.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.03236, allocations: 199.9 kB / 355 MB, free: 9.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.03266, allocations: 280.8 kB / 355.3 MB, free: 9.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.03338, allocations: 432.2 kB / 355.7 MB, free: 9.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.03338, allocations: 0 / 355.7 MB, free: 9.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001057/0.03444, allocations: 0.6293 MB / 356.3 MB, free: 8.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.03445, allocations: 4 kB / 356.4 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.03446, allocations: 0 / 356.4 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009758/0.03543, allocations: 0.7406 MB / 357.1 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.03557, allocations: 47.97 kB / 357.1 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.03814, allocations: 1.994 MB / 359.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.03843, allocations: 44 kB / 359.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.03847, allocations: 27.91 kB / 359.2 MB, free: 5.672 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003846/0.03885, allocations: 176.5 kB / 359.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.03895, allocations: 43.77 kB / 359.4 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.0402, allocations: 0.6244 MB / 360 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.04021, allocations: 4 kB / 360 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.04021, allocations: 0 / 360 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.04021, allocations: 0 / 360 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.04271, allocations: 1.425 MB / 361.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.04271, allocations: 4 kB / 361.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.04283, allocations: 55.91 kB / 361.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007926/0.04363, allocations: 0.6276 MB / 362.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.04366, allocations: 23.91 kB / 362.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.04512, allocations: 1.858 MB / 364 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.04512, allocations: 0 / 364 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000921/0.04604, allocations: 0.6046 MB / 364.6 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.04626, allocations: 99.84 kB / 364.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.04633, allocations: 4 kB / 364.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.04672, allocations: 43.97 kB / 364.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.04678, allocations: 27.7 kB / 364.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.04682, allocations: 19.97 kB / 364.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.047, allocations: 235 kB / 365.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.047, allocations: 0 / 365.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006698/0.04767, allocations: 235.5 kB / 365.3 MB, free: 15.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (26): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/0.04911, allocations: 0.5413 MB / 365.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.05178, allocations: 0.624 MB / 366.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.05178, allocations: 0 / 366.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.05293, allocations: 292.1 kB / 366.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.05342, allocations: 114.4 kB / 366.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.05485, allocations: 0.6546 MB / 367.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.37e-05/0.05492, allocations: 101.2 kB / 367.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.05528, allocations: 50.94 kB / 367.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.05536, allocations: 32.48 kB / 367.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.05536, allocations: 0 / 367.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of Templates: time 0.01898/0.07434, allocations: 15.21 MB / 382.9 MB, free: 13.92 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1695200151298195]