Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.00179/0.00179, allocations: 109.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.003099/0.003099, allocations: 217.7 kB / 22.25 MB, free: 3.574 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.686/1.686, allocations: 230.6 MB / 256 MB, free: 9.598 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.06797/0.06797, allocations: 11.32 MB / 323.7 MB, free: 6.785 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.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") [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.003679/0.003679, allocations: 71.89 kB / 451.2 MB, free: 35.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.09598, allocations: 55.95 MB / 0.4953 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.005292/0.1013, allocations: 3.101 MB / 0.4983 GB, free: 8.074 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.1032, allocations: 0.9078 MB / 0.4992 GB, free: 7.164 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.1034, allocations: 11.94 kB / 0.4992 GB, free: 7.152 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004278/0.1038, allocations: 59.42 kB / 0.4993 GB, free: 7.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.1043, allocations: 194.7 kB / 0.4995 GB, free: 6.902 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1046, allocations: 115.8 kB / 0.4996 GB, free: 6.789 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007876/0.1054, allocations: 0.6376 MB / 0.5002 GB, free: 6.148 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.1057, allocations: 142.6 kB / 0.5003 GB, free: 6.004 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.106, allocations: 231.2 kB / 0.5006 GB, free: 5.777 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.1065, allocations: 242.9 kB / 0.5008 GB, free: 5.539 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.1065, allocations: 44 kB / 0.5008 GB, free: 5.496 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1067, allocations: 60 kB / 0.5009 GB, free: 5.438 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.1068, allocations: 111.6 kB / 0.501 GB, free: 5.328 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.1071, allocations: 223.1 kB / 0.5012 GB, free: 5.109 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.1078, allocations: 0.5292 MB / 0.5017 GB, free: 4.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1078, allocations: 7.938 kB / 0.5017 GB, free: 4.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1078, allocations: 0 / 0.5017 GB, free: 4.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1078, allocations: 0 / 0.5017 GB, free: 4.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001136/0.1089, allocations: 0.6455 MB / 0.5024 GB, free: 3.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.109, allocations: 11.98 kB / 0.5024 GB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.1092, allocations: 64.64 kB / 0.5024 GB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.1097, allocations: 284.8 kB / 0.5027 GB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.1097, allocations: 33.12 kB / 0.5027 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.1098, allocations: 40 kB / 0.5028 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.1106, allocations: 382.4 kB / 0.5031 GB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1106, allocations: 3.938 kB / 0.5031 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.1106, allocations: 20 kB / 0.5032 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.1106, allocations: 12 kB / 0.5032 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.1112, allocations: 287.8 kB / 0.5034 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.1132, allocations: 1.021 MB / 0.5044 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.1136, allocations: 142.8 kB / 0.5046 GB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.1138, allocations: 92.66 kB / 0.5047 GB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1138, allocations: 0 / 0.5047 GB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1139, allocations: 38.56 kB / 0.5047 GB, free: 1.387 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 9.41e-07/0.1139, allocations: 0 / 0.5047 GB, free: 1.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005028/0.1144, allocations: 203.5 kB / 0.5049 GB, free: 1.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.1144, allocations: 59.31 kB / 0.505 GB, free: 1.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.1148, allocations: 288.1 kB / 0.5052 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1148, allocations: 25.7 kB / 0.5053 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.115, allocations: 259.9 kB / 0.5055 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.1151, allocations: 67.42 kB / 0.5056 GB, free: 476 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.1152, allocations: 61.64 kB / 0.5056 GB, free: 408 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1154, allocations: 334.8 kB / 0.5059 GB, free: 64 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1156, allocations: 81.77 kB / 0.506 GB, free: 15.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.1158, allocations: 165.9 kB / 0.5062 GB, free: 15.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.1165, allocations: 247 kB / 0.5064 GB, free: 15.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1165, allocations: 4 kB / 0.5064 GB, free: 15.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005441/0.117, allocations: 281.1 kB / 0.5067 GB, free: 15.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.117, allocations: 7.984 kB / 0.5067 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1171, allocations: 4 kB / 0.5067 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1171, allocations: 8 kB / 0.5067 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.1174, allocations: 68.28 kB / 0.5068 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.1174, allocations: 11.98 kB / 0.5068 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.1176, allocations: 27.78 kB / 0.5068 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.1176, allocations: 19.94 kB / 0.5068 GB, free: 15.05 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 initialization (33): * Single equations (assignments): 33 * 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.0002373/0.1178, allocations: 184.2 kB / 0.507 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.1179, allocations: 27.81 kB / 0.507 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.1183, allocations: 191.6 kB / 0.5072 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1183, allocations: 4 kB / 0.5072 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1183, allocations: 3.938 kB / 0.5072 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1183, allocations: 4 kB / 0.5072 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.1193, allocations: 0.548 MB / 0.5078 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1193, allocations: 0 / 0.5078 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.1195, allocations: 43.97 kB / 0.5078 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1195, allocations: 4 kB / 0.5078 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1195, allocations: 0 / 0.5078 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.1195, allocations: 7.938 kB / 0.5078 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1195, allocations: 8.062 kB / 0.5078 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.1201, allocations: 374.7 kB / 0.5082 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.1202, allocations: 39.81 kB / 0.5082 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.1202, allocations: 8 kB / 0.5082 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1204, allocations: 7.984 kB / 0.5082 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.1204, allocations: 19.86 kB / 0.5082 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1204, allocations: 4 kB / 0.5083 GB, free: 13.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1207, allocations: 207.1 kB / 0.5085 GB, free: 13.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1207, allocations: 0 / 0.5085 GB, free: 13.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004415/0.1211, allocations: 111.7 kB / 0.5086 GB, free: 13.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * 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 (18): * Single equations (assignments): 18 * 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.0001553/0.1213, allocations: 107.2 kB / 0.5087 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.1217, allocations: 167.6 kB / 0.5088 GB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1217, allocations: 0 / 0.5088 GB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1218, allocations: 65.03 kB / 0.5089 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.1223, allocations: 60.89 kB / 0.5089 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1237, allocations: 0.7495 MB / 0.5097 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.124, allocations: 218.8 kB / 0.5099 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.1241, allocations: 42.94 kB / 0.5099 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.1242, allocations: 23.44 kB / 0.5099 GB, free: 11.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1242, allocations: 0 / 0.5099 GB, free: 11.7 MB / 378.7 MB Notification: Performance of Templates: time 0.00878/0.1329, allocations: 3.65 MB / 0.5135 GB, free: 8.125 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.082059331005439]