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.002465/0.002465, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002964/0.002964, allocations: 170.3 kB / 22.45 MB, free: 2.105 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 1.644/1.644, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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.06308/0.06308, allocations: 8.691 MB / 267.9 MB, free: 4.766 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.523e-06/1.523e-06, allocations: 0 / 395.4 MB, free: 0.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.969e-05, allocations: 6.219 kB / 395.4 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003605/0.003635, allocations: 1.873 MB / 397.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.006688, allocations: 1.713 MB / 399 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.006832, allocations: 0 / 399 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.007099, allocations: 39.75 kB / 399.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.007476, allocations: 91.31 kB / 399.2 MB, free: 13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009841/0.00846, allocations: 369.6 kB / 399.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.008747, allocations: 182.8 kB / 399.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.00886, allocations: 25.78 kB / 399.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.009031, allocations: 87.8 kB / 399.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.009143, allocations: 47.83 kB / 399.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.009175, allocations: 12 kB / 399.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.009718, allocations: 227.7 kB / 400.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.009766, allocations: 31.8 kB / 400.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.009845, allocations: 47.86 kB / 400.2 MB, free: 12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006299/0.01048, allocations: 335 kB / 400.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01048, allocations: 0 / 400.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01048, allocations: 4 kB / 400.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.01048, allocations: 0 / 400.5 MB, free: 11.66 MB / 330.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.0007203/0.0112, allocations: 393.2 kB / 400.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.01125, allocations: 8.031 kB / 400.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.01132, allocations: 16.84 kB / 400.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.01161, allocations: 165.3 kB / 401.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.01163, allocations: 8.375 kB / 401.1 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.01165, allocations: 8.375 kB / 401.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.01195, allocations: 136.4 kB / 401.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.01197, allocations: 0 / 401.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.01198, allocations: 4 kB / 401.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.01199, allocations: 4 kB / 401.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.01223, allocations: 111.9 kB / 401.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.01325, allocations: 411.8 kB / 401.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.01341, allocations: 66.48 kB / 401.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.01347, allocations: 20.98 kB / 401.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.106e-05/0.01356, allocations: 15.98 kB / 401.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.01359, allocations: 34.5 kB / 401.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.01359, allocations: 0 / 401.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003202/0.01391, allocations: 101.5 kB / 402 MB, free: 10.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.01397, allocations: 51.41 kB / 402 MB, free: 10.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.01418, allocations: 183.2 kB / 402.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.0142, allocations: 25.7 kB / 402.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.0143, allocations: 132 kB / 402.3 MB, free: 9.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.01432, allocations: 7.906 kB / 402.4 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.01438, allocations: 41.66 kB / 402.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.01455, allocations: 318.8 kB / 402.7 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.01463, allocations: 31.98 kB / 402.7 MB, free: 9.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.01472, allocations: 53.69 kB / 402.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.01486, allocations: 56.84 kB / 402.8 MB, free: 9.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01486, allocations: 3.938 kB / 402.9 MB, free: 9.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000224/0.01509, allocations: 109.6 kB / 403 MB, free: 9.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.0151, allocations: 8 kB / 403 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01511, allocations: 0 / 403 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01512, allocations: 0 / 403 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01524, allocations: 27.95 kB / 403 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.01524, allocations: 0 / 403 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.01531, allocations: 11.89 kB / 403 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01532, allocations: 4 kB / 403 MB, free: 8.961 MB / 330.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 0.0001225/0.01544, allocations: 121.8 kB / 403.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.01548, allocations: 12.42 kB / 403.1 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.01575, allocations: 110.7 kB / 403.2 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01576, allocations: 0 / 403.2 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01576, allocations: 3.938 kB / 403.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01576, allocations: 4 kB / 403.3 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.01626, allocations: 319 kB / 403.6 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01627, allocations: 4 kB / 403.6 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.01632, allocations: 15.92 kB / 403.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01633, allocations: 0 / 403.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.01634, allocations: 0 / 403.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.01634, allocations: 4 kB / 403.6 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01634, allocations: 0 / 403.6 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.01671, allocations: 180.2 kB / 403.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.01676, allocations: 19.88 kB / 403.8 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01678, allocations: 8.031 kB / 403.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.01685, allocations: 0 / 403.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.01687, allocations: 3.984 kB / 403.8 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.01688, allocations: 7.938 kB / 403.8 MB, free: 8.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.01702, allocations: 131.8 kB / 403.9 MB, free: 7.961 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01702, allocations: 7.875 kB / 403.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003947/0.01741, allocations: 91.69 kB / 404 MB, free: 7.863 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.00037/0.01778, allocations: 186.9 kB / 404.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.01798, allocations: 55.97 kB / 404.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01798, allocations: 3.938 kB / 404.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.01804, allocations: 19.98 kB / 404.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.01835, allocations: 32.05 kB / 404.3 MB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/0.01891, allocations: 247 kB / 404.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.01902, allocations: 101.4 kB / 404.7 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.291e-05/0.01909, allocations: 21.08 kB / 404.7 MB, free: 7.141 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.01914, allocations: 24.5 kB / 404.7 MB, free: 7.117 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01914, allocations: 0 / 404.7 MB, free: 7.117 MB / 330.7 MB Notification: Performance of Templates: time 0.007347/0.02649, allocations: 2.918 MB / 407.6 MB, free: 4.242 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: 4.982485302956775]