Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.0008915/0.0008915, 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.0009937/0.0009937, 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.9345/0.9345, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.03695/0.03695, allocations: 8.722 MB / 269 MB, free: 4.406 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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 288.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.243e-05, allocations: 2.312 kB / 288.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.11/0.11, allocations: 2.013 MB / 290.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1119, allocations: 1.841 MB / 291.9 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.112, allocations: 1.656 kB / 291.9 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1122, allocations: 43.08 kB / 292 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1124, allocations: 90.2 kB / 292.1 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.113, allocations: 323 kB / 292.4 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1132, allocations: 185 kB / 292.6 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.1133, allocations: 22.38 kB / 292.6 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.682e-05/0.1134, allocations: 89.88 kB / 292.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.1135, allocations: 54.34 kB / 292.7 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1135, allocations: 10.41 kB / 292.7 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.1139, allocations: 250.7 kB / 293 MB, free: 17.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.114, allocations: 28.12 kB / 293 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.114, allocations: 58.61 kB / 293.1 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.1143, allocations: 297.6 kB / 293.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1143, allocations: 6.047 kB / 293.4 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1143, allocations: 0 / 293.4 MB, free: 17.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1143, allocations: 0 / 293.4 MB, free: 17.74 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003168/0.1147, allocations: 373.6 kB / 293.7 MB, free: 17.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1147, allocations: 9.719 kB / 293.7 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1147, allocations: 15.78 kB / 293.8 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1149, allocations: 150.5 kB / 293.9 MB, free: 17.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1149, allocations: 9.062 kB / 293.9 MB, free: 17.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1149, allocations: 17.59 kB / 293.9 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1151, allocations: 107 kB / 294 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1151, allocations: 0 / 294 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.1151, allocations: 5.375 kB / 294 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1151, allocations: 2.75 kB / 294 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.1152, allocations: 44.12 kB / 294.1 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.1157, allocations: 320.3 kB / 294.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.853e-05/0.1157, allocations: 35.02 kB / 294.4 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.1158, allocations: 19.08 kB / 294.4 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.1158, allocations: 9.109 kB / 294.5 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.1158, allocations: 33.47 kB / 294.5 MB, free: 16.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1158, allocations: 2.281 kB / 294.5 MB, free: 16.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001201/0.116, allocations: 59.06 kB / 294.6 MB, free: 16.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/0.116, allocations: 58.5 kB / 294.6 MB, free: 16.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.1161, allocations: 160.9 kB / 294.8 MB, free: 16.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.1161, allocations: 25.7 kB / 294.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.1161, allocations: 125.7 kB / 294.9 MB, free: 16.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.839e-06/0.1161, allocations: 17.86 kB / 294.9 MB, free: 16.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1161, allocations: 37.03 kB / 295 MB, free: 16.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.735e-05/0.1162, allocations: 326.1 kB / 295.3 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.1162, allocations: 8.266 kB / 295.3 MB, free: 16.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.1162, allocations: 38.92 kB / 295.3 MB, free: 16.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.1163, allocations: 33.14 kB / 295.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1163, allocations: 0.5625 kB / 295.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.232e-05/0.1163, allocations: 63.58 kB / 295.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.1163, allocations: 8.859 kB / 295.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1163, allocations: 3.938 kB / 295.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1164, allocations: 0 / 295.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.1164, allocations: 28.3 kB / 295.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.1164, allocations: 0.6094 kB / 295.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.1164, allocations: 6.078 kB / 295.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1164, allocations: 3.516 kB / 295.5 MB, free: 16.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 3.839e-05/0.1165, allocations: 123.3 kB / 295.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.1165, allocations: 8 kB / 295.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1166, allocations: 79.61 kB / 295.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1166, allocations: 1.094 kB / 295.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.1166, allocations: 0 / 295.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1166, allocations: 2.922 kB / 295.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1168, allocations: 235.5 kB / 295.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1168, allocations: 5 kB / 295.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.1168, allocations: 10.86 kB / 295.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1168, allocations: 4.625 kB / 295.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.1168, allocations: 1.922 kB / 295.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1168, allocations: 1.875 kB / 295.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.1168, allocations: 2.625 kB / 295.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.145e-05/0.1169, allocations: 152 kB / 296.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.1169, allocations: 15.22 kB / 296.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1169, allocations: 6.953 kB / 296.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/0.117, allocations: 0.75 kB / 296.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.117, allocations: 8.531 kB / 296.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.117, allocations: 8.812 kB / 296.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.117, allocations: 44.64 kB / 296.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.117, allocations: 1.125 kB / 296.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.1172, allocations: 92.3 kB / 296.3 MB, free: 15.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0002166/0.1175, allocations: 176.6 kB / 296.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.698e-05/0.1175, allocations: 39.81 kB / 296.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1175, allocations: 1.312 kB / 296.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.1176, allocations: 15.19 kB / 296.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.1177, allocations: 32.03 kB / 296.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.1183, allocations: 279.1 kB / 296.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.1183, allocations: 68.77 kB / 296.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.983e-05/0.1184, allocations: 24.56 kB / 296.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.1184, allocations: 79.75 kB / 297 MB, free: 15 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1184, allocations: 4.125 kB / 297 MB, free: 15 MB / 266.7 MB Notification: Performance of Templates: time 0.004926/0.1234, allocations: 3.373 MB / 300.3 MB, free: 14.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.574434395879507]