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.001487/0.001487, allocations: 104.3 kB / 16.29 MB, free: 6.43 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.001516/0.001516, allocations: 184.5 kB / 17.22 MB, free: 5.934 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.33/1.33, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05458/0.05458, allocations: 11.84 MB / 282.3 MB, free: 300 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.001478/0.001478, allocations: 63.91 kB / 342.5 MB, free: 3.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2086, allocations: 49.22 MB / 391.8 MB, free: 49.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004416/0.2131, allocations: 3.596 MB / 395.4 MB, free: 46.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.2168, allocations: 2.561 MB / 397.9 MB, free: 44.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.2172, allocations: 5.844 kB / 397.9 MB, free: 44.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008234/0.2181, allocations: 429.8 kB / 398.3 MB, free: 44.66 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.000845/0.2189, allocations: 433.4 kB / 398.8 MB, free: 44.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.2204, allocations: 0.5925 MB / 399.4 MB, free: 44.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008014/0.2213, allocations: 0.8467 MB / 400.2 MB, free: 43.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.2216, allocations: 192.8 kB / 400.4 MB, free: 43.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.2219, allocations: 345 kB / 400.7 MB, free: 43.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.2224, allocations: 468.3 kB / 401.2 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.455e-05/0.2225, allocations: 41.69 kB / 401.2 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.2229, allocations: 236 kB / 401.5 MB, free: 43.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.2231, allocations: 246.7 kB / 401.7 MB, free: 42.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.2234, allocations: 412.5 kB / 402.1 MB, free: 42.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.2244, allocations: 1.025 MB / 403.1 MB, free: 41.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2244, allocations: 4 kB / 403.1 MB, free: 41.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2244, allocations: 0 / 403.1 MB, free: 41.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.2244, allocations: 1.031 kB / 403.1 MB, free: 41.98 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.00152/0.2259, allocations: 1.222 MB / 404.4 MB, free: 40.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.226, allocations: 12.95 kB / 404.4 MB, free: 40.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.2261, allocations: 109.9 kB / 404.5 MB, free: 40.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.2268, allocations: 0.6396 MB / 405.1 MB, free: 40.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2269, allocations: 33.47 kB / 405.1 MB, free: 40.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.2269, allocations: 39.31 kB / 405.2 MB, free: 40.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.2276, allocations: 437.3 kB / 405.6 MB, free: 40.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2276, allocations: 0 / 405.6 MB, free: 40.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.2277, allocations: 20.06 kB / 405.6 MB, free: 40.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2277, allocations: 13.52 kB / 405.6 MB, free: 40.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007409/0.2284, allocations: 450.7 kB / 406.1 MB, free: 39.9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.2308, allocations: 2.48 MB / 408.6 MB, free: 37.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.2315, allocations: 306.9 kB / 408.9 MB, free: 37.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.2318, allocations: 120.9 kB / 409 MB, free: 37.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.2318, allocations: 15.94 kB / 409 MB, free: 37.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.2318, allocations: 37.48 kB / 409 MB, free: 37.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.2318, allocations: 0 / 409 MB, free: 37.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009132/0.2328, allocations: 445.8 kB / 409.5 MB, free: 37.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.2328, allocations: 55.41 kB / 409.5 MB, free: 37.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2339, allocations: 1.368 MB / 410.9 MB, free: 35.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.234, allocations: 33.7 kB / 410.9 MB, free: 35.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.2342, allocations: 448.3 kB / 411.4 MB, free: 35.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.2343, allocations: 90.66 kB / 411.5 MB, free: 35.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/0.2344, allocations: 85.53 kB / 411.5 MB, free: 34.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.2344, allocations: 325.9 kB / 411.9 MB, free: 34.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.2347, allocations: 115.9 kB / 412 MB, free: 34.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.2349, allocations: 191.6 kB / 412.2 MB, free: 34.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.2354, allocations: 323.5 kB / 412.5 MB, free: 33.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2354, allocations: 0 / 412.5 MB, free: 33.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00065/0.2361, allocations: 463.7 kB / 412.9 MB, free: 33.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2361, allocations: 4 kB / 412.9 MB, free: 33.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2361, allocations: 4 kB / 412.9 MB, free: 33.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.2361, allocations: 4 kB / 412.9 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.2365, allocations: 87.88 kB / 413 MB, free: 33.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2365, allocations: 4.25 kB / 413 MB, free: 33.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.2369, allocations: 71.3 kB / 413.1 MB, free: 33.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.2369, allocations: 12 kB / 413.1 MB, free: 33.33 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.0002583/0.2372, allocations: 297.6 kB / 413.4 MB, free: 33.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2373, allocations: 94.78 kB / 413.5 MB, free: 32.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007489/0.238, allocations: 462.5 kB / 413.9 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2381, allocations: 4 kB / 413.9 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2381, allocations: 0 / 413.9 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2381, allocations: 0 / 413.9 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.2386, allocations: 0.6358 MB / 414.6 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2386, allocations: 0 / 414.6 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.239, allocations: 75.89 kB / 414.7 MB, free: 31.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.239, allocations: 0 / 414.7 MB, free: 31.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.239, allocations: 12 kB / 414.7 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.239, allocations: 0 / 414.7 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.239, allocations: 7.984 kB / 414.7 MB, free: 31.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.2396, allocations: 482.8 kB / 415.1 MB, free: 31.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.2398, allocations: 219.8 kB / 415.4 MB, free: 30.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.2399, allocations: 8 kB / 415.4 MB, free: 30.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.2402, allocations: 11.98 kB / 415.4 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.2403, allocations: 23.97 kB / 415.4 MB, free: 30.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2403, allocations: 11.94 kB / 415.4 MB, free: 30.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007938/0.2411, allocations: 0.9755 MB / 416.4 MB, free: 29.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2411, allocations: 0 / 416.4 MB, free: 29.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004901/0.2416, allocations: 171.8 kB / 416.6 MB, free: 29.77 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.0008722/0.2425, allocations: 432.5 kB / 417 MB, free: 29.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.243, allocations: 308.2 kB / 417.3 MB, free: 29.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.243, allocations: 0 / 417.3 MB, free: 29.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.2433, allocations: 143.8 kB / 417.4 MB, free: 29.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.2441, allocations: 218.7 kB / 417.6 MB, free: 28.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.2457, allocations: 1.509 MB / 419.1 MB, free: 27.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.2461, allocations: 1.019 MB / 420.2 MB, free: 26.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003079/0.2464, allocations: 157.6 kB / 420.3 MB, free: 26.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2465, allocations: 63.42 kB / 420.4 MB, free: 26.04 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2465, allocations: 0 / 420.4 MB, free: 26.04 MB / 318.1 MB Notification: Performance of Templates: time 0.01467/0.2612, allocations: 10.59 MB / 431 MB, free: 15.52 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)