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.0009293/0.0009294, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009101/0.0009102, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05089/0.05089, allocations: 11.85 MB / 282.2 MB, free: 9.48 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.0005742/0.0005742, allocations: 16 kB / 342.9 MB, free: 22.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.09933, allocations: 50.22 MB / 393.1 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004013/0.1034, allocations: 3.564 MB / 396.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.1071, allocations: 2.454 MB / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.1074, allocations: 8 kB / 399.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.108, allocations: 402.8 kB / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007973/0.1089, allocations: 0.5181 MB / 400 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1099, allocations: 466.4 kB / 400.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007138/0.1106, allocations: 0.5885 MB / 401.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1109, allocations: 147.7 kB / 401.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.1112, allocations: 287 kB / 401.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.1117, allocations: 382.6 kB / 401.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.1117, allocations: 20 kB / 401.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.1121, allocations: 195.8 kB / 402.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.1123, allocations: 219.3 kB / 402.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1125, allocations: 177.1 kB / 402.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.1132, allocations: 0.7329 MB / 403.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1132, allocations: 0 / 403.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1132, allocations: 0 / 403.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.1132, allocations: 4 kB / 403.2 MB, free: 10.09 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.001536/0.1148, allocations: 1.081 MB / 404.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1148, allocations: 8.031 kB / 404.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.115, allocations: 110.6 kB / 404.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008152/0.1158, allocations: 0.6083 MB / 405 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.1158, allocations: 29 kB / 405.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.1159, allocations: 36 kB / 405.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.1166, allocations: 446.4 kB / 405.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1167, allocations: 0 / 405.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.1167, allocations: 16 kB / 405.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1167, allocations: 11.94 kB / 405.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007497/0.1175, allocations: 463.7 kB / 406 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.1203, allocations: 2.489 MB / 408.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.1213, allocations: 367.8 kB / 408.9 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.1214, allocations: 4 kB / 408.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1214, allocations: 34.56 kB / 408.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.1214, allocations: 3.938 kB / 408.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009249/0.1224, allocations: 473.2 kB / 409.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1224, allocations: 51.41 kB / 409.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.1239, allocations: 1.36 MB / 410.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.124, allocations: 29.7 kB / 410.8 MB, free: 2.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.1243, allocations: 460.3 kB / 411.2 MB, free: 1.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.1244, allocations: 86.66 kB / 411.3 MB, free: 1.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.1245, allocations: 12 kB / 411.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1246, allocations: 318 kB / 411.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.1249, allocations: 119.9 kB / 411.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.1252, allocations: 191.6 kB / 412 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1255, allocations: 151.8 kB / 412.1 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1255, allocations: 0 / 412.1 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008407/0.1263, allocations: 471.8 kB / 412.6 MB, free: 252 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.1264, allocations: 11.98 kB / 412.6 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1264, allocations: 0 / 412.6 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1264, allocations: 4 kB / 412.6 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.1268, allocations: 88.14 kB / 412.7 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1268, allocations: 11.98 kB / 412.7 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.1271, allocations: 59.31 kB / 412.7 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.1272, allocations: 19.98 kB / 412.8 MB, free: 56 kB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.1275, allocations: 297.6 kB / 413 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1276, allocations: 98.73 kB / 413.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.1285, allocations: 470.4 kB / 413.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1285, allocations: 7.984 kB / 413.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1285, allocations: 0 / 413.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1285, allocations: 0 / 413.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.1292, allocations: 0.6281 MB / 414.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1292, allocations: 0 / 414.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.1295, allocations: 75.89 kB / 414.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1295, allocations: 7.953 kB / 414.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1296, allocations: 8 kB / 414.3 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1296, allocations: 4 kB / 414.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.1296, allocations: 3.984 kB / 414.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.1303, allocations: 494.8 kB / 414.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.1306, allocations: 235.7 kB / 415 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.305e-05/0.1307, allocations: 7.953 kB / 415.1 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.131, allocations: 15.98 kB / 415.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.1311, allocations: 19.97 kB / 415.1 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.1311, allocations: 12 kB / 415.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009953/0.1321, allocations: 0.9676 MB / 416.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1321, allocations: 3.938 kB / 416.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.1326, allocations: 175.8 kB / 416.2 MB, free: 12.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008525/0.1335, allocations: 423 kB / 416.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006041/0.1341, allocations: 312.4 kB / 417 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1341, allocations: 0.5 kB / 417 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.1344, allocations: 159.8 kB / 417.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/0.1352, allocations: 200.2 kB / 417.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1372, allocations: 1.692 MB / 419 MB, free: 9.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.1378, allocations: 1.035 MB / 420 MB, free: 8.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003987/0.1382, allocations: 157.6 kB / 420.2 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.1383, allocations: 67.42 kB / 420.3 MB, free: 8.457 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1383, allocations: 0 / 420.3 MB, free: 8.457 MB / 318.1 MB Notification: Performance of Templates: time 0.1964/0.3347, allocations: 9.777 MB / 430 MB, free: 37.23 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: