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.001098/0.001098, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001172/0.001172, allocations: 169 kB / 23.02 MB, free: 1.547 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.8693/0.8693, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03382/0.03382, allocations: 8.71 MB / 268.7 MB, free: 4.531 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.493e-06/1.493e-06, allocations: 0 / 340.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.481e-05, allocations: 2.312 kB / 340.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.001616/0.001631, allocations: 1.991 MB / 342.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.003054, allocations: 1.83 MB / 344.7 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.003132, allocations: 0 / 344.7 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.003343, allocations: 43.75 kB / 344.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.003567, allocations: 95.2 kB / 344.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.004112, allocations: 358.5 kB / 345.2 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.004249, allocations: 179 kB / 345.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.004339, allocations: 25.78 kB / 345.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.004409, allocations: 87.8 kB / 345.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.004482, allocations: 51.83 kB / 345.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.004498, allocations: 12 kB / 345.5 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.004778, allocations: 239.5 kB / 345.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.004796, allocations: 23.92 kB / 345.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.004833, allocations: 51.84 kB / 345.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.005108, allocations: 295.1 kB / 346.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005109, allocations: 4 kB / 346.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00511, allocations: 0 / 346.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.005114, allocations: 4 kB / 346.1 MB, free: 2.777 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.0003463/0.00546, allocations: 495.5 kB / 346.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.005492, allocations: 16.02 kB / 346.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.005541, allocations: 20.84 kB / 346.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.00569, allocations: 161.2 kB / 346.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.005702, allocations: 8.375 kB / 346.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.005715, allocations: 12.38 kB / 346.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.005862, allocations: 109.1 kB / 346.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.00587, allocations: 0 / 346.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.005882, allocations: 8 kB / 346.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.00589, allocations: 4 kB / 346.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/0.005987, allocations: 63.81 kB / 347 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.006544, allocations: 451.2 kB / 347.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.237e-05/0.006626, allocations: 55.02 kB / 347.5 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.006651, allocations: 15.69 kB / 347.5 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.006697, allocations: 11.98 kB / 347.5 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.006711, allocations: 49.39 kB / 347.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.006712, allocations: 0 / 347.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001613/0.006874, allocations: 69.58 kB / 347.6 MB, free: 1.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.006896, allocations: 51.41 kB / 347.7 MB, free: 1.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.006985, allocations: 233.3 kB / 347.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.006992, allocations: 25.7 kB / 347.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.007034, allocations: 174.9 kB / 348.1 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.168e-06/0.007043, allocations: 19.84 kB / 348.1 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.007076, allocations: 39.31 kB / 348.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.007116, allocations: 0.4923 MB / 348.6 MB, free: 36 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.007142, allocations: 16 kB / 348.7 MB, free: 20 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.007191, allocations: 37.69 kB / 348.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.007252, allocations: 47.61 kB / 348.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007253, allocations: 0 / 348.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000111/0.007364, allocations: 97.5 kB / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.007376, allocations: 4 kB / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.007379, allocations: 0 / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.00739, allocations: 0 / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.007457, allocations: 24.02 kB / 348.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.007461, allocations: 0 / 348.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.007488, allocations: 8.203 kB / 348.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.007496, allocations: 4 kB / 348.9 MB, free: 15.79 MB / 282.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 6.222e-05/0.007558, allocations: 156.6 kB / 349 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.007582, allocations: 23.89 kB / 349.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.007708, allocations: 90.91 kB / 349.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.00771, allocations: 0 / 349.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.007713, allocations: 4 kB / 349.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.007715, allocations: 0 / 349.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.007979, allocations: 376.9 kB / 349.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007979, allocations: 0 / 349.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.008005, allocations: 8 kB / 349.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.008006, allocations: 0 / 349.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.008015, allocations: 4 kB / 349.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008016, allocations: 0 / 349.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008017, allocations: 0 / 349.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.008128, allocations: 231.4 kB / 349.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.008152, allocations: 27.91 kB / 349.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.008165, allocations: 0 / 349.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.008198, allocations: 0 / 349.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.008214, allocations: 4 kB / 349.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.008217, allocations: 0 / 349.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.111e-05/0.008288, allocations: 179.6 kB / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008288, allocations: 0 / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.008506, allocations: 87.69 kB / 350 MB, free: 14.53 MB / 282.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.000214/0.00872, allocations: 186.9 kB / 350.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.008845, allocations: 47.59 kB / 350.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008846, allocations: 0 / 350.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-05/0.00887, allocations: 23.69 kB / 350.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.009067, allocations: 31.98 kB / 350.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.00967, allocations: 274.2 kB / 350.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.806e-05/0.009708, allocations: 71.28 kB / 350.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.009748, allocations: 25.09 kB / 350.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.009784, allocations: 20.48 kB / 350.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009785, allocations: 0 / 350.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of Templates: time 0.004619/0.0144, allocations: 3.394 MB / 354.1 MB, free: 10.45 MB / 282.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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5934709920547903]