Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.0009228/0.0009228, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009185/0.0009185, allocations: 173 kB / 23.49 MB, free: 1.055 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.9522/0.9522, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.03406/0.03406, allocations: 8.716 MB / 269 MB, free: 4.617 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.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 340.9 MB, free: 9.453 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.568e-05, allocations: 6.312 kB / 340.9 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.003158/0.003173, allocations: 3.61 MB / 344.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.005987, allocations: 2.772 MB / 347.2 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.006155, allocations: 7.938 kB / 347.3 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.006693, allocations: 438.2 kB / 347.7 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005841/0.007277, allocations: 0.5013 MB / 348.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008563/0.008133, allocations: 0.6384 MB / 348.8 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005931/0.008726, allocations: 0.9215 MB / 349.7 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.00892, allocations: 114 kB / 349.9 MB, free: 416 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.009342, allocations: 494.7 kB / 350.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.009691, allocations: 442.9 kB / 350.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.009742, allocations: 44 kB / 350.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.01001, allocations: 247.6 kB / 351.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.01016, allocations: 255.1 kB / 351.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.01034, allocations: 251.1 kB / 351.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.01103, allocations: 0.8251 MB / 352.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01104, allocations: 4 kB / 352.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01104, allocations: 0 / 352.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.01105, allocations: 0 / 352.4 MB, free: 13.88 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001223/0.01227, allocations: 1.3 MB / 353.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.0123, allocations: 15.98 kB / 353.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.01244, allocations: 148.2 kB / 353.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.01295, allocations: 0.5381 MB / 354.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.01297, allocations: 29.38 kB / 354.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.01302, allocations: 48.12 kB / 354.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.01342, allocations: 303.1 kB / 354.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.01343, allocations: 0 / 354.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.01346, allocations: 23.94 kB / 354.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.01347, allocations: 12 kB / 354.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.01377, allocations: 221.8 kB / 355 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.0152, allocations: 1.28 MB / 356.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.01558, allocations: 190.9 kB / 356.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.191e-05/0.01567, allocations: 67.59 kB / 356.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.0157, allocations: 11.98 kB / 356.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.01572, allocations: 33.39 kB / 356.6 MB, free: 9.531 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/0.01572, allocations: 0 / 356.6 MB, free: 9.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.000417/0.01614, allocations: 290.2 kB / 356.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.01617, allocations: 55.41 kB / 356.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/0.01689, allocations: 0.9451 MB / 357.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.01691, allocations: 29.7 kB / 357.9 MB, free: 8.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.01718, allocations: 0.5184 MB / 358.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.01723, allocations: 103.2 kB / 358.5 MB, free: 7.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.01732, allocations: 87.28 kB / 358.6 MB, free: 7.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.01743, allocations: 0.4887 MB / 359.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.01752, allocations: 47.97 kB / 359.1 MB, free: 6.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.01766, allocations: 153.1 kB / 359.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.0179, allocations: 226.2 kB / 359.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.0179, allocations: 0 / 359.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003753/0.01828, allocations: 340.7 kB / 359.8 MB, free: 6.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.01829, allocations: 4 kB / 359.8 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.0183, allocations: 4 kB / 359.8 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01831, allocations: 8.25 kB / 359.8 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.01851, allocations: 91.77 kB / 359.9 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01852, allocations: 4 kB / 359.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01864, allocations: 39.72 kB / 360 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.01866, allocations: 16 kB / 360 MB, free: 5.953 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0001261/0.01879, allocations: 180.4 kB / 360.2 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.01887, allocations: 103.3 kB / 360.3 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.01928, allocations: 317.7 kB / 360.6 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01928, allocations: 4 kB / 360.6 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01928, allocations: 0 / 360.6 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01929, allocations: 3.984 kB / 360.6 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.01973, allocations: 0.5163 MB / 361.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01973, allocations: 0 / 361.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.01989, allocations: 71.89 kB / 361.2 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01989, allocations: 3.938 kB / 361.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.0199, allocations: 8 kB / 361.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.01991, allocations: 7.984 kB / 361.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.01991, allocations: 0 / 361.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.02025, allocations: 423.5 kB / 361.6 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.02039, allocations: 131.2 kB / 361.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.02043, allocations: 4 kB / 361.7 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.02054, allocations: 15.98 kB / 361.8 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.02058, allocations: 15.97 kB / 361.8 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.0206, allocations: 15.98 kB / 361.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004638/0.02106, allocations: 0.5859 MB / 362.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02106, allocations: 4 kB / 362.4 MB, free: 3.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003398/0.0214, allocations: 195.5 kB / 362.6 MB, free: 3.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0007688/0.02217, allocations: 418.3 kB / 363 MB, free: 3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.02245, allocations: 188 kB / 363.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.02245, allocations: 0 / 363.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.02256, allocations: 103.5 kB / 363.3 MB, free: 2.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.02302, allocations: 151.6 kB / 363.4 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.02453, allocations: 1.275 MB / 364.7 MB, free: 1.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.02466, allocations: 193.8 kB / 364.9 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.02486, allocations: 116.7 kB / 365 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.02496, allocations: 64.42 kB / 365.1 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02496, allocations: 0 / 365.1 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of Templates: time 0.01065/0.03562, allocations: 8.622 MB / 373.7 MB, free: 8.352 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9571086599025875]