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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) 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.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 114.5 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 193.8 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05592/0.05592, allocations: 11.84 MB / 282.4 MB, free: 252 kB / 222.1 MB 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.001506/0.001506, allocations: 63.91 kB / 343.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1822, allocations: 49.21 MB / 392.5 MB, free: 49.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004297/0.1865, allocations: 3.604 MB / 396.1 MB, free: 46.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.1902, allocations: 2.557 MB / 398.6 MB, free: 45.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.1907, allocations: 9.844 kB / 398.7 MB, free: 45.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008621/0.1916, allocations: 429.7 kB / 399.1 MB, free: 44.94 MB / 318.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.001041/0.1927, allocations: 429.4 kB / 399.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1941, allocations: 0.593 MB / 400.1 MB, free: 44.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009881/0.1951, allocations: 0.8572 MB / 400.9 MB, free: 43.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.1954, allocations: 188.9 kB / 401.1 MB, free: 43.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.1959, allocations: 350.5 kB / 401.5 MB, free: 43.51 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.1963, allocations: 475.7 kB / 401.9 MB, free: 43.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.1964, allocations: 41.34 kB / 402 MB, free: 43.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.1969, allocations: 227.5 kB / 402.2 MB, free: 43.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.197, allocations: 247.6 kB / 402.4 MB, free: 43.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.1973, allocations: 417 kB / 402.8 MB, free: 42.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008075/0.1981, allocations: 1.024 MB / 403.9 MB, free: 42.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1981, allocations: 0 / 403.9 MB, free: 42.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1981, allocations: 1.188 kB / 403.9 MB, free: 42.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1982, allocations: 7.938 kB / 403.9 MB, free: 42.05 MB / 318.1 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.001465/0.1996, allocations: 1.214 MB / 405.1 MB, free: 41.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.1997, allocations: 12.67 kB / 405.1 MB, free: 41.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1998, allocations: 106.4 kB / 405.2 MB, free: 41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.2006, allocations: 0.6501 MB / 405.9 MB, free: 40.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.2006, allocations: 33.22 kB / 405.9 MB, free: 40.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.2007, allocations: 38.81 kB / 405.9 MB, free: 40.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.2013, allocations: 442 kB / 406.4 MB, free: 40.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2014, allocations: 0 / 406.4 MB, free: 40.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.2014, allocations: 19.53 kB / 406.4 MB, free: 40.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.2014, allocations: 9.844 kB / 406.4 MB, free: 40.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/0.2021, allocations: 453.9 kB / 406.8 MB, free: 39.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.2044, allocations: 2.473 MB / 409.3 MB, free: 37.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.2051, allocations: 312.2 kB / 409.6 MB, free: 37.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.2053, allocations: 117.7 kB / 409.7 MB, free: 37.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.2054, allocations: 15.98 kB / 409.7 MB, free: 37.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.2054, allocations: 30.56 kB / 409.8 MB, free: 37.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.2054, allocations: 4 kB / 409.8 MB, free: 37.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007968/0.2062, allocations: 448.2 kB / 410.2 MB, free: 36.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.2062, allocations: 55.41 kB / 410.3 MB, free: 36.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.2074, allocations: 1.368 MB / 411.6 MB, free: 35.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.2074, allocations: 29.7 kB / 411.7 MB, free: 35.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.2076, allocations: 452.3 kB / 412.1 MB, free: 34.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.2077, allocations: 94.64 kB / 412.2 MB, free: 34.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.2078, allocations: 85.53 kB / 412.3 MB, free: 34.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.2078, allocations: 325.9 kB / 412.6 MB, free: 34.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.2081, allocations: 111.9 kB / 412.7 MB, free: 34.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.2083, allocations: 191.6 kB / 412.9 MB, free: 34.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.2088, allocations: 319.5 kB / 413.2 MB, free: 33.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2088, allocations: 0 / 413.2 MB, free: 33.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006636/0.2095, allocations: 471.7 kB / 413.7 MB, free: 33.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2095, allocations: 7.938 kB / 413.7 MB, free: 33.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2095, allocations: 7.984 kB / 413.7 MB, free: 33.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2095, allocations: 4 kB / 413.7 MB, free: 33.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.2099, allocations: 87.81 kB / 413.8 MB, free: 33.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2099, allocations: 12.19 kB / 413.8 MB, free: 33.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.2102, allocations: 63.36 kB / 413.8 MB, free: 33.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.2103, allocations: 12 kB / 413.9 MB, free: 33.15 MB / 318.1 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.0002315/0.2105, allocations: 297.6 kB / 414.2 MB, free: 32.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2106, allocations: 98.78 kB / 414.2 MB, free: 32.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.2113, allocations: 450.5 kB / 414.7 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2114, allocations: 4 kB / 414.7 MB, free: 32.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2114, allocations: 0 / 414.7 MB, free: 32.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2114, allocations: 4 kB / 414.7 MB, free: 32.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.2119, allocations: 0.6358 MB / 415.3 MB, free: 31.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.2119, allocations: 0 / 415.3 MB, free: 31.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.2122, allocations: 71.95 kB / 415.4 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2122, allocations: 4 kB / 415.4 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.2123, allocations: 8 kB / 415.4 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.2123, allocations: 0 / 415.4 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2123, allocations: 0 / 415.4 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.2129, allocations: 494.7 kB / 415.9 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.2132, allocations: 215.8 kB / 416.1 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.2133, allocations: 4 kB / 416.1 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.2135, allocations: 15.98 kB / 416.1 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2136, allocations: 19.97 kB / 416.1 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.2136, allocations: 12 kB / 416.2 MB, free: 30.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008166/0.2144, allocations: 0.9716 MB / 417.1 MB, free: 29.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2145, allocations: 0 / 417.1 MB, free: 29.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004719/0.2149, allocations: 171.8 kB / 417.3 MB, free: 29.61 MB / 318.1 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.0008456/0.2158, allocations: 423.5 kB / 417.7 MB, free: 29.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005447/0.2163, allocations: 312.2 kB / 418 MB, free: 29.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2164, allocations: 0 / 418 MB, free: 29.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.2166, allocations: 143.8 kB / 418.2 MB, free: 28.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/0.2174, allocations: 218.5 kB / 418.4 MB, free: 28.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.219, allocations: 1.518 MB / 419.9 MB, free: 27.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2193, allocations: 1.019 MB / 420.9 MB, free: 26.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002986/0.2196, allocations: 149.6 kB / 421.1 MB, free: 25.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2198, allocations: 67.41 kB / 421.1 MB, free: 25.88 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2198, allocations: 0 / 421.1 MB, free: 25.88 MB / 318.1 MB Notification: Performance of Templates: time 0.01373/0.2335, allocations: 10.6 MB / 431.7 MB, free: 15.36 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile (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=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)