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.008875/0.008875, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001983/0.001983, allocations: 195.6 kB / 16.67 MB, free: 5.977 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.365/1.365, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06577/0.06577, allocations: 11.84 MB / 281.7 MB, free: 9.348 MB / 238.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.001738/0.001738, allocations: 67.91 kB / 392.3 MB, free: 3.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2616, allocations: 49.23 MB / 441.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004102/0.2657, allocations: 3.6 MB / 445.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.2694, allocations: 2.567 MB / 447.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.2697, allocations: 5.406 kB / 447.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007253/0.2705, allocations: 433.4 kB / 448.2 MB, free: 224 kB / 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.0007465/0.2712, allocations: 449.3 kB / 448.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.2729, allocations: 0.5905 MB / 449.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009495/0.2738, allocations: 0.8657 MB / 450.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.2742, allocations: 183.5 kB / 450.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.2747, allocations: 350 kB / 450.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.2752, allocations: 462.7 kB / 451 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.03e-05/0.2753, allocations: 41.25 kB / 451.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.2757, allocations: 244.2 kB / 451.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.276, allocations: 243 kB / 451.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.2763, allocations: 416.5 kB / 451.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.2774, allocations: 1.027 MB / 453 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2774, allocations: 0 / 453 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2774, allocations: 4 kB / 453 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2775, allocations: 0 / 453 MB, free: 13.24 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001921/0.2794, allocations: 1.215 MB / 454.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2794, allocations: 13.3 kB / 454.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.2796, allocations: 105.7 kB / 454.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.2805, allocations: 0.6465 MB / 455 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.2806, allocations: 33.41 kB / 455 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.2806, allocations: 38.53 kB / 455 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007741/0.2814, allocations: 442.3 kB / 455.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2814, allocations: 0 / 455.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.2815, allocations: 19.31 kB / 455.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.2815, allocations: 14.12 kB / 455.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.2824, allocations: 454.5 kB / 455.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.2853, allocations: 2.476 MB / 458.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.286, allocations: 306.5 kB / 458.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.2862, allocations: 128.7 kB / 458.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.2863, allocations: 11.73 kB / 458.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2863, allocations: 33.5 kB / 458.9 MB, free: 8.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.2863, allocations: 0 / 458.9 MB, free: 8.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009381/0.2872, allocations: 440.5 kB / 459.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2873, allocations: 54.12 kB / 459.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.2889, allocations: 1.371 MB / 460.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2889, allocations: 30.7 kB / 460.8 MB, free: 7.652 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.2893, allocations: 455 kB / 461.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.984e-05/0.2894, allocations: 94.38 kB / 461.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.2895, allocations: 77.94 kB / 461.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2897, allocations: 324.5 kB / 461.7 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.29, allocations: 120.2 kB / 461.8 MB, free: 6.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.2903, allocations: 193 kB / 462 MB, free: 6.594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.2908, allocations: 323.5 kB / 462.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2909, allocations: 4 kB / 462.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008081/0.2917, allocations: 459.8 kB / 462.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2917, allocations: 4 kB / 462.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2917, allocations: 4 kB / 462.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2917, allocations: 4 kB / 462.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.2921, allocations: 92.12 kB / 462.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2922, allocations: 7.938 kB / 462.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.2925, allocations: 55.38 kB / 462.9 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.2926, allocations: 19.98 kB / 462.9 MB, free: 5.605 MB / 334.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.0003024/0.2929, allocations: 305.5 kB / 463.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.293, allocations: 94.78 kB / 463.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008287/0.2938, allocations: 450.4 kB / 463.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2938, allocations: 4 kB / 463.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2939, allocations: 0 / 463.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2939, allocations: 3.984 kB / 463.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.2946, allocations: 0.6281 MB / 464.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2946, allocations: 4 kB / 464.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.2949, allocations: 75.89 kB / 464.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2949, allocations: 3.938 kB / 464.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.295, allocations: 15.98 kB / 464.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.295, allocations: 0 / 464.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.295, allocations: 3.984 kB / 464.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.2957, allocations: 490.8 kB / 465 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.296, allocations: 219.8 kB / 465.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.2961, allocations: 8 kB / 465.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.2963, allocations: 8 kB / 465.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.2964, allocations: 23.97 kB / 465.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.2964, allocations: 11.98 kB / 465.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.2975, allocations: 0.9677 MB / 466.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2975, allocations: 4 kB / 466.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005486/0.2981, allocations: 179.8 kB / 466.4 MB, free: 2.035 MB / 334.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.0008888/0.299, allocations: 407 kB / 466.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006297/0.2996, allocations: 304.2 kB / 467.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2996, allocations: 0 / 467.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.2999, allocations: 151.7 kB / 467.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008557/0.3008, allocations: 221.5 kB / 467.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3028, allocations: 1.513 MB / 469 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.3033, allocations: 1.015 MB / 470 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003511/0.3037, allocations: 149.6 kB / 470.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3038, allocations: 63.42 kB / 470.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3039, allocations: 0 / 470.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Templates: time 0.01814/0.322, allocations: 10.71 MB / 480.9 MB, free: 3.516 MB / 350.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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)