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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 214.2 kB / 22.25 MB, free: 3.566 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.688/1.688, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.1021/0.1021, allocations: 11.34 MB / 323.8 MB, free: 6.766 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") [Timeout 660] "Notification: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00356/0.00356, allocations: 71.89 kB / 451.2 MB, free: 35.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.09019, allocations: 55.95 MB / 0.4953 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.005506/0.0957, allocations: 3.342 MB / 0.4986 GB, free: 7.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00483/0.1005, allocations: 2.637 MB / 0.5011 GB, free: 5.172 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.1008, allocations: 11.94 kB / 0.5011 GB, free: 5.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.1017, allocations: 438.4 kB / 0.5016 GB, free: 4.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.1029, allocations: 0.4977 MB / 0.502 GB, free: 4.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1045, allocations: 0.6325 MB / 0.5027 GB, free: 3.598 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.1057, allocations: 0.8985 MB / 0.5035 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.106, allocations: 109.9 kB / 0.5036 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.1065, allocations: 374.5 kB / 0.504 GB, free: 2.215 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006755/0.1072, allocations: 474.2 kB / 0.5045 GB, free: 1.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-05/0.1073, allocations: 44 kB / 0.5045 GB, free: 1.707 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.1078, allocations: 243.8 kB / 0.5047 GB, free: 1.469 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.1081, allocations: 243.1 kB / 0.505 GB, free: 1.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.1085, allocations: 329.9 kB / 0.5053 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.1099, allocations: 1.082 MB / 0.5063 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1099, allocations: 4 kB / 0.5063 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1099, allocations: 0 / 0.5063 GB, free: 15.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1099, allocations: 0 / 0.5063 GB, free: 15.82 MB / 378.7 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.002001/0.1119, allocations: 1.192 MB / 0.5075 GB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.112, allocations: 12.03 kB / 0.5075 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.1121, allocations: 108.2 kB / 0.5076 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.1132, allocations: 0.6256 MB / 0.5082 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.1132, allocations: 29 kB / 0.5083 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.1133, allocations: 40 kB / 0.5083 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009233/0.1142, allocations: 442.4 kB / 0.5087 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1142, allocations: 3.984 kB / 0.5087 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.1143, allocations: 19.94 kB / 0.5087 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1143, allocations: 12 kB / 0.5087 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1154, allocations: 451.8 kB / 0.5092 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.1181, allocations: 1.315 MB / 0.5105 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.1189, allocations: 297 kB / 0.5107 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.1192, allocations: 112.8 kB / 0.5109 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.1192, allocations: 11.98 kB / 0.5109 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1193, allocations: 30.56 kB / 0.5109 GB, free: 11.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.887e-06/0.1193, allocations: 3.984 kB / 0.5109 GB, free: 11.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.001073/0.1203, allocations: 440.9 kB / 0.5113 GB, free: 10.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1204, allocations: 55.41 kB / 0.5114 GB, free: 10.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.1221, allocations: 1.275 MB / 0.5126 GB, free: 9.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.1221, allocations: 25.7 kB / 0.5126 GB, free: 9.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/0.1226, allocations: 464.2 kB / 0.5131 GB, free: 8.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1227, allocations: 99.16 kB / 0.5132 GB, free: 8.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.1228, allocations: 73.69 kB / 0.5133 GB, free: 8.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.123, allocations: 321.9 kB / 0.5136 GB, free: 8.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.1233, allocations: 115.9 kB / 0.5137 GB, free: 8.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.1237, allocations: 183.7 kB / 0.5138 GB, free: 7.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/0.1244, allocations: 327.3 kB / 0.5142 GB, free: 7.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1244, allocations: 4 kB / 0.5142 GB, free: 7.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009389/0.1253, allocations: 452.5 kB / 0.5146 GB, free: 7.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1253, allocations: 8 kB / 0.5146 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1253, allocations: 0 / 0.5146 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1254, allocations: 7.984 kB / 0.5146 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.1258, allocations: 92.14 kB / 0.5147 GB, free: 7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.1258, allocations: 7.938 kB / 0.5147 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.1261, allocations: 43.66 kB / 0.5147 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.1261, allocations: 19.98 kB / 0.5148 GB, free: 6.93 MB / 378.7 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.0003984/0.1265, allocations: 297.6 kB / 0.515 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.1267, allocations: 91.39 kB / 0.5151 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.1277, allocations: 449.4 kB / 0.5156 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.1277, allocations: 4 kB / 0.5156 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1277, allocations: 0 / 0.5156 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1277, allocations: 0 / 0.5156 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009564/0.1287, allocations: 0.4932 MB / 0.516 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1287, allocations: 4 kB / 0.5161 GB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.129, allocations: 63.95 kB / 0.5161 GB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.129, allocations: 4 kB / 0.5161 GB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.1291, allocations: 8 kB / 0.5161 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.1291, allocations: 3.938 kB / 0.5161 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1291, allocations: 0 / 0.5161 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008521/0.1299, allocations: 495.6 kB / 0.5166 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.1302, allocations: 127.3 kB / 0.5167 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.1303, allocations: 15.94 kB / 0.5167 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.1305, allocations: 11.98 kB / 0.5167 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.1306, allocations: 15.97 kB / 0.5168 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.1306, allocations: 15.98 kB / 0.5168 GB, free: 4.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.1319, allocations: 0.8984 MB / 0.5177 GB, free: 3.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1319, allocations: 0 / 0.5177 GB, free: 3.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006347/0.1325, allocations: 195.5 kB / 0.5178 GB, free: 3.699 MB / 378.7 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.002646/0.1351, allocations: 445.6 kB / 0.5183 GB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007592/0.1359, allocations: 283.8 kB / 0.5185 GB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1359, allocations: 0 / 0.5185 GB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.1362, allocations: 139.8 kB / 0.5187 GB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.137, allocations: 163.8 kB / 0.5188 GB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.1395, allocations: 1.531 MB / 0.5203 GB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.1401, allocations: 429 kB / 0.5207 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003924/0.1405, allocations: 136.7 kB / 0.5209 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.1406, allocations: 55.42 kB / 0.5209 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1406, allocations: 3.938 kB / 0.5209 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of Templates: time 0.02054/0.1612, allocations: 9.62 MB / 0.5303 GB, free: 7.141 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.465089473174885]