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.001293/0.001293, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009101/0.0009101, allocations: 169 kB / 23.49 MB, free: 1.062 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.9241/0.9241, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.03485/0.03485, allocations: 8.713 MB / 269 MB, free: 4.586 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 4.689e-06/4.689e-06, allocations: 0 / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.77e-05, allocations: 2.312 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.001609/0.001627, allocations: 1.997 MB / 342.9 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.003064, allocations: 1.83 MB / 344.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.003139, allocations: 0 / 344.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.003294, allocations: 39.69 kB / 344.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.003454, allocations: 91.27 kB / 344.8 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.00382, allocations: 358.5 kB / 345.2 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.003939, allocations: 186.9 kB / 345.4 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.004024, allocations: 17.8 kB / 345.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.004098, allocations: 87.8 kB / 345.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.004158, allocations: 63.81 kB / 345.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.004172, allocations: 8 kB / 345.5 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.004429, allocations: 231.5 kB / 345.8 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.004444, allocations: 27.91 kB / 345.8 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.00448, allocations: 55.84 kB / 345.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.004735, allocations: 295.1 kB / 346.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004737, allocations: 0 / 346.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004738, allocations: 0 / 346.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.004742, allocations: 0 / 346.1 MB, free: 3.105 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.0003108/0.005052, allocations: 499.5 kB / 346.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.005079, allocations: 8.031 kB / 346.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.00512, allocations: 28.84 kB / 346.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.005245, allocations: 158.8 kB / 346.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.005254, allocations: 8.375 kB / 346.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.005266, allocations: 12.38 kB / 346.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.005392, allocations: 106.7 kB / 346.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.0054, allocations: 0 / 346.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.005409, allocations: 4 kB / 346.9 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.005416, allocations: 7.984 kB / 346.9 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.005503, allocations: 63.81 kB / 347 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.005966, allocations: 455.2 kB / 347.4 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.006036, allocations: 47.05 kB / 347.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.00606, allocations: 19.67 kB / 347.5 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.006106, allocations: 16.09 kB / 347.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.006117, allocations: 41.33 kB / 347.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.006119, allocations: 4 kB / 347.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001398/0.006259, allocations: 73.58 kB / 347.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.419e-05/0.006273, allocations: 51.41 kB / 347.7 MB, free: 1.387 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.006354, allocations: 230.5 kB / 347.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.006361, allocations: 25.7 kB / 347.9 MB, free: 1.109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.006396, allocations: 170.9 kB / 348.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.006406, allocations: 27.81 kB / 348.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.006437, allocations: 39.31 kB / 348.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.349e-05/0.006471, allocations: 0.4923 MB / 348.7 MB, free: 364 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.006497, allocations: 12 kB / 348.7 MB, free: 352 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.006528, allocations: 49.69 kB / 348.7 MB, free: 296 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.006578, allocations: 43.61 kB / 348.8 MB, free: 248 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.00658, allocations: 0 / 348.8 MB, free: 248 kB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.358e-05/0.006673, allocations: 89.52 kB / 348.9 MB, free: 152 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.006681, allocations: 4 kB / 348.9 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.006685, allocations: 3.984 kB / 348.9 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.006694, allocations: 4 kB / 348.9 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.006749, allocations: 12.25 kB / 348.9 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.006753, allocations: 0 / 348.9 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.00678, allocations: 19.97 kB / 348.9 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.006787, allocations: 8 kB / 348.9 MB, free: 100 kB / 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 6.928e-05/0.006856, allocations: 156.6 kB / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.006878, allocations: 15.89 kB / 349.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.007003, allocations: 90.92 kB / 349.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007005, allocations: 0 / 349.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.007007, allocations: 0 / 349.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.00701, allocations: 4 kB / 349.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.007272, allocations: 368.9 kB / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007274, allocations: 0 / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.0073, allocations: 8 kB / 349.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.007303, allocations: 7.938 kB / 349.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.007308, allocations: 0 / 349.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007309, allocations: 0 / 349.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00731, allocations: 0 / 349.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.007422, allocations: 235.4 kB / 349.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.007446, allocations: 11.95 kB / 349.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.007459, allocations: 3.984 kB / 349.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.007497, allocations: 8.031 kB / 349.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.007508, allocations: 4 kB / 349.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.007513, allocations: 4 kB / 349.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.162e-05/0.007584, allocations: 171.6 kB / 350 MB, free: 14.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007584, allocations: 0 / 350 MB, free: 14.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.007803, allocations: 83.7 kB / 350.1 MB, free: 14.86 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.0004386/0.008241, allocations: 194.8 kB / 350.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.67e-05/0.008338, allocations: 47.61 kB / 350.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008339, allocations: 4 kB / 350.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.008362, allocations: 19.67 kB / 350.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.008551, allocations: 36.03 kB / 350.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.00911, allocations: 270.2 kB / 350.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.42e-05/0.009144, allocations: 67.3 kB / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.025e-05/0.009184, allocations: 17.11 kB / 350.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.009214, allocations: 16.5 kB / 350.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009215, allocations: 4 kB / 350.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of Templates: time 0.003903/0.01312, allocations: 2.967 MB / 353.7 MB, free: 11.2 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.6461061269510537]