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.002368/0.002368, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002796/0.002796, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.635/1.635, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.06389/0.06389, allocations: 8.702 MB / 267.9 MB, free: 4.746 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.322e-06/1.322e-06, allocations: 0 / 395.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.684e-05, allocations: 2.281 kB / 395.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.004942/0.004969, allocations: 2.678 MB / 398.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.009415, allocations: 2.348 MB / 400.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.009634, allocations: 4 kB / 400.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.01004, allocations: 95.33 kB / 400.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006887/0.01073, allocations: 234.4 kB / 400.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.01193, allocations: 0.4902 MB / 401.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.0125, allocations: 413.8 kB / 401.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.01265, allocations: 40.89 kB / 401.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.01301, allocations: 191.5 kB / 401.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.01325, allocations: 127.6 kB / 402 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.01331, allocations: 24 kB / 402.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.01388, allocations: 287.5 kB / 402.3 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.014, allocations: 67.7 kB / 402.4 MB, free: 9.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.01415, allocations: 99.69 kB / 402.5 MB, free: 9.633 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.01505, allocations: 0.553 MB / 403.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01506, allocations: 0 / 403.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01506, allocations: 0 / 403.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.01506, allocations: 0 / 403.1 MB, free: 9.078 MB / 330.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.001008/0.01607, allocations: 0.5784 MB / 403.6 MB, free: 8.469 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.01611, allocations: 12.03 kB / 403.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.01632, allocations: 56.62 kB / 403.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.01686, allocations: 257.6 kB / 404 MB, free: 8.121 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.01688, allocations: 12.88 kB / 404 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.01693, allocations: 24.12 kB / 404 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.01741, allocations: 228.1 kB / 404.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.01742, allocations: 0 / 404.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.01744, allocations: 4 kB / 404.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.01745, allocations: 4 kB / 404.2 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.01796, allocations: 249.9 kB / 404.5 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.01941, allocations: 0.6192 MB / 405.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.02, allocations: 178.6 kB / 405.3 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.02021, allocations: 80.83 kB / 405.3 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.02034, allocations: 15.98 kB / 405.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.02037, allocations: 34.56 kB / 405.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.02037, allocations: 0 / 405.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.03182/0.05219, allocations: 3.168 MB / 408.6 MB, free: 3.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.05225, allocations: 59.34 kB / 408.6 MB, free: 3.352 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.05269, allocations: 316.5 kB / 408.9 MB, free: 3.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.05276, allocations: 33.7 kB / 409 MB, free: 3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.05293, allocations: 184.7 kB / 409.1 MB, free: 2.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.05307, allocations: 107.1 kB / 409.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.05331, allocations: 81.64 kB / 409.3 MB, free: 2.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.05351, allocations: 342.8 kB / 409.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.05465, allocations: 327.8 kB / 410 MB, free: 1.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.05584, allocations: 388 kB / 410.4 MB, free: 1.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/0.0584, allocations: 0.652 MB / 411 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.0584, allocations: 4 kB / 411 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.145/0.2034, allocations: 0.9977 MB / 412 MB, free: 28.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2034, allocations: 5.656 kB / 412 MB, free: 28.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2034, allocations: 0.6094 kB / 412 MB, free: 28.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.206, allocations: 1.116 MB / 413.1 MB, free: 28.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2063, allocations: 52.98 kB / 413.2 MB, free: 28.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006328/0.2126, allocations: 2.02 MB / 415.2 MB, free: 27.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/0.2134, allocations: 64.03 kB / 415.3 MB, free: 27.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.2134, allocations: 20.14 kB / 415.3 MB, free: 27.1 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.0002025/0.2136, allocations: 156.4 kB / 415.4 MB, free: 26.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.2137, allocations: 39.2 kB / 415.5 MB, free: 26.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.2174, allocations: 1.075 MB / 416.5 MB, free: 26.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2174, allocations: 4.844 kB / 416.6 MB, free: 26.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2174, allocations: 0.875 kB / 416.6 MB, free: 26.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2174, allocations: 4.453 kB / 416.6 MB, free: 26.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006088/0.2235, allocations: 1.872 MB / 418.4 MB, free: 25.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2235, allocations: 1.125 kB / 418.4 MB, free: 25.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.2237, allocations: 57.55 kB / 418.5 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/0.226, allocations: 0.9658 MB / 419.5 MB, free: 25.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.2261, allocations: 22.77 kB / 419.5 MB, free: 25.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.23, allocations: 1.831 MB / 421.3 MB, free: 24.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.23, allocations: 5.844 kB / 421.3 MB, free: 24.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.233, allocations: 0.9756 MB / 422.3 MB, free: 23.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.2333, allocations: 93.06 kB / 422.4 MB, free: 23.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.2333, allocations: 11.36 kB / 422.4 MB, free: 23.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.234, allocations: 53.86 kB / 422.4 MB, free: 23.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.2341, allocations: 24.19 kB / 422.5 MB, free: 23.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.2342, allocations: 27.88 kB / 422.5 MB, free: 23.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.2344, allocations: 229 kB / 422.7 MB, free: 23.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2344, allocations: 0 / 422.7 MB, free: 23.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007968/0.2352, allocations: 241.5 kB / 423 MB, free: 23.55 MB / 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.003312/0.2385, allocations: 0.5902 MB / 423.5 MB, free: 23.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005661/0.2442, allocations: 0.909 MB / 424.5 MB, free: 23.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2442, allocations: 1.094 kB / 424.5 MB, free: 23.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.2463, allocations: 466.5 kB / 424.9 MB, free: 23.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.2469, allocations: 70.58 kB / 425 MB, free: 23.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.2486, allocations: 0.7999 MB / 425.8 MB, free: 22.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.2488, allocations: 178.8 kB / 426 MB, free: 22.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.249, allocations: 48.39 kB / 426 MB, free: 22.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.2491, allocations: 39.39 kB / 426 MB, free: 22.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2491, allocations: 0 / 426 MB, free: 22.48 MB / 330.7 MB Notification: Performance of Templates: time 0.01789/0.2669, allocations: 15 MB / 441 MB, free: 12.14 MB / 330.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.436410950962454]