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.002487/0.002487, allocations: 85.48 kB / 19.44 MB, free: 344 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.00276/0.00276, allocations: 177.2 kB / 22.77 MB, free: 1.656 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.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.06339/0.06339, allocations: 8.714 MB / 268.3 MB, free: 4.582 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.813e-06/1.813e-06, allocations: 0 / 340.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.78e-05, allocations: 5.812 kB / 340.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003087/0.003115, allocations: 2.834 MB / 343 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.005962, allocations: 2.461 MB / 345.4 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.006121, allocations: 7.938 kB / 345.4 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.006484, allocations: 103.2 kB / 345.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.006956, allocations: 234.4 kB / 345.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007977/0.007753, allocations: 494 kB / 346.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.008047, allocations: 411.7 kB / 346.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.008157, allocations: 40.91 kB / 346.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.008403, allocations: 203.5 kB / 346.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.008575, allocations: 131.6 kB / 347 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.008615, allocations: 20 kB / 347 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.00899, allocations: 275.6 kB / 347.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.009067, allocations: 71.69 kB / 347.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.82e-05/0.009155, allocations: 99.64 kB / 347.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.009721, allocations: 0.5569 MB / 348 MB, free: 492 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.009724, allocations: 0 / 348 MB, free: 492 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009726, allocations: 0 / 348 MB, free: 492 kB / 266.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.009732, allocations: 7.938 kB / 348 MB, free: 484 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.0008809/0.01061, allocations: 0.7013 MB / 348.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.01066, allocations: 8.031 kB / 348.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.01089, allocations: 60.7 kB / 348.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.01132, allocations: 248.5 kB / 349 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.01135, allocations: 16.88 kB / 349.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.01139, allocations: 24.12 kB / 349.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.01182, allocations: 192.1 kB / 349.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01184, allocations: 4 kB / 349.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.01186, allocations: 12 kB / 349.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.01187, allocations: 4 kB / 349.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.01232, allocations: 193.8 kB / 349.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.01388, allocations: 0.7409 MB / 350.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.01445, allocations: 175.3 kB / 350.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.01464, allocations: 75.59 kB / 350.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.01478, allocations: 23.98 kB / 350.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.01481, allocations: 33.39 kB / 350.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.01481, allocations: 0 / 350.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.03178/0.04659, allocations: 3.082 MB / 353.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.04665, allocations: 59.34 kB / 353.7 MB, free: 10.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.04719, allocations: 398.2 kB / 354 MB, free: 10.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.04725, allocations: 29.7 kB / 354.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.04747, allocations: 243.4 kB / 354.3 MB, free: 9.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.04762, allocations: 119 kB / 354.4 MB, free: 9.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.04787, allocations: 95.31 kB / 354.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000385/0.04825, allocations: 0.5352 MB / 355.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.04932, allocations: 359.9 kB / 355.4 MB, free: 8.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.05048, allocations: 448.7 kB / 355.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/0.05293, allocations: 0.7266 MB / 356.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.05293, allocations: 0 / 356.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003728/0.05666, allocations: 1.082 MB / 357.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.05668, allocations: 4 kB / 357.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.05669, allocations: 4 kB / 357.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/0.05963, allocations: 1.1 MB / 358.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.05993, allocations: 59.83 kB / 358.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007708/0.06764, allocations: 2.502 MB / 361.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/0.06839, allocations: 51.98 kB / 361.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.06847, allocations: 23.97 kB / 361.4 MB, free: 2.75 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.0002955/0.06876, allocations: 192.5 kB / 361.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.06893, allocations: 43.81 kB / 361.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.07292, allocations: 1.082 MB / 362.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.07292, allocations: 0 / 362.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.07293, allocations: 4 kB / 362.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.07293, allocations: 7.984 kB / 362.7 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006918/0.07985, allocations: 1.928 MB / 364.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.07986, allocations: 4 kB / 364.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.08012, allocations: 47.97 kB / 364.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/0.08274, allocations: 0.9478 MB / 365.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-05/0.08282, allocations: 27.91 kB / 365.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.08785, allocations: 2.311 MB / 368 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.08785, allocations: 0 / 368 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.09127, allocations: 1.042 MB / 369 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.09156, allocations: 99.61 kB / 369.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.09165, allocations: 8 kB / 369.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.09231, allocations: 43.95 kB / 369.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.09239, allocations: 27.89 kB / 369.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.09245, allocations: 15.98 kB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003219/0.09277, allocations: 267 kB / 369.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09277, allocations: 4 kB / 369.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008334/0.09361, allocations: 235.6 kB / 369.7 MB, free: 10.23 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.003513/0.09712, allocations: 0.5943 MB / 370.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005915/0.103, allocations: 0.9365 MB / 371.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.103, allocations: 4 kB / 371.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.1052, allocations: 452 kB / 371.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.1059, allocations: 104.9 kB / 371.8 MB, free: 8.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.108, allocations: 0.8036 MB / 372.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1082, allocations: 181.9 kB / 372.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.1084, allocations: 50.94 kB / 372.8 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1085, allocations: 28.48 kB / 372.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1085, allocations: 0 / 372.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of Templates: time 0.02822/0.1367, allocations: 15.2 MB / 388.1 MB, free: 8.082 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: 5.1559383540879935]