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.000914/0.000914, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009702/0.0009702, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9683/0.9683, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.03609/0.03609, allocations: 8.724 MB / 269 MB, free: 4.418 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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 288.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.503e-05, allocations: 2.312 kB / 288.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.1105/0.1105, allocations: 3.396 MB / 291.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1122, allocations: 0.953 MB / 292.4 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.1124, allocations: 9.125 kB / 292.4 MB, free: 18.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1125, allocations: 63.77 kB / 292.5 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.113, allocations: 201.4 kB / 292.7 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1133, allocations: 120.5 kB / 292.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.1139, allocations: 0.6592 MB / 293.5 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.1141, allocations: 161.8 kB / 293.6 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.1146, allocations: 345.4 kB / 294 MB, free: 17.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.1149, allocations: 229.4 kB / 294.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.115, allocations: 40.53 kB / 294.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1152, allocations: 61.53 kB / 294.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.464e-05/0.1152, allocations: 112.1 kB / 294.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.1154, allocations: 194.7 kB / 294.6 MB, free: 16.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.1158, allocations: 371.8 kB / 295 MB, free: 16.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1158, allocations: 0.5625 kB / 295 MB, free: 16.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1158, allocations: 0 / 295 MB, free: 16.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1158, allocations: 5.906 kB / 295 MB, free: 16.83 MB / 266.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.0006129/0.1164, allocations: 0.6187 MB / 295.6 MB, free: 16.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1164, allocations: 9.359 kB / 295.6 MB, free: 16.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.1166, allocations: 82.92 kB / 295.7 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1169, allocations: 233.4 kB / 295.9 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.117, allocations: 30.28 kB / 295.9 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.117, allocations: 45.03 kB / 296 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.1173, allocations: 251 kB / 296.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1174, allocations: 1.438 kB / 296.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1174, allocations: 15.19 kB / 296.2 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1174, allocations: 12.69 kB / 296.3 MB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.1176, allocations: 92.33 kB / 296.3 MB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1187, allocations: 0.8374 MB / 297.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1188, allocations: 81.53 kB / 297.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.1189, allocations: 39.66 kB / 297.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1189, allocations: 5.328 kB / 297.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1189, allocations: 36.52 kB / 297.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/0.1189, allocations: 0.8906 kB / 297.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000227/0.1192, allocations: 107.5 kB / 297.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.1192, allocations: 56.66 kB / 297.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1194, allocations: 265 kB / 297.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1194, allocations: 34.55 kB / 297.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1195, allocations: 242.3 kB / 298 MB, free: 14.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.1195, allocations: 65.11 kB / 298.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.1196, allocations: 58.64 kB / 298.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.1197, allocations: 341.2 kB / 298.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-05/0.1197, allocations: 40.25 kB / 298.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.1198, allocations: 123.5 kB / 298.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.12, allocations: 172.8 kB / 298.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.12, allocations: 1.094 kB / 298.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002315/0.1202, allocations: 175 kB / 299 MB, free: 14.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1202, allocations: 7.391 kB / 299 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1202, allocations: 4.406 kB / 299 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1202, allocations: 5.438 kB / 299 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.1205, allocations: 89.55 kB / 299.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1205, allocations: 6.234 kB / 299.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.1206, allocations: 37.61 kB / 299.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1206, allocations: 9.703 kB / 299.1 MB, free: 14.11 MB / 266.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.0001182/0.1208, allocations: 132.8 kB / 299.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.1208, allocations: 26.11 kB / 299.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.121, allocations: 118.5 kB / 299.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.121, allocations: 2.188 kB / 299.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.121, allocations: 5.344 kB / 299.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.121, allocations: 0.5156 kB / 299.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.1214, allocations: 385 kB / 299.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1214, allocations: 1.312 kB / 299.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.1215, allocations: 64.03 kB / 299.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1215, allocations: 2.125 kB / 299.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1215, allocations: 2.844 kB / 299.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1215, allocations: 2.734 kB / 299.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1215, allocations: 1.25 kB / 299.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1217, allocations: 243.5 kB / 300.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.1218, allocations: 29.47 kB / 300.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1218, allocations: 8.25 kB / 300.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.1219, allocations: 7.156 kB / 300.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.1219, allocations: 20.42 kB / 300.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1219, allocations: 4.875 kB / 300.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.699e-05/0.122, allocations: 98 kB / 300.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.122, allocations: 0 / 300.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.1223, allocations: 113.9 kB / 300.4 MB, free: 13.36 MB / 266.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.0001105/0.1224, allocations: 86.97 kB / 300.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1225, allocations: 106.5 kB / 300.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.1225, allocations: 4.656 kB / 300.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.1226, allocations: 49.31 kB / 300.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.1228, allocations: 62.59 kB / 300.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1239, allocations: 0.6878 MB / 301.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.322e-05/0.124, allocations: 110.1 kB / 301.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.724e-05/0.1241, allocations: 39.17 kB / 301.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.1242, allocations: 105.7 kB / 301.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1242, allocations: 4 kB / 301.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Templates: time 0.005265/0.1295, allocations: 3.435 MB / 305.1 MB, free: 11.28 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.561832014936954]