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.001612/0.001612, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 194.6 kB / 16.53 MB, free: 6.66 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.481/1.481, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05622/0.05622, allocations: 11.84 MB / 281.6 MB, free: 9.434 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.001639/0.001639, allocations: 71.91 kB / 341.8 MB, free: 21.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09737, allocations: 49.23 MB / 391.1 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.006119/0.1035, allocations: 3.586 MB / 394.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004441/0.108, allocations: 2.564 MB / 397.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.1087, allocations: 7.938 kB / 397.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009832/0.1097, allocations: 434.5 kB / 397.6 MB, free: 14.09 MB / 302.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.001241/0.111, allocations: 425.8 kB / 398 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.1127, allocations: 0.5982 MB / 398.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.114, allocations: 0.8441 MB / 399.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.1144, allocations: 193.4 kB / 399.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005892/0.115, allocations: 346.7 kB / 400 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.1156, allocations: 470.2 kB / 400.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-05/0.1156, allocations: 40 kB / 400.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.1161, allocations: 235.8 kB / 400.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.1164, allocations: 243.1 kB / 401 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.1167, allocations: 413.4 kB / 401.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1178, allocations: 1.02 MB / 402.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1178, allocations: 0 / 402.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1178, allocations: 4 kB / 402.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1179, allocations: 0 / 402.4 MB, free: 9.293 MB / 302.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.001791/0.1197, allocations: 1.213 MB / 403.6 MB, free: 8.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1197, allocations: 15.89 kB / 403.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.1199, allocations: 111.6 kB / 403.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.1207, allocations: 0.6362 MB / 404.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.1207, allocations: 32.94 kB / 404.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.1208, allocations: 43.98 kB / 404.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.1215, allocations: 438.4 kB / 404.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1216, allocations: 0 / 404.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.1216, allocations: 16 kB / 404.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1216, allocations: 15.94 kB / 404.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000791/0.1224, allocations: 451.7 kB / 405.4 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.1254, allocations: 2.477 MB / 407.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.1261, allocations: 319.2 kB / 408.2 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.1264, allocations: 120.8 kB / 408.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.1264, allocations: 7.938 kB / 408.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1265, allocations: 42.55 kB / 408.3 MB, free: 2.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.1265, allocations: 4 kB / 408.3 MB, free: 2.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009909/0.1275, allocations: 448.8 kB / 408.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.1275, allocations: 51.41 kB / 408.8 MB, free: 2.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.129, allocations: 1.361 MB / 410.2 MB, free: 1.086 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.129, allocations: 29.7 kB / 410.2 MB, free: 1.051 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.1294, allocations: 464.2 kB / 410.7 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.1295, allocations: 90.73 kB / 410.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1296, allocations: 81.58 kB / 410.8 MB, free: 428 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1297, allocations: 321.9 kB / 411.1 MB, free: 100 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.13, allocations: 112 kB / 411.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.1303, allocations: 191.5 kB / 411.4 MB, free: 15.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.1309, allocations: 315.5 kB / 411.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1309, allocations: 0 / 411.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000765/0.1317, allocations: 475.7 kB / 412.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1317, allocations: 4 kB / 412.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1317, allocations: 8 kB / 412.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1317, allocations: 4 kB / 412.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.1321, allocations: 91.81 kB / 412.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1321, allocations: 4 kB / 412.3 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.1324, allocations: 51.61 kB / 412.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.1325, allocations: 20 kB / 412.4 MB, free: 14.78 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.0003073/0.1328, allocations: 305.5 kB / 412.7 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1329, allocations: 94.78 kB / 412.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008627/0.1338, allocations: 458.5 kB / 413.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.1338, allocations: 4 kB / 413.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1338, allocations: 0 / 413.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1338, allocations: 0 / 413.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.1345, allocations: 0.6358 MB / 413.9 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1345, allocations: 0 / 413.9 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.1348, allocations: 75.89 kB / 413.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.1349, allocations: 4 kB / 413.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.1349, allocations: 11.94 kB / 414 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1349, allocations: 0 / 414 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1349, allocations: 0 / 414 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.1356, allocations: 482.9 kB / 414.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.1359, allocations: 227.8 kB / 414.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.136, allocations: 4 kB / 414.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.1363, allocations: 15.98 kB / 414.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.1363, allocations: 15.97 kB / 414.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1364, allocations: 12 kB / 414.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.1375, allocations: 0.9716 MB / 415.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.1375, allocations: 0 / 415.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005737/0.1381, allocations: 179.7 kB / 415.8 MB, free: 11.21 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.001025/0.1391, allocations: 408.3 kB / 416.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007453/0.1399, allocations: 344.1 kB / 416.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1399, allocations: 0 / 416.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.1402, allocations: 143.8 kB / 416.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.1411, allocations: 224.3 kB / 416.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.1435, allocations: 1.536 MB / 418.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006924/0.1442, allocations: 1.019 MB / 419.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003948/0.1446, allocations: 149.6 kB / 419.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.1447, allocations: 59.42 kB / 419.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1447, allocations: 4 kB / 419.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of Templates: time 0.1818/0.3265, allocations: 10.59 MB / 430.3 MB, free: 37.48 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)