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.001007/0.001007, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.000945/0.000945, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9883/0.9883, allocations: 177.1 MB / 203.7 MB, free: 5.465 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.03378/0.03378, allocations: 8.711 MB / 269 MB, free: 4.336 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.744e-06/1.744e-06, allocations: 0 / 341.3 MB, free: 8.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.06e-05, allocations: 5.266 kB / 341.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.00453/0.004561, allocations: 2.853 MB / 344.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.008289, allocations: 2.457 MB / 346.6 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.00858, allocations: 7.938 kB / 346.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.009121, allocations: 99.3 kB / 346.7 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008566/0.009977, allocations: 226.4 kB / 346.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.01134, allocations: 0.4902 MB / 347.4 MB, free: 2.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.01192, allocations: 405.9 kB / 347.8 MB, free: 2.258 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.01208, allocations: 36.91 kB / 347.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.01252, allocations: 207.5 kB / 348.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.01277, allocations: 123.6 kB / 348.2 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.01282, allocations: 20 kB / 348.2 MB, free: 1.879 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006305/0.01345, allocations: 287.5 kB / 348.5 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.01355, allocations: 71.69 kB / 348.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.01367, allocations: 95.7 kB / 348.6 MB, free: 1.434 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008991/0.01457, allocations: 494.3 kB / 349.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01457, allocations: 0 / 349.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.01457, allocations: 0 / 349.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.01458, allocations: 0 / 349.1 MB, free: 0.9492 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.0009537/0.01554, allocations: 0.6938 MB / 349.8 MB, free: 220 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.01559, allocations: 8.031 kB / 349.8 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.01582, allocations: 56.7 kB / 349.9 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.01618, allocations: 256.5 kB / 350.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.0162, allocations: 16.88 kB / 350.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.01622, allocations: 20.12 kB / 350.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.01644, allocations: 164.7 kB / 350.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.01645, allocations: 3.984 kB / 350.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.01647, allocations: 12 kB / 350.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.01648, allocations: 4 kB / 350.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.01661, allocations: 101.4 kB / 350.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008574/0.01747, allocations: 0.6112 MB / 351.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.01776, allocations: 127.2 kB / 351.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.01782, allocations: 39.66 kB / 351.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/0.01791, allocations: 19.98 kB / 351.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.01793, allocations: 37.38 kB / 351.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.254e-06/0.01793, allocations: 0 / 351.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.01506/0.03299, allocations: 3.365 MB / 354.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.03304, allocations: 67.38 kB / 354.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.03332, allocations: 326.2 kB / 355 MB, free: 10.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.03337, allocations: 33.7 kB / 355.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.03351, allocations: 239.3 kB / 355.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.0336, allocations: 115 kB / 355.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.03375, allocations: 91.28 kB / 355.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.03388, allocations: 0.5156 MB / 356 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.03408, allocations: 163.9 kB / 356.2 MB, free: 9.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.03432, allocations: 244.9 kB / 356.4 MB, free: 9.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.0348, allocations: 368.3 kB / 356.8 MB, free: 9.043 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0348, allocations: 3.938 kB / 356.8 MB, free: 9.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.005235/0.04004, allocations: 1.604 MB / 358.4 MB, free: 7.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.04006, allocations: 4 kB / 358.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.04007, allocations: 4.062 kB / 358.4 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/0.04314, allocations: 1.302 MB / 359.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.0433, allocations: 55.89 kB / 359.7 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.04564, allocations: 1.975 MB / 361.7 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.04597, allocations: 55.98 kB / 361.8 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.046, allocations: 11.98 kB / 361.8 MB, free: 3.938 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.0001832/0.04619, allocations: 176.5 kB / 362 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/0.04629, allocations: 43.81 kB / 362 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/0.05157, allocations: 1.623 MB / 363.6 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.05158, allocations: 4 kB / 363.6 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.05158, allocations: 0 / 363.6 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.05159, allocations: 3.984 kB / 363.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/0.05791, allocations: 2.326 MB / 366 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.05792, allocations: 0 / 366 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.05804, allocations: 47.97 kB / 366 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/0.06064, allocations: 1.142 MB / 367.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.06069, allocations: 23.91 kB / 367.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.06226, allocations: 1.854 MB / 369 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.06227, allocations: 3.938 kB / 369 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004865/0.06713, allocations: 1.568 MB / 370.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.06732, allocations: 95.66 kB / 370.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.06738, allocations: 8 kB / 370.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.06762, allocations: 43.97 kB / 370.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.06767, allocations: 27.89 kB / 370.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.06771, allocations: 19.97 kB / 370.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.06785, allocations: 218.9 kB / 371 MB, free: 10.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06785, allocations: 0 / 371 MB, free: 10.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006727/0.06852, allocations: 239.5 kB / 371.2 MB, free: 10.29 MB / 346.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.001208/0.06973, allocations: 0.5485 MB / 371.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.07147, allocations: 0.5695 MB / 372.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.07147, allocations: 0 / 372.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.07207, allocations: 272 kB / 372.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.07245, allocations: 104.4 kB / 372.7 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.07359, allocations: 0.6416 MB / 373.4 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.07366, allocations: 101.3 kB / 373.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.07377, allocations: 42.95 kB / 373.5 MB, free: 8.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.07393, allocations: 146.1 kB / 373.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.07393, allocations: 0 / 373.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of Templates: time 0.01777/0.0917, allocations: 16.6 MB / 390.2 MB, free: 7.449 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.138728399761021]