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.001204/0.001204, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001253/0.001253, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9517/0.9517, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.05442/0.05442, allocations: 8.711 MB / 269.7 MB, free: 4.387 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.363e-06/1.363e-06, allocations: 0 / 342.1 MB, free: 8.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.689e-05, allocations: 6.312 kB / 342.1 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002114/0.002131, allocations: 1.986 MB / 344.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.004202, allocations: 1.818 MB / 345.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.004295, allocations: 4 kB / 345.9 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.004481, allocations: 47.62 kB / 345.9 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.004684, allocations: 83.33 kB / 346 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.00511, allocations: 366.4 kB / 346.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.005256, allocations: 182.9 kB / 346.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.005348, allocations: 17.8 kB / 346.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.005429, allocations: 91.8 kB / 346.6 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.005506, allocations: 55.81 kB / 346.7 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.005522, allocations: 12 kB / 346.7 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.005829, allocations: 227.6 kB / 346.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.005854, allocations: 35.84 kB / 347 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.005896, allocations: 51.86 kB / 347 MB, free: 3.867 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.006197, allocations: 291.2 kB / 347.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006199, allocations: 4 kB / 347.3 MB, free: 3.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.0062, allocations: 0 / 347.3 MB, free: 3.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.006204, allocations: 0 / 347.3 MB, free: 3.578 MB / 314.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.0005094/0.006713, allocations: 499.4 kB / 347.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.006745, allocations: 12.03 kB / 347.8 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.006787, allocations: 24.84 kB / 347.8 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.006941, allocations: 161.2 kB / 348 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.006951, allocations: 8.375 kB / 348 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.006964, allocations: 12.38 kB / 348 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.007091, allocations: 101.7 kB / 348.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.0071, allocations: 0 / 348.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.007109, allocations: 4 kB / 348.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.007113, allocations: 0 / 348.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.007188, allocations: 63.78 kB / 348.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.007709, allocations: 427.8 kB / 348.6 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.969e-05/0.007778, allocations: 39.05 kB / 348.6 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.007798, allocations: 19.67 kB / 348.7 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.007844, allocations: 12.11 kB / 348.7 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.007862, allocations: 37.39 kB / 348.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.007863, allocations: 0 / 348.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001435/0.008007, allocations: 69.52 kB / 348.8 MB, free: 1.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.008031, allocations: 55.41 kB / 348.8 MB, free: 1.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.008138, allocations: 235.3 kB / 349.1 MB, free: 1.676 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.008149, allocations: 25.7 kB / 349.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.00822, allocations: 170.9 kB / 349.2 MB, free: 1.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.008233, allocations: 27.78 kB / 349.3 MB, free: 1.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.008272, allocations: 35.34 kB / 349.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.008375, allocations: 0.4884 MB / 349.8 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.008397, allocations: 11.98 kB / 349.8 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.008428, allocations: 41.69 kB / 349.8 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.008472, allocations: 39.59 kB / 349.9 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008474, allocations: 4.031 kB / 349.9 MB, free: 0.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.328e-05/0.008567, allocations: 89.52 kB / 350 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.00858, allocations: 7.938 kB / 350 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.008584, allocations: 0 / 350 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.00859, allocations: 0 / 350 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.008647, allocations: 19.98 kB / 350 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.008649, allocations: 0 / 350 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.008677, allocations: 8.203 kB / 350 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.008684, allocations: 7.984 kB / 350 MB, free: 0.6562 MB / 314.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.354e-05/0.008747, allocations: 156.6 kB / 350.2 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.008768, allocations: 15.95 kB / 350.2 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.008879, allocations: 94.86 kB / 350.3 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008881, allocations: 0 / 350.3 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008883, allocations: 4 kB / 350.3 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.008885, allocations: 0 / 350.3 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.009118, allocations: 329.6 kB / 350.6 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.00912, allocations: 0 / 350.6 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.009149, allocations: 11.98 kB / 350.6 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/0.009164, allocations: 12.02 kB / 350.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.00917, allocations: 0 / 350.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.009171, allocations: 0 / 350.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009172, allocations: 0 / 350.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.009553, allocations: 227.4 kB / 350.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.009579, allocations: 19.88 kB / 350.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.009592, allocations: 4 kB / 350.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.009627, allocations: 0 / 350.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.009639, allocations: 7.984 kB / 350.9 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.009642, allocations: 0 / 350.9 MB, free: 15.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.562e-05/0.009698, allocations: 163.1 kB / 351 MB, free: 15.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.009698, allocations: 4 kB / 351 MB, free: 15.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.009919, allocations: 87.69 kB / 351.1 MB, free: 15.47 MB / 330.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.0002035/0.01012, allocations: 190.8 kB / 351.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.952e-05/0.01021, allocations: 47.59 kB / 351.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01021, allocations: 0 / 351.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.01023, allocations: 27.61 kB / 351.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.01043, allocations: 28.23 kB / 351.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.01139, allocations: 282.1 kB / 351.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.219e-05/0.01143, allocations: 67.3 kB / 351.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.01148, allocations: 12.97 kB / 351.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.01159, allocations: 106.2 kB / 351.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01159, allocations: 0 / 351.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of Templates: time 0.005517/0.0171, allocations: 3.405 MB / 355.3 MB, free: 11.29 MB / 330.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.774858667049557]