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.001583/0.001583, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001806/0.001806, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.269/1.269, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05768/0.05768, allocations: 11.84 MB / 282.4 MB, free: 212 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.001571/0.001571, allocations: 82.34 kB / 393 MB, free: 45.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0629/0.06448, allocations: 49.23 MB / 442.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004149/0.06866, allocations: 3.589 MB / 445.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.07241, allocations: 2.56 MB / 448.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.07265, allocations: 4 kB / 448.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.07331, allocations: 438.4 kB / 448.8 MB, free: 11.46 MB / 334.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.0006864/0.074, allocations: 437.9 kB / 449.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.07522, allocations: 0.5955 MB / 449.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.07601, allocations: 0.8557 MB / 450.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.07631, allocations: 197.4 kB / 450.9 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.07667, allocations: 346.7 kB / 451.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.07718, allocations: 470.3 kB / 451.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.717e-05/0.07726, allocations: 40 kB / 451.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.07768, allocations: 231.8 kB / 452 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.0779, allocations: 255 kB / 452.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003348/0.07824, allocations: 417.3 kB / 452.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.07932, allocations: 1.031 MB / 453.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.07933, allocations: 0 / 453.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.07934, allocations: 0 / 453.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.07936, allocations: 3.938 kB / 453.7 MB, free: 6.609 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.001633/0.081, allocations: 1.252 MB / 454.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.08104, allocations: 11.89 kB / 454.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.08118, allocations: 108.2 kB / 455 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.08197, allocations: 0.6602 MB / 455.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.08201, allocations: 32.94 kB / 455.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.08208, allocations: 44 kB / 455.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.08285, allocations: 442.4 kB / 456.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.08288, allocations: 0 / 456.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.08292, allocations: 19.98 kB / 456.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.08294, allocations: 8 kB / 456.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.08376, allocations: 447.8 kB / 456.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.08652, allocations: 2.478 MB / 459.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/0.08725, allocations: 314.3 kB / 459.4 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.08752, allocations: 120.8 kB / 459.6 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.08757, allocations: 11.97 kB / 459.6 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.0876, allocations: 38.56 kB / 459.6 MB, free: 256 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.08761, allocations: 0 / 459.6 MB, free: 256 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009523/0.08856, allocations: 448.8 kB / 460.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.0886, allocations: 55.41 kB / 460.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.09008, allocations: 1.357 MB / 461.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.09012, allocations: 33.7 kB / 461.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.09047, allocations: 460.6 kB / 461.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.09056, allocations: 99.14 kB / 462 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.09068, allocations: 85.58 kB / 462.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.0908, allocations: 325.9 kB / 462.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.09108, allocations: 115.9 kB / 462.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.0914, allocations: 187.6 kB / 462.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.09199, allocations: 327.5 kB / 463.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.09201, allocations: 0 / 463.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008187/0.09283, allocations: 468.3 kB / 463.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.09285, allocations: 6.812 kB / 463.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.09287, allocations: 8.25 kB / 463.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.09289, allocations: 4 kB / 463.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.0933, allocations: 87.88 kB / 463.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.09332, allocations: 11.88 kB / 463.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.09363, allocations: 55.61 kB / 463.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.09367, allocations: 19.98 kB / 463.7 MB, free: 12.04 MB / 350.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.0003147/0.09399, allocations: 301.6 kB / 464 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.09412, allocations: 111.3 kB / 464.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008873/0.09502, allocations: 442.6 kB / 464.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.09503, allocations: 4 kB / 464.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.09504, allocations: 0 / 464.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.09531, allocations: 224.3 kB / 464.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.09542, allocations: 8 kB / 464.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.09573, allocations: 23.86 kB / 464.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.0958, allocations: 19.97 kB / 464.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007882/0.09659, allocations: 404.8 kB / 465.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007439/0.09735, allocations: 0.5618 MB / 465.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002629/0.09762, allocations: 127.9 kB / 465.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.09873, allocations: 0.9716 MB / 466.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of Backend: time 3.91e-07/0.09874, allocations: 0 / 466.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.1006, allocations: 0.7207 MB / 467.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of SimCode: time 0.002494/0.1031, allocations: 2.057 MB / 469.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of Templates: time 0.01927/0.1224, allocations: 11.7 MB / 481.3 MB, free: 10.41 MB / 366.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)