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.001394/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001355/0.001355, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.406/1.406, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05468/0.05468, allocations: 11.84 MB / 281.2 MB, free: 9.641 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.001363/0.001363, allocations: 71.34 kB / 341.1 MB, free: 22.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.095, allocations: 49.23 MB / 390.4 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.006033/0.1011, allocations: 4.468 MB / 394.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004578/0.1057, allocations: 2.728 MB / 397.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007215/0.1064, allocations: 8 kB / 397.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008884/0.1074, allocations: 402.9 kB / 398 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.1085, allocations: 398.2 kB / 398.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.1101, allocations: 0.4942 MB / 398.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.1113, allocations: 0.8323 MB / 399.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.1116, allocations: 173 kB / 399.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.1123, allocations: 314.6 kB / 400.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006606/0.113, allocations: 462.3 kB / 400.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.1131, allocations: 28 kB / 400.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/0.1137, allocations: 215.8 kB / 400.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.114, allocations: 235.1 kB / 401.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.1145, allocations: 393.3 kB / 401.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.1155, allocations: 0.9888 MB / 402.4 MB, free: 9.004 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1155, allocations: 0 / 402.4 MB, free: 9.004 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1155, allocations: 4 kB / 402.5 MB, free: 9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1156, allocations: 0 / 402.5 MB, free: 9 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.001795/0.1174, allocations: 1.225 MB / 403.7 MB, free: 7.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1174, allocations: 8.031 kB / 403.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.1176, allocations: 107.6 kB / 403.8 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007741/0.1183, allocations: 0.64 MB / 404.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.1184, allocations: 32.94 kB / 404.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.1185, allocations: 40 kB / 404.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.1192, allocations: 442.4 kB / 404.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1193, allocations: 0 / 404.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.1193, allocations: 16 kB / 404.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1193, allocations: 12 kB / 405 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.1201, allocations: 447.7 kB / 405.4 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.1229, allocations: 2.485 MB / 407.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.1236, allocations: 315.2 kB / 408.2 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.1239, allocations: 120.8 kB / 408.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.1239, allocations: 11.97 kB / 408.3 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.124, allocations: 30.56 kB / 408.4 MB, free: 2.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.124, allocations: 4 kB / 408.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009466/0.1249, allocations: 452.8 kB / 408.8 MB, free: 2.242 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.125, allocations: 55.39 kB / 408.9 MB, free: 2.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.1264, allocations: 1.36 MB / 410.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.1265, allocations: 29.7 kB / 410.2 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.1268, allocations: 460.2 kB / 410.7 MB, free: 316 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.1269, allocations: 98.61 kB / 410.8 MB, free: 216 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.127, allocations: 77.59 kB / 410.9 MB, free: 132 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1272, allocations: 329.9 kB / 411.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.1274, allocations: 111.9 kB / 411.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.1277, allocations: 187.6 kB / 411.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.1283, allocations: 323.4 kB / 411.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1283, allocations: 0 / 411.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000787/0.1291, allocations: 467.7 kB / 412.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1291, allocations: 4 kB / 412.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1292, allocations: 7.984 kB / 412.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1292, allocations: 8.25 kB / 412.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.1296, allocations: 87.88 kB / 412.4 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1296, allocations: 7.938 kB / 412.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.13, allocations: 59.36 kB / 412.4 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.13, allocations: 16 kB / 412.4 MB, free: 14.48 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.0003378/0.1303, allocations: 297.6 kB / 412.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.1305, allocations: 94.78 kB / 412.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008776/0.1314, allocations: 462.5 kB / 413.3 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1314, allocations: 4 kB / 413.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1314, allocations: 3.938 kB / 413.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1314, allocations: 0 / 413.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008257/0.1322, allocations: 0.6358 MB / 413.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1322, allocations: 3.938 kB / 413.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.1326, allocations: 67.95 kB / 414 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1326, allocations: 0 / 414 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.1326, allocations: 8 kB / 414 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1326, allocations: 8 kB / 414 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1327, allocations: 0 / 414 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.1334, allocations: 482.8 kB / 414.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.1337, allocations: 223.8 kB / 414.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.1338, allocations: 8 kB / 414.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.134, allocations: 11.98 kB / 414.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.1341, allocations: 23.97 kB / 414.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1341, allocations: 12 kB / 414.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001112/0.1353, allocations: 0.9755 MB / 415.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1353, allocations: 0 / 415.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005824/0.1359, allocations: 167.8 kB / 415.9 MB, free: 10.92 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.001069/0.1369, allocations: 421.2 kB / 416.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006939/0.1376, allocations: 308.1 kB / 416.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1377, allocations: 4.062 kB / 416.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.138, allocations: 144.3 kB / 416.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.139, allocations: 204.2 kB / 416.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.1414, allocations: 1.772 MB / 418.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.142, allocations: 1.015 MB / 419.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003922/0.1424, allocations: 153.6 kB / 419.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.1425, allocations: 63.42 kB / 419.9 MB, free: 6.895 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1425, allocations: 0 / 419.9 MB, free: 6.895 MB / 318.1 MB Notification: Performance of Templates: time 0.1832/0.3258, allocations: 10.15 MB / 430.1 MB, free: 37.86 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)