Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.00132/0.00132, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001356/0.001356, allocations: 194 kB / 22.85 MB, free: 5.652 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.389/1.389, 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.0619/0.0619, allocations: 12 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.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") [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.002239/0.002239, allocations: 71.89 kB / 417.2 MB, free: 42.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06895/0.07119, allocations: 51.94 MB / 469.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003215/0.0744, allocations: 1.943 MB / 471.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.07549, allocations: 0.6279 MB / 471.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.07556, allocations: 0 / 471.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.07561, allocations: 15.86 kB / 471.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.07592, allocations: 79.45 kB / 471.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.264e-05/0.07601, allocations: 23.95 kB / 471.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.07623, allocations: 131.2 kB / 471.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.07633, allocations: 19.97 kB / 472 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.07643, allocations: 59.78 kB / 472 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.07654, allocations: 51.78 kB / 472.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.07656, allocations: 8 kB / 472.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.837e-05/0.07662, allocations: 12 kB / 472.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.07665, allocations: 19.92 kB / 472.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.07671, allocations: 51.73 kB / 472.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.07689, allocations: 103.5 kB / 472.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.0769, allocations: 0 / 472.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.0769, allocations: 0 / 472.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.0769, allocations: 0 / 472.3 MB, free: 3.262 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000477/0.07738, allocations: 359.5 kB / 472.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.07741, allocations: 11.98 kB / 472.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.07745, allocations: 12.89 kB / 472.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.07768, allocations: 134.4 kB / 472.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.0777, allocations: 4.375 kB / 472.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.07772, allocations: 15.88 kB / 472.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.07789, allocations: 85.59 kB / 472.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.0779, allocations: 0 / 472.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.07791, allocations: 4 kB / 472.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.07792, allocations: 11.92 kB / 472.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.07802, allocations: 51.97 kB / 472.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.0787, allocations: 466.2 kB / 473.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.07879, allocations: 34.56 kB / 473.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.07882, allocations: 12.98 kB / 473.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.07883, allocations: 0 / 473.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.07886, allocations: 46.5 kB / 473.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.07887, allocations: 0 / 473.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002263/0.07909, allocations: 99.28 kB / 473.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.07915, allocations: 85.09 kB / 473.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.07931, allocations: 158.2 kB / 473.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.07933, allocations: 25.7 kB / 473.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.0794, allocations: 104 kB / 474 MB, free: 1.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.07942, allocations: 19.83 kB / 474 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.07947, allocations: 29.66 kB / 474 MB, free: 1.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.07962, allocations: 318.8 kB / 474.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.07966, allocations: 19.98 kB / 474.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.07969, allocations: 15.98 kB / 474.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.0798, allocations: 96.41 kB / 474.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.0798, allocations: 0 / 474.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001736/0.07998, allocations: 119.2 kB / 474.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.08001, allocations: 37.64 kB / 474.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.08002, allocations: 0 / 474.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.08003, allocations: 4 kB / 474.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.08014, allocations: 11.98 kB / 474.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.08014, allocations: 0 / 474.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.08021, allocations: 8.203 kB / 474.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.08022, allocations: 0 / 474.6 MB, free: 0.6523 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.08034, allocations: 147.5 kB / 474.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.08037, allocations: 15.88 kB / 474.8 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.08056, allocations: 115.7 kB / 474.9 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.08057, allocations: 4 kB / 474.9 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.08057, allocations: 7.938 kB / 474.9 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.08057, allocations: 0 / 474.9 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.08103, allocations: 356 kB / 475.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.08104, allocations: 0 / 475.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.08109, allocations: 11.98 kB / 475.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.08109, allocations: 0 / 475.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.08111, allocations: 4 kB / 475.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.08111, allocations: 0 / 475.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.08111, allocations: 4.031 kB / 475.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.08131, allocations: 205.9 kB / 475.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.08135, allocations: 19.88 kB / 475.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.08137, allocations: 4 kB / 475.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.08146, allocations: 4 kB / 475.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.08149, allocations: 7.984 kB / 475.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.08149, allocations: 0 / 475.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.08161, allocations: 139.1 kB / 475.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08161, allocations: 0 / 475.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.08188, allocations: 31.89 kB / 475.7 MB, free: 15.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001277/0.082, allocations: 99.23 kB / 475.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.08219, allocations: 95.33 kB / 475.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.08219, allocations: 0 / 475.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.08226, allocations: 75.39 kB / 475.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.08259, allocations: 37.55 kB / 476 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.08307, allocations: 244 kB / 476.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.08341, allocations: 0.6967 MB / 476.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.539e-05/0.08347, allocations: 21.28 kB / 476.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.08351, allocations: 15.44 kB / 476.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.08351, allocations: 0 / 476.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Templates: time 0.004787/0.08829, allocations: 1.749 MB / 478.7 MB, free: 12.4 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.270929402002366] Failed to read output from testmodel.py, exit status != 0: 0.09556637400237378 0.11160033200000001 0.031519901 Calling exit ...