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.001342/0.001342, allocations: 80.88 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.001648/0.001648, 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.9077/0.9077, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.06143/0.06143, allocations: 8.722 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.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.092e-06/1.092e-06, allocations: 0 / 288 MB, free: 1.359 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.557e-05, allocations: 2.312 kB / 288 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.09471/0.09473, allocations: 1.977 MB / 290 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.09646, allocations: 1.84 MB / 291.9 MB, free: 18.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.645e-05/0.09655, allocations: 3.281 kB / 291.9 MB, free: 18.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.09674, allocations: 39.61 kB / 291.9 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.09698, allocations: 91.69 kB / 292 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.09763, allocations: 370.9 kB / 292.4 MB, free: 18.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.0978, allocations: 181.4 kB / 292.5 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.09789, allocations: 22.31 kB / 292.5 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.09799, allocations: 88.27 kB / 292.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.4e-05/0.09808, allocations: 54.89 kB / 292.7 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.09809, allocations: 9.875 kB / 292.7 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.09848, allocations: 229.3 kB / 292.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.0985, allocations: 24.42 kB / 292.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.09855, allocations: 55.14 kB / 293 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.09891, allocations: 293.7 kB / 293.3 MB, free: 17.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.09891, allocations: 3.594 kB / 293.3 MB, free: 17.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.09891, allocations: 0 / 293.3 MB, free: 17.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.09891, allocations: 0 / 293.3 MB, free: 17.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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003465/0.09926, allocations: 382 kB / 293.7 MB, free: 17.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.09929, allocations: 9.359 kB / 293.7 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.09933, allocations: 20.36 kB / 293.7 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.09945, allocations: 147.7 kB / 293.8 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.09946, allocations: 8.906 kB / 293.8 MB, free: 17.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.09948, allocations: 14.81 kB / 293.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.09962, allocations: 108.2 kB / 294 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.09962, allocations: 0 / 294 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.09963, allocations: 6.5 kB / 294 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.09964, allocations: 2.312 kB / 294 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/0.09972, allocations: 42.44 kB / 294 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1002, allocations: 327.5 kB / 294.3 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/0.1002, allocations: 30.27 kB / 294.4 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.1003, allocations: 12.06 kB / 294.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.774e-05/0.1003, allocations: 11.02 kB / 294.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.1003, allocations: 36.5 kB / 294.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1003, allocations: 1.531 kB / 294.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001206/0.1004, allocations: 61.42 kB / 294.5 MB, free: 16.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.1005, allocations: 53.14 kB / 294.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.1006, allocations: 167.3 kB / 294.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.1006, allocations: 26.77 kB / 294.7 MB, free: 16.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.1006, allocations: 129.6 kB / 294.9 MB, free: 16.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.1006, allocations: 11.73 kB / 294.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1007, allocations: 33.62 kB / 294.9 MB, free: 16.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.1007, allocations: 322.9 kB / 295.2 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.1007, allocations: 9.922 kB / 295.2 MB, free: 16.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.1007, allocations: 37.8 kB / 295.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.226e-05/0.1008, allocations: 40.44 kB / 295.3 MB, free: 16.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1008, allocations: 0 / 295.3 MB, free: 16.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.95e-05/0.1009, allocations: 65.44 kB / 295.4 MB, free: 16.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1009, allocations: 13.31 kB / 295.4 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1009, allocations: 3.938 kB / 295.4 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1009, allocations: 1.188 kB / 295.4 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.101, allocations: 21.66 kB / 295.4 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.101, allocations: 1.406 kB / 295.4 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.101, allocations: 14.5 kB / 295.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.101, allocations: 1.875 kB / 295.4 MB, free: 16.14 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 4.182e-05/0.1011, allocations: 109 kB / 295.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.1011, allocations: 9.766 kB / 295.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1012, allocations: 75.03 kB / 295.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1012, allocations: 3.938 kB / 295.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1012, allocations: 4.984 kB / 295.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1012, allocations: 1.656 kB / 295.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1014, allocations: 235.4 kB / 295.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1014, allocations: 1.391 kB / 295.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.1014, allocations: 13.89 kB / 295.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1014, allocations: 5.781 kB / 295.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1014, allocations: 1.906 kB / 295.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1014, allocations: 1.25 kB / 295.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1014, allocations: 1.312 kB / 295.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.701e-05/0.1015, allocations: 152.5 kB / 296 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.1015, allocations: 18.17 kB / 296 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1015, allocations: 5.906 kB / 296 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.1016, allocations: 0 / 296 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.1016, allocations: 8.203 kB / 296.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1016, allocations: 1.719 kB / 296.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.551e-05/0.1016, allocations: 51.39 kB / 296.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1016, allocations: 0 / 296.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.1018, allocations: 93.27 kB / 296.2 MB, free: 15.55 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.0002013/0.102, allocations: 171 kB / 296.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.363e-05/0.1021, allocations: 41.69 kB / 296.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1021, allocations: 1.156 kB / 296.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.1022, allocations: 17.11 kB / 296.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.1023, allocations: 25.86 kB / 296.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.1028, allocations: 284.4 kB / 296.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.746e-05/0.1028, allocations: 68.75 kB / 296.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.1029, allocations: 18.22 kB / 296.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.103, allocations: 83.25 kB / 296.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.103, allocations: 0 / 296.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of Templates: time 0.004875/0.1078, allocations: 3.38 MB / 300.3 MB, free: 14.29 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.529579929076135]