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.0007672/0.0007672, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0008811/0.0008811, allocations: 173 kB / 23.03 MB, free: 1.543 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.8964/0.8964, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03399/0.03399, allocations: 8.716 MB / 268.7 MB, free: 4.523 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.443e-06/1.443e-06, allocations: 0 / 340.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.843e-05, allocations: 5.922 kB / 340.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002721/0.002749, allocations: 2.876 MB / 343.7 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.005003, allocations: 2.473 MB / 346.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.005154, allocations: 7.938 kB / 346.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.005497, allocations: 99.27 kB / 346.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.005929, allocations: 238.4 kB / 346.5 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.006607, allocations: 498 kB / 347 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.00688, allocations: 405.9 kB / 347.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.00699, allocations: 40.89 kB / 347.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.007209, allocations: 199.5 kB / 347.7 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.007353, allocations: 127.6 kB / 347.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.007382, allocations: 24 kB / 347.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.007681, allocations: 283.6 kB / 348.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.007749, allocations: 67.64 kB / 348.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.549e-05/0.007814, allocations: 103.7 kB / 348.3 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.008236, allocations: 486.4 kB / 348.7 MB, free: 152 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.00824, allocations: 3.938 kB / 348.7 MB, free: 148 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008241, allocations: 0 / 348.7 MB, free: 148 kB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.008246, allocations: 0 / 348.7 MB, free: 148 kB / 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.0006768/0.008923, allocations: 0.6823 MB / 349.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.008959, allocations: 16.03 kB / 349.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.009114, allocations: 56.7 kB / 349.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.009395, allocations: 248.5 kB / 349.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.009415, allocations: 20.88 kB / 349.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.009437, allocations: 20.12 kB / 349.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.009697, allocations: 180.7 kB / 349.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.009706, allocations: 0 / 349.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.009723, allocations: 8 kB / 350 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.009732, allocations: 8 kB / 350 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.009908, allocations: 126.9 kB / 350.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.01078, allocations: 0.6496 MB / 350.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.0111, allocations: 135.3 kB / 350.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.463e-05/0.01118, allocations: 55.64 kB / 350.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.01125, allocations: 15.98 kB / 350.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.01128, allocations: 41.39 kB / 351 MB, free: 13.76 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.873e-06/0.01128, allocations: 0 / 351 MB, free: 13.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.01246/0.02374, allocations: 2.503 MB / 353.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.02378, allocations: 59.41 kB / 353.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.02406, allocations: 330.3 kB / 353.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.02411, allocations: 33.7 kB / 353.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.02423, allocations: 235.4 kB / 354.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/0.02433, allocations: 107 kB / 354.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.02451, allocations: 95.3 kB / 354.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.02465, allocations: 0.5117 MB / 354.8 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.02498, allocations: 203.9 kB / 355 MB, free: 9.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.02537, allocations: 276.8 kB / 355.3 MB, free: 9.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.02616, allocations: 432.1 kB / 355.7 MB, free: 8.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.02616, allocations: 0 / 355.7 MB, free: 8.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001393/0.02755, allocations: 0.6254 MB / 356.3 MB, free: 8.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.02757, allocations: 4 kB / 356.4 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.02758, allocations: 4 kB / 356.4 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.02887, allocations: 0.7406 MB / 357.1 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.02906, allocations: 47.97 kB / 357.1 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.03223, allocations: 1.994 MB / 359.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.03264, allocations: 43.95 kB / 359.2 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.0327, allocations: 27.92 kB / 359.2 MB, free: 5.316 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.0001943/0.03289, allocations: 180.5 kB / 359.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.03301, allocations: 43.77 kB / 359.4 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.03453, allocations: 0.6205 MB / 360 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.03453, allocations: 4 kB / 360 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.03454, allocations: 128 / 360.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.03455, allocations: 11.98 kB / 360.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.03773, allocations: 1.413 MB / 361.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.03773, allocations: 3.984 kB / 361.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.0379, allocations: 55.91 kB / 361.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.03891, allocations: 0.6276 MB / 362.2 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.03895, allocations: 19.92 kB / 362.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.04076, allocations: 1.858 MB / 364 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.04076, allocations: 0 / 364 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.04193, allocations: 0.6086 MB / 364.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.04213, allocations: 95.67 kB / 364.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.0422, allocations: 7.984 kB / 364.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.04255, allocations: 47.97 kB / 364.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.04261, allocations: 27.89 kB / 364.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.04266, allocations: 15.98 kB / 364.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.04283, allocations: 235 kB / 365.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04283, allocations: 0 / 365.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006927/0.04352, allocations: 239.5 kB / 365.3 MB, free: 15.01 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.001439/0.04496, allocations: 0.5392 MB / 365.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.04752, allocations: 0.6201 MB / 366.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.04752, allocations: 0 / 366.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008938/0.04841, allocations: 300 kB / 366.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.04889, allocations: 102 kB / 366.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.05033, allocations: 0.6655 MB / 367.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.984e-05/0.0504, allocations: 97.22 kB / 367.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.05054, allocations: 50.92 kB / 367.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.05062, allocations: 32.48 kB / 367.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of SimCode: time 1.001e-06/0.05062, allocations: 0 / 367.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of Templates: time 0.02156/0.07218, allocations: 16.62 MB / 384.3 MB, free: 12.16 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.1087016477249563]