Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.0008927/0.0008927, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009724/0.0009724, allocations: 181 kB / 23.36 MB, free: 1.133 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.9568/0.9568, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.03792/0.03792, allocations: 8.723 MB / 269 MB, free: 4.414 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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 288.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.259e-05, allocations: 2.312 kB / 288.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.1063/0.1063, allocations: 2.676 MB / 290.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1082, allocations: 1.999 MB / 292.8 MB, free: 17.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1084, allocations: 5.344 kB / 292.8 MB, free: 17.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.1086, allocations: 60.86 kB / 292.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1088, allocations: 121.5 kB / 292.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.1094, allocations: 370.1 kB / 293.3 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.1097, allocations: 329.4 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1098, allocations: 69.7 kB / 293.7 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.1101, allocations: 172.7 kB / 293.9 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1102, allocations: 96.91 kB / 294 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.1102, allocations: 19.28 kB / 294 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.1105, allocations: 220.3 kB / 294.2 MB, free: 17.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.1106, allocations: 45.48 kB / 294.2 MB, free: 17.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.1106, allocations: 90.84 kB / 294.3 MB, free: 17.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.111, allocations: 345.7 kB / 294.7 MB, free: 16.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.111, allocations: 0 / 294.7 MB, free: 16.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.111, allocations: 1.219 kB / 294.7 MB, free: 16.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.111, allocations: 1.125 kB / 294.7 MB, free: 16.96 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0004102/0.1114, allocations: 480.4 kB / 295.1 MB, free: 16.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1114, allocations: 10.84 kB / 295.1 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1116, allocations: 50.16 kB / 295.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.1118, allocations: 193.7 kB / 295.4 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1118, allocations: 11.09 kB / 295.4 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.1118, allocations: 16.84 kB / 295.4 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.112, allocations: 177.3 kB / 295.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.112, allocations: 0.5156 kB / 295.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.112, allocations: 6.25 kB / 295.6 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.112, allocations: 9.125 kB / 295.6 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.1121, allocations: 64.08 kB / 295.7 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.1127, allocations: 0.5853 MB / 296.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1129, allocations: 64.78 kB / 296.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.1129, allocations: 14.84 kB / 296.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.1129, allocations: 7.594 kB / 296.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.1129, allocations: 34.89 kB / 296.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1129, allocations: 0 / 296.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003019/0.1132, allocations: 133.9 kB / 296.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.1132, allocations: 62.05 kB / 296.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1134, allocations: 220.5 kB / 296.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-06/0.1134, allocations: 25.7 kB / 296.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.1134, allocations: 162.5 kB / 297 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.1134, allocations: 25.47 kB / 297 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.1135, allocations: 35.16 kB / 297 MB, free: 15.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.98e-05/0.1135, allocations: 329.6 kB / 297.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.1135, allocations: 16.69 kB / 297.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.1135, allocations: 53.47 kB / 297.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.769e-05/0.1136, allocations: 73.05 kB / 297.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1136, allocations: 0 / 297.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001063/0.1137, allocations: 92.52 kB / 297.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1137, allocations: 7.156 kB / 297.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1137, allocations: 4.844 kB / 297.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1137, allocations: 6.484 kB / 297.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.1138, allocations: 28.73 kB / 297.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1138, allocations: 7.141 kB / 297.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.1139, allocations: 14.66 kB / 297.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1139, allocations: 4.109 kB / 297.6 MB, free: 14.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (15): * Single equations (assignments): 15 * 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 4.338e-05/0.1139, allocations: 121.8 kB / 297.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.114, allocations: 13.39 kB / 297.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1141, allocations: 82.77 kB / 297.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1141, allocations: 1.875 kB / 297.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1141, allocations: 3.938 kB / 297.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1141, allocations: 5.688 kB / 297.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.1142, allocations: 124 kB / 298 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1142, allocations: 1.188 kB / 298 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.1142, allocations: 21.08 kB / 298 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1142, allocations: 1.094 kB / 298 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1142, allocations: 6.359 kB / 298 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1142, allocations: 0 / 298 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1142, allocations: 5.781 kB / 298 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.862e-05/0.1143, allocations: 165.2 kB / 298.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.1143, allocations: 18.47 kB / 298.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1144, allocations: 4 kB / 298.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.1144, allocations: 4.094 kB / 298.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.1144, allocations: 5.891 kB / 298.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1144, allocations: 1.891 kB / 298.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.244e-05/0.1145, allocations: 77.53 kB / 298.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1145, allocations: 1.156 kB / 298.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.1147, allocations: 104.3 kB / 298.4 MB, free: 14.3 MB / 266.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 (8): * Single equations (assignments): 8 * 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.0001764/0.1149, allocations: 163.6 kB / 298.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.115, allocations: 55.92 kB / 298.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.115, allocations: 6.812 kB / 298.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/0.115, allocations: 20.55 kB / 298.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.1152, allocations: 50.31 kB / 298.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.1159, allocations: 418 kB / 299.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.281e-05/0.116, allocations: 78.28 kB / 299.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.116, allocations: 26.3 kB / 299.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.1161, allocations: 95.06 kB / 299.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1161, allocations: 0 / 299.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of Templates: time 0.005086/0.1212, allocations: 3.73 MB / 303 MB, free: 12.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.643065328709781]