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.0008468/0.0008467, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007068/0.007068, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.432/1.432, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05355/0.05355, allocations: 11.84 MB / 282.6 MB, free: 9.59 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.001096/0.001096, allocations: 16 kB / 343.5 MB, free: 22.14 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1085, allocations: 50.22 MB / 393.8 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.00436/0.1129, allocations: 4.083 MB / 397.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004083/0.117, allocations: 2.666 MB / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.1175, allocations: 15.94 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.1183, allocations: 406.9 kB / 400.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009236/0.1193, allocations: 390.3 kB / 401.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1208, allocations: 0.4983 MB / 401.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009215/0.1217, allocations: 0.8362 MB / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.122, allocations: 161.1 kB / 402.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.1225, allocations: 306.7 kB / 403.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.123, allocations: 446.3 kB / 403.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.1231, allocations: 20 kB / 403.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.1235, allocations: 215.8 kB / 403.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.1237, allocations: 223.1 kB / 404 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.1241, allocations: 407.1 kB / 404.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1251, allocations: 0.9769 MB / 405.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1252, allocations: 3.938 kB / 405.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1252, allocations: 0 / 405.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1252, allocations: 0 / 405.3 MB, free: 8.215 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.001727/0.1269, allocations: 1.07 MB / 406.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.127, allocations: 12.03 kB / 406.4 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.1271, allocations: 103.6 kB / 406.5 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.128, allocations: 0.6516 MB / 407.2 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.128, allocations: 32.94 kB / 407.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.1281, allocations: 40 kB / 407.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/0.1289, allocations: 442.4 kB / 407.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1289, allocations: 0 / 407.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.129, allocations: 20 kB / 407.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.129, allocations: 8 kB / 407.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.1298, allocations: 459.7 kB / 408.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.1327, allocations: 2.489 MB / 410.7 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/0.1335, allocations: 315.2 kB / 411 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.1338, allocations: 128.8 kB / 411.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1338, allocations: 4 kB / 411.1 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1339, allocations: 38.55 kB / 411.1 MB, free: 2.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/0.1339, allocations: 3.938 kB / 411.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009706/0.1348, allocations: 464.8 kB / 411.6 MB, free: 1.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1349, allocations: 55.41 kB / 411.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.1365, allocations: 1.364 MB / 413 MB, free: 120 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1365, allocations: 29.7 kB / 413 MB, free: 84 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.1369, allocations: 456.2 kB / 413.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.137, allocations: 90.73 kB / 413.6 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.1371, allocations: 45.62 kB / 413.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1372, allocations: 321.9 kB / 413.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.1375, allocations: 115.9 kB / 414 MB, free: 15.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.1378, allocations: 199.6 kB / 414.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.1384, allocations: 335.4 kB / 414.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1384, allocations: 0 / 414.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008318/0.1392, allocations: 479.9 kB / 415 MB, free: 14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1393, allocations: 8 kB / 415 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1393, allocations: 0 / 415 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.1393, allocations: 4 kB / 415 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.1397, allocations: 91.88 kB / 415.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1397, allocations: 7.938 kB / 415.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.1401, allocations: 55.36 kB / 415.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.1402, allocations: 24.03 kB / 415.2 MB, free: 13.82 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.0003441/0.1405, allocations: 301.6 kB / 415.5 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.1406, allocations: 94.78 kB / 415.6 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.1415, allocations: 474.4 kB / 416.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1415, allocations: 4 kB / 416.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1416, allocations: 4 kB / 416.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1416, allocations: 0 / 416.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.1423, allocations: 0.6281 MB / 416.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1423, allocations: 0 / 416.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.1426, allocations: 75.89 kB / 416.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1426, allocations: 0 / 416.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.1427, allocations: 11.98 kB / 416.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1427, allocations: 4 kB / 416.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1427, allocations: 3.938 kB / 416.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.1434, allocations: 0.4948 MB / 417.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.1437, allocations: 231.7 kB / 417.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/0.1438, allocations: 8 kB / 417.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.1441, allocations: 19.98 kB / 417.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.1441, allocations: 19.97 kB / 417.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.1442, allocations: 8 kB / 417.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001106/0.1453, allocations: 0.9716 MB / 418.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1453, allocations: 0 / 418.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.1458, allocations: 171.8 kB / 418.7 MB, free: 10.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.000906/0.1468, allocations: 414.9 kB / 419.1 MB, free: 9.895 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006993/0.1475, allocations: 311.7 kB / 419.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1475, allocations: 0 / 419.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.1478, allocations: 156.8 kB / 419.6 MB, free: 9.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.1488, allocations: 204.2 kB / 419.8 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.151, allocations: 1.809 MB / 421.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.1516, allocations: 1.019 MB / 422.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004479/0.1521, allocations: 149.6 kB / 422.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.1522, allocations: 59.42 kB / 422.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1522, allocations: 0 / 422.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of Templates: time 0.1728/0.325, allocations: 10.12 MB / 432.9 MB, free: 37.21 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: