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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 189.2 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 207.6 MB / 233.6 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06214/0.06214, allocations: 12.01 MB / 297.8 MB, free: 9.895 MB / 238.1 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 71.89 kB / 417.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06927/0.07155, allocations: 51.95 MB / 469.1 MB, free: 6.414 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.004621/0.07617, allocations: 2.826 MB / 472 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.07966, allocations: 2.302 MB / 474.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.07979, allocations: 3.938 kB / 474.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.08015, allocations: 103.4 kB / 474.4 MB, free: 1.152 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000469/0.08062, allocations: 182.8 kB / 474.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009223/0.08154, allocations: 442.3 kB / 475 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.08201, allocations: 386.2 kB / 475.4 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.08215, allocations: 44.89 kB / 475.4 MB, free: 120 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.08237, allocations: 139.4 kB / 475.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.08261, allocations: 163.2 kB / 475.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.08266, allocations: 20 kB / 475.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.08314, allocations: 267.8 kB / 476 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.08325, allocations: 67.69 kB / 476 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.08342, allocations: 159.1 kB / 476.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007203/0.08414, allocations: 0.4982 MB / 476.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.08415, allocations: 3.984 kB / 476.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.08415, allocations: 0 / 476.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.08415, allocations: 0 / 476.7 MB, free: 14.81 MB / 350.1 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.0009495/0.0851, allocations: 0.5744 MB / 477.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.08515, allocations: 11.98 kB / 477.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/0.08523, allocations: 40.7 kB / 477.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.08563, allocations: 249.3 kB / 477.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.08565, allocations: 24.31 kB / 477.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.08569, allocations: 20 kB / 477.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.08613, allocations: 227.2 kB / 477.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.08614, allocations: 0 / 477.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.08617, allocations: 8 kB / 477.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.08617, allocations: 4 kB / 477.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.08666, allocations: 253.6 kB / 478.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.08824, allocations: 0.9629 MB / 479.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.08866, allocations: 162.8 kB / 479.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.08885, allocations: 76.83 kB / 479.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.08898, allocations: 19.97 kB / 479.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.08901, allocations: 46.48 kB / 479.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.08901, allocations: 0 / 479.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.02848/0.1175, allocations: 2.725 MB / 482.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1175, allocations: 55.41 kB / 482.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.118, allocations: 353.7 kB / 482.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.118, allocations: 33.7 kB / 482.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1182, allocations: 176.8 kB / 482.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1183, allocations: 115 kB / 482.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.1185, allocations: 77.61 kB / 482.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1187, allocations: 342.8 kB / 483.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009592/0.1196, allocations: 287.8 kB / 483.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.1206, allocations: 344.1 kB / 483.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.1226, allocations: 0.5842 MB / 484.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1226, allocations: 4 kB / 484.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003113/0.1257, allocations: 0.8929 MB / 485.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1257, allocations: 4 kB / 485.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1257, allocations: 0 / 485.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.1283, allocations: 1.04 MB / 486.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.1286, allocations: 55.91 kB / 486.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006213/0.1348, allocations: 1.819 MB / 488.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006626/0.1355, allocations: 39.97 kB / 488.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.1355, allocations: 31.91 kB / 488.3 MB, free: 2.844 MB / 350.1 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.0002353/0.1358, allocations: 145.8 kB / 488.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.1359, allocations: 35.77 kB / 488.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/0.1398, allocations: 0.9857 MB / 489.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1398, allocations: 7.938 kB / 489.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1398, allocations: 0 / 489.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1398, allocations: 3.984 kB / 489.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006409/0.1462, allocations: 1.829 MB / 491.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1462, allocations: 0 / 491.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.1465, allocations: 60.02 kB / 491.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002169/0.1487, allocations: 0.8642 MB / 492.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.1487, allocations: 15.98 kB / 492.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/0.1543, allocations: 1.749 MB / 494 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1543, allocations: 4.031 kB / 494 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.1571, allocations: 0.8587 MB / 494.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.1574, allocations: 99.61 kB / 495 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.041e-05/0.1574, allocations: 12 kB / 495 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.1581, allocations: 43.95 kB / 495 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.1581, allocations: 15.97 kB / 495 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.1582, allocations: 19.97 kB / 495 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003162/0.1585, allocations: 263.1 kB / 495.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1585, allocations: 0 / 495.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007418/0.1593, allocations: 223.6 kB / 495.5 MB, free: 11.45 MB / 366.1 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.002023/0.1613, allocations: 0.5336 MB / 496 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005163/0.1664, allocations: 0.7494 MB / 496.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1664, allocations: 0 / 496.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003748/0.1702, allocations: 459.7 kB / 497.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.1708, allocations: 96.83 kB / 497.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1726, allocations: 0.7651 MB / 498.1 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.173, allocations: 0.784 MB / 498.9 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.1732, allocations: 54.94 kB / 498.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.834e-05/0.1733, allocations: 35.42 kB / 499 MB, free: 8.035 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1733, allocations: 0 / 499 MB, free: 8.035 MB / 366.1 MB Notification: Performance of Templates: time 0.02414/0.1975, allocations: 15.35 MB / 0.5023 GB, free: 8.66 MB / 382.1 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=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.898987862979993] Failed to read output from testmodel.py, exit status != 0: 0.2047490410041064 0.22033075299999996 0.133089645 Calling exit ...