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.0009618/0.0009618, allocations: 93.06 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.000942/0.000942, allocations: 169 kB / 23.02 MB, free: 1.547 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.9399/0.9399, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.03576/0.03576, allocations: 8.714 MB / 268.7 MB, free: 4.547 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.293e-06/1.293e-06, allocations: 0 / 340.8 MB, free: 9.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.799e-05, allocations: 2.312 kB / 340.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003232/0.00325, allocations: 2.877 MB / 343.7 MB, free: 6.242 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.005832, allocations: 2.476 MB / 346.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.005968, allocations: 3.938 kB / 346.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.006315, allocations: 103.2 kB / 346.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.006753, allocations: 238.4 kB / 346.5 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.007528, allocations: 498 kB / 347 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.007864, allocations: 402 kB / 347.4 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.007975, allocations: 36.91 kB / 347.4 MB, free: 2.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.008202, allocations: 203.5 kB / 347.6 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.008368, allocations: 123.6 kB / 347.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.008396, allocations: 20 kB / 347.8 MB, free: 2.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.008738, allocations: 283.6 kB / 348.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.008812, allocations: 71.64 kB / 348.1 MB, free: 1.812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.008893, allocations: 103.7 kB / 348.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007839/0.009677, allocations: 490.3 kB / 348.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.009679, allocations: 0 / 348.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00968, allocations: 0 / 348.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.009685, allocations: 0 / 348.7 MB, free: 1.23 MB / 314.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.0006584/0.01034, allocations: 0.6899 MB / 349.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01038, allocations: 12.03 kB / 349.4 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.01051, allocations: 56.7 kB / 349.5 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.01076, allocations: 256.5 kB / 349.7 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.01078, allocations: 16.88 kB / 349.7 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.0108, allocations: 20.12 kB / 349.8 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.01106, allocations: 176.8 kB / 349.9 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01107, allocations: 0 / 349.9 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.01109, allocations: 8 kB / 349.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.0111, allocations: 4 kB / 349.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.01128, allocations: 130.8 kB / 350.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/0.01211, allocations: 0.6574 MB / 350.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.01242, allocations: 131.3 kB / 350.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.01249, allocations: 51.66 kB / 350.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.827e-05/0.01256, allocations: 19.98 kB / 350.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.01258, allocations: 41.39 kB / 351 MB, free: 14.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.01258, allocations: 0 / 351 MB, free: 14.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.01232/0.0249, allocations: 2.504 MB / 353.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.02493, allocations: 59.39 kB / 353.5 MB, free: 12.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.02515, allocations: 330.3 kB / 353.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.02519, allocations: 33.7 kB / 353.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.0253, allocations: 235.4 kB / 354.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.02537, allocations: 111 kB / 354.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.0255, allocations: 91.31 kB / 354.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.02563, allocations: 0.5156 MB / 354.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.02589, allocations: 207.9 kB / 355 MB, free: 10.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.02618, allocations: 272.9 kB / 355.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008776/0.02706, allocations: 428.3 kB / 355.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.02706, allocations: 0 / 355.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001034/0.0281, allocations: 0.6293 MB / 356.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.02811, allocations: 4 kB / 356.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.02812, allocations: 4 kB / 356.4 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009735/0.02909, allocations: 0.7367 MB / 357.1 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.02923, allocations: 51.91 kB / 357.1 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.03166, allocations: 1.994 MB / 359.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.03194, allocations: 51.92 kB / 359.2 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.03198, allocations: 23.98 kB / 359.2 MB, free: 6.379 MB / 330.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.000136/0.03212, allocations: 172.5 kB / 359.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.0322, allocations: 43.8 kB / 359.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.03336, allocations: 0.6244 MB / 360 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.03337, allocations: 0 / 360 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.03337, allocations: 4 kB / 360 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.03338, allocations: 7.984 kB / 360.1 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.03581, allocations: 1.412 MB / 361.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.03581, allocations: 4.125 kB / 361.5 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.03593, allocations: 59.89 kB / 361.5 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007677/0.0367, allocations: 0.6276 MB / 362.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.03674, allocations: 19.92 kB / 362.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.0409, allocations: 1.858 MB / 364 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.04091, allocations: 4 kB / 364 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.04247, allocations: 0.6046 MB / 364.6 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.04273, allocations: 95.67 kB / 364.7 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.04281, allocations: 4 kB / 364.7 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.04332, allocations: 51.95 kB / 364.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.0434, allocations: 27.89 kB / 364.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.04345, allocations: 15.98 kB / 364.8 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.04361, allocations: 235 kB / 365.1 MB, free: 332 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04361, allocations: 0 / 365.1 MB, free: 332 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006101/0.04422, allocations: 239.5 kB / 365.3 MB, free: 92 kB / 330.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.001332/0.04556, allocations: 0.5402 MB / 365.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.04764, allocations: 0.6281 MB / 366.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.04764, allocations: 0 / 366.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.04835, allocations: 296 kB / 366.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.04872, allocations: 103.5 kB / 366.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.05004, allocations: 0.6543 MB / 367.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.021e-05/0.0501, allocations: 93.36 kB / 367.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.05022, allocations: 54.92 kB / 367.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.05029, allocations: 36.48 kB / 367.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.05029, allocations: 0 / 367.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of Templates: time 0.01716/0.06746, allocations: 15.22 MB / 382.9 MB, free: 14.63 MB / 362.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.339989802800119]