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.001181/0.001181, allocations: 107 kB / 16.36 MB, free: 6.285 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.001211/0.001211, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05403/0.05403, allocations: 11.84 MB / 282.4 MB, free: 240 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.00155/0.00155, allocations: 75.8 kB / 343.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2951, allocations: 49.21 MB / 392.5 MB, free: 49.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.006643/0.3018, allocations: 3.607 MB / 396.1 MB, free: 46.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005649/0.3075, allocations: 2.553 MB / 398.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006757/0.3082, allocations: 5.375 kB / 398.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009566/0.3092, allocations: 432.5 kB / 399.1 MB, free: 44.95 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.001193/0.3105, allocations: 431.8 kB / 399.5 MB, free: 44.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.312, allocations: 0.5961 MB / 400.1 MB, free: 44.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.3131, allocations: 0.8536 MB / 400.9 MB, free: 43.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.3135, allocations: 192.7 kB / 401.1 MB, free: 43.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006105/0.3141, allocations: 342.6 kB / 401.5 MB, free: 43.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.3146, allocations: 468.4 kB / 401.9 MB, free: 43.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.3147, allocations: 40.72 kB / 402 MB, free: 43.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004888/0.3152, allocations: 243.9 kB / 402.2 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.3154, allocations: 239.8 kB / 402.4 MB, free: 43.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.3157, allocations: 417.2 kB / 402.8 MB, free: 42.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009576/0.3166, allocations: 1.031 MB / 403.9 MB, free: 42.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3166, allocations: 0 / 403.9 MB, free: 42.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3167, allocations: 0.9688 kB / 403.9 MB, free: 42.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3167, allocations: 0 / 403.9 MB, free: 42.07 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.00161/0.3183, allocations: 1.214 MB / 405.1 MB, free: 41.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3183, allocations: 16.97 kB / 405.1 MB, free: 41.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3185, allocations: 109.8 kB / 405.2 MB, free: 41.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/0.3194, allocations: 0.6389 MB / 405.8 MB, free: 40.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.3194, allocations: 33.22 kB / 405.9 MB, free: 40.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.3195, allocations: 38.84 kB / 405.9 MB, free: 40.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.3202, allocations: 441.5 kB / 406.3 MB, free: 40.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3202, allocations: 1.219 kB / 406.3 MB, free: 40.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.3203, allocations: 19.91 kB / 406.4 MB, free: 40.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3203, allocations: 8.906 kB / 406.4 MB, free: 40.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.321, allocations: 446.5 kB / 406.8 MB, free: 40 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.3235, allocations: 2.488 MB / 409.3 MB, free: 37.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006551/0.3242, allocations: 316.1 kB / 409.6 MB, free: 37.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.3244, allocations: 117.7 kB / 409.7 MB, free: 37.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.3244, allocations: 8 kB / 409.7 MB, free: 37.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.3245, allocations: 34.55 kB / 409.8 MB, free: 37.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.3245, allocations: 4 kB / 409.8 MB, free: 37.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008003/0.3253, allocations: 452.1 kB / 410.2 MB, free: 36.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.3253, allocations: 51.41 kB / 410.3 MB, free: 36.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.3265, allocations: 1.372 MB / 411.6 MB, free: 35.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3265, allocations: 29.7 kB / 411.7 MB, free: 35.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.3267, allocations: 448.3 kB / 412.1 MB, free: 34.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.3268, allocations: 94.64 kB / 412.2 MB, free: 34.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3269, allocations: 89.53 kB / 412.3 MB, free: 34.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.021e-05/0.327, allocations: 325.9 kB / 412.6 MB, free: 34.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.3272, allocations: 111.9 kB / 412.7 MB, free: 34.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3274, allocations: 187.6 kB / 412.9 MB, free: 34.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.3279, allocations: 323.5 kB / 413.2 MB, free: 33.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3279, allocations: 0 / 413.2 MB, free: 33.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000684/0.3286, allocations: 463.7 kB / 413.7 MB, free: 33.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3286, allocations: 8.25 kB / 413.7 MB, free: 33.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3286, allocations: 4 kB / 413.7 MB, free: 33.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3287, allocations: 4 kB / 413.7 MB, free: 33.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.329, allocations: 87.88 kB / 413.8 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.329, allocations: 7.938 kB / 413.8 MB, free: 33.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.3294, allocations: 59.36 kB / 413.8 MB, free: 33.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3294, allocations: 12 kB / 413.8 MB, free: 33.17 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.000295/0.3297, allocations: 301.6 kB / 414.1 MB, free: 32.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3298, allocations: 94.78 kB / 414.2 MB, free: 32.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/0.3306, allocations: 462.5 kB / 414.7 MB, free: 32.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3306, allocations: 7.938 kB / 414.7 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3306, allocations: 0 / 414.7 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3306, allocations: 4 kB / 414.7 MB, free: 32.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.3312, allocations: 0.6358 MB / 415.3 MB, free: 31.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3312, allocations: 0 / 415.3 MB, free: 31.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.3315, allocations: 63.95 kB / 415.4 MB, free: 31.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3315, allocations: 4 kB / 415.4 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.3315, allocations: 8 kB / 415.4 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3315, allocations: 3.938 kB / 415.4 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3315, allocations: 4 kB / 415.4 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.3321, allocations: 490.8 kB / 415.9 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.3324, allocations: 215.8 kB / 416.1 MB, free: 30.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.335e-05/0.3325, allocations: 4 kB / 416.1 MB, free: 30.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.3328, allocations: 15.98 kB / 416.1 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.3329, allocations: 23.97 kB / 416.1 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3329, allocations: 8 kB / 416.1 MB, free: 30.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008487/0.3338, allocations: 0.9755 MB / 417.1 MB, free: 29.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3338, allocations: 0 / 417.1 MB, free: 29.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000493/0.3343, allocations: 175.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.0008551/0.3351, allocations: 428.7 kB / 417.7 MB, free: 29.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005448/0.3357, allocations: 308.6 kB / 418 MB, free: 29.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3357, allocations: 4.062 kB / 418 MB, free: 29.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.3359, 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.0007993/0.3367, allocations: 214 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.00163/0.3384, allocations: 1.513 MB / 419.9 MB, free: 27.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3387, allocations: 1.019 MB / 420.9 MB, free: 26.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000317/0.3391, allocations: 157.6 kB / 421.1 MB, free: 25.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3392, allocations: 63.42 kB / 421.1 MB, free: 25.88 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3392, allocations: 0 / 421.1 MB, free: 25.88 MB / 318.1 MB Notification: Performance of Templates: time 0.01404/0.3533, allocations: 10.6 MB / 431.7 MB, free: 15.35 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 cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)