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.002427/0.002427, 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.002962/0.002962, allocations: 165.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.621/1.621, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.06194/0.06194, allocations: 8.689 MB / 267.9 MB, free: 4.754 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.643e-06/1.643e-06, allocations: 0 / 395.4 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.46e-05/3.624e-05, allocations: 2.281 kB / 395.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.005626/0.005662, allocations: 3.346 MB / 398.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005806/0.01147, allocations: 2.632 MB / 401.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.01183, allocations: 7.938 kB / 401.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.01288, allocations: 438.2 kB / 401.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.01405, allocations: 0.5051 MB / 402.4 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.01568, allocations: 0.6493 MB / 403 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.01681, allocations: 0.9253 MB / 403.9 MB, free: 8.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.01709, allocations: 102 kB / 404 MB, free: 8.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007171/0.01781, allocations: 490.8 kB / 404.5 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.01844, allocations: 438.8 kB / 404.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/0.01853, allocations: 44 kB / 405 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.01904, allocations: 243.7 kB / 405.2 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.01933, allocations: 251.1 kB / 405.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.01966, allocations: 251.1 kB / 405.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.02122, allocations: 1.063 MB / 406.8 MB, free: 5.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.02122, allocations: 0 / 406.8 MB, free: 5.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02122, allocations: 4 kB / 406.8 MB, free: 5.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.02123, allocations: 0 / 406.8 MB, free: 5.336 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.001974/0.02321, allocations: 1.184 MB / 408 MB, free: 4.117 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.02325, allocations: 11.98 kB / 408 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.02343, allocations: 120.1 kB / 408.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.02444, allocations: 0.6057 MB / 408.7 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.02447, allocations: 29.38 kB / 408.7 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.779e-05/0.02455, allocations: 40.12 kB / 408.8 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.02542, allocations: 446.4 kB / 409.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.02544, allocations: 7.922 kB / 409.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.02549, allocations: 20 kB / 409.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.0255, allocations: 12 kB / 409.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.02643, allocations: 451.8 kB / 409.7 MB, free: 2.363 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.02904, allocations: 1.308 MB / 411 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.02985, allocations: 298.4 kB / 411.3 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.03015, allocations: 112.7 kB / 411.4 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.03019, allocations: 7.984 kB / 411.4 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.03023, allocations: 38.56 kB / 411.4 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.03023, allocations: 0 / 411.4 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001099/0.03133, allocations: 446.1 kB / 411.9 MB, free: 112 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.03139, allocations: 55.41 kB / 411.9 MB, free: 44 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.16/0.1913, allocations: 1.262 MB / 413.2 MB, free: 28.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.1914, allocations: 29.7 kB / 413.2 MB, free: 28.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.1916, allocations: 455.5 kB / 413.7 MB, free: 28.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.1917, allocations: 97.61 kB / 413.8 MB, free: 28.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1918, allocations: 78.58 kB / 413.8 MB, free: 28.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.1918, allocations: 321.2 kB / 414.2 MB, free: 28.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.1921, allocations: 116.4 kB / 414.3 MB, free: 28.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.1924, allocations: 190.4 kB / 414.5 MB, free: 28.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.193, allocations: 324 kB / 414.8 MB, free: 27.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.193, allocations: 0 / 414.8 MB, free: 27.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007664/0.1937, allocations: 452.5 kB / 415.2 MB, free: 27.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1937, allocations: 10.31 kB / 415.2 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1938, allocations: 2.719 kB / 415.2 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1938, allocations: 8.188 kB / 415.2 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.1942, allocations: 90.52 kB / 415.3 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1942, allocations: 4.797 kB / 415.3 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.1944, allocations: 43.91 kB / 415.4 MB, free: 27.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.1945, allocations: 13.5 kB / 415.4 MB, free: 27.7 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.000281/0.1948, allocations: 300.8 kB / 415.7 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1949, allocations: 89.61 kB / 415.8 MB, free: 27.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008437/0.1957, allocations: 455 kB / 416.2 MB, free: 27.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1957, allocations: 6.562 kB / 416.2 MB, free: 27.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1957, allocations: 1.5 kB / 416.2 MB, free: 27.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1957, allocations: 1.875 kB / 416.2 MB, free: 27.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.1963, allocations: 487.8 kB / 416.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1963, allocations: 0.6562 kB / 416.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.1966, allocations: 77.39 kB / 416.8 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1966, allocations: 1.25 kB / 416.8 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.1966, allocations: 8.891 kB / 416.8 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1966, allocations: 2.984 kB / 416.8 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1967, allocations: 7.766 kB / 416.8 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/0.1973, allocations: 479 kB / 417.3 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.1975, allocations: 139.6 kB / 417.4 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.1976, allocations: 7.531 kB / 417.4 MB, free: 26.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.1978, allocations: 13.22 kB / 417.4 MB, free: 26.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.1979, allocations: 27.06 kB / 417.4 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1979, allocations: 10.75 kB / 417.4 MB, free: 26.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009384/0.1989, allocations: 0.9033 MB / 418.4 MB, free: 26.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1989, allocations: 0 / 418.4 MB, free: 26.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005379/0.1994, allocations: 188.3 kB / 418.5 MB, free: 26.31 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.002505/0.2019, allocations: 449.7 kB / 419 MB, free: 26.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.2025, allocations: 292.5 kB / 419.3 MB, free: 26.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2025, allocations: 1.094 kB / 419.3 MB, free: 26.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.2028, allocations: 132.5 kB / 419.4 MB, free: 26.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.2035, allocations: 152.5 kB / 419.5 MB, free: 25.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.2053, allocations: 1.526 MB / 421.1 MB, free: 25.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.2058, allocations: 432.9 kB / 421.5 MB, free: 25.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.2061, allocations: 141.2 kB / 421.6 MB, free: 25.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2062, allocations: 58.67 kB / 421.7 MB, free: 25.05 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2062, allocations: 0 / 421.7 MB, free: 25.05 MB / 330.7 MB Notification: Performance of Templates: time 0.01572/0.2219, allocations: 8.544 MB / 430.2 MB, free: 22.27 MB / 330.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: 5.090988805051893]