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.001013/0.001013, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.0009922/0.0009922, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.225/1.225, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05016/0.05016, allocations: 11.84 MB / 281.9 MB, free: 9.594 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.001351/0.001351, allocations: 63.91 kB / 342 MB, free: 22.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07426/0.07563, allocations: 49.22 MB / 391.2 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.005016/0.08068, allocations: 4.48 MB / 395.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.08434, allocations: 2.654 MB / 398.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.08464, allocations: 11.94 kB / 398.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.08536, allocations: 406.9 kB / 398.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006626/0.08603, allocations: 398.2 kB / 399.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.08752, allocations: 0.5295 MB / 399.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009274/0.08846, allocations: 0.8519 MB / 400.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.0888, allocations: 193.4 kB / 400.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.08921, allocations: 346.6 kB / 401 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.0897, allocations: 478.3 kB / 401.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.08977, allocations: 40 kB / 401.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.0902, allocations: 239.8 kB / 401.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.09041, allocations: 255 kB / 402 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.09074, allocations: 417.3 kB / 402.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007851/0.09153, allocations: 0.7837 MB / 403.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09154, allocations: 0 / 403.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09155, allocations: 0 / 403.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.09156, allocations: 0 / 403.2 MB, free: 8.961 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.00163/0.0932, allocations: 1.217 MB / 404.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.09324, allocations: 15.89 kB / 404.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.09339, allocations: 103.6 kB / 404.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/0.0941, allocations: 0.6362 MB / 405.2 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.09414, allocations: 36.94 kB / 405.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.0942, allocations: 40 kB / 405.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.09493, allocations: 442.4 kB / 405.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.09496, allocations: 7.938 kB / 405.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.095, allocations: 16 kB / 405.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.09502, allocations: 11.94 kB / 405.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.09575, allocations: 451.7 kB / 406.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.09839, allocations: 2.485 MB / 408.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.0991, allocations: 315.2 kB / 409 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.09935, allocations: 124.8 kB / 409.1 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.0994, allocations: 8 kB / 409.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.09943, allocations: 34.56 kB / 409.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.09944, allocations: 0 / 409.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008885/0.1003, allocations: 456.8 kB / 409.6 MB, free: 2.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1004, allocations: 55.41 kB / 409.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.1017, allocations: 1.361 MB / 411 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.1018, allocations: 29.7 kB / 411 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.1021, allocations: 456.2 kB / 411.5 MB, free: 268 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.1022, allocations: 90.73 kB / 411.5 MB, free: 176 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1023, allocations: 81.58 kB / 411.6 MB, free: 88 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1024, allocations: 321.9 kB / 411.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1027, allocations: 119.9 kB / 412.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.103, allocations: 183.6 kB / 412.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.1035, allocations: 327.5 kB / 412.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1035, allocations: 0 / 412.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007531/0.1043, allocations: 459.7 kB / 413 MB, free: 14.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1043, allocations: 8 kB / 413 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1043, allocations: 0 / 413 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1043, allocations: 8.188 kB / 413 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.1047, allocations: 91.88 kB / 413.1 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1047, allocations: 4 kB / 413.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.1051, allocations: 55.42 kB / 413.2 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.1051, allocations: 16 kB / 413.2 MB, free: 14.45 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.0003059/0.1054, allocations: 301.6 kB / 413.5 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1055, allocations: 94.78 kB / 413.6 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008403/0.1064, allocations: 462.5 kB / 414 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1064, allocations: 8 kB / 414 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1064, allocations: 0 / 414 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1064, allocations: 0 / 414 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/0.1071, allocations: 0.6396 MB / 414.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1071, allocations: 0 / 414.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.1074, allocations: 71.89 kB / 414.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1074, allocations: 0 / 414.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.1075, allocations: 11.98 kB / 414.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1075, allocations: 0 / 414.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1075, allocations: 7.938 kB / 414.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.1081, allocations: 486.9 kB / 415.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.1084, allocations: 215.8 kB / 415.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/0.1085, allocations: 4 kB / 415.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.1088, allocations: 15.98 kB / 415.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.1088, allocations: 19.97 kB / 415.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1088, allocations: 12 kB / 415.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009897/0.1098, allocations: 0.9793 MB / 416.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1098, allocations: 0 / 416.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005086/0.1104, allocations: 179.8 kB / 416.7 MB, free: 10.88 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.0008674/0.1112, allocations: 411.8 kB / 417.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006751/0.1119, allocations: 327.6 kB / 417.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1119, allocations: 0.5 kB / 417.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.1122, allocations: 152.3 kB / 417.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/0.1131, allocations: 220.1 kB / 417.7 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.1153, allocations: 1.839 MB / 419.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.1159, allocations: 1.019 MB / 420.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.1161, allocations: 71.36 kB / 420.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1161, allocations: 0 / 420.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of Templates: time 0.1413/0.2574, allocations: 11.35 MB / 432 MB, free: 37.63 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)