Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.0006644/0.0006644, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008719/0.001536, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001029/0.001029, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001248/0.002277, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8888/0.8888, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07743/0.9662, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03301/0.03301, allocations: 8.735 MB / 252.7 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004417/0.03743, allocations: 3.009 MB / 255.7 MB, free: 3.375 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 257 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.239e-05, allocations: 2.312 kB / 257 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002329/0.002342, allocations: 2.204 MB / 259.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006256/0.002967, allocations: 0.6153 MB / 259.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.003019, allocations: 0 / 259.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.003054, allocations: 19.86 kB / 259.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.003196, allocations: 79.34 kB / 259.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.793e-05/0.003263, allocations: 27.95 kB / 259.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.003404, allocations: 163 kB / 260.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.424e-05/0.003468, allocations: 17.95 kB / 260.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.003591, allocations: 99.78 kB / 260.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.003655, allocations: 43.89 kB / 260.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.003668, allocations: 12 kB / 260.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.196e-05/0.00371, allocations: 19.94 kB / 260.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.003725, allocations: 15.88 kB / 260.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.003757, allocations: 35.94 kB / 260.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003882, allocations: 87.69 kB / 260.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.003893, allocations: 0 / 260.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003893, allocations: 0 / 260.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.003904, allocations: 0 / 260.4 MB, free: 14.64 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003822/0.004286, allocations: 369.7 kB / 260.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.585e-05/0.004312, allocations: 12.03 kB / 260.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.004346, allocations: 16.92 kB / 260.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.004475, allocations: 133.6 kB / 260.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.004483, allocations: 8.375 kB / 260.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.004494, allocations: 8.375 kB / 261 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.004622, allocations: 116.5 kB / 261.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.00463, allocations: 3.938 kB / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.004639, allocations: 4 kB / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.004644, allocations: 0 / 261.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.004693, allocations: 57.66 kB / 261.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.00502, allocations: 247.9 kB / 261.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.869e-05/0.005109, allocations: 80.19 kB / 261.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.00514, allocations: 46.55 kB / 261.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.005152, allocations: 4.188 kB / 261.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.005171, allocations: 34.5 kB / 261.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.005173, allocations: 0 / 261.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002941/0.005467, allocations: 236.3 kB / 261.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.00549, allocations: 55.41 kB / 261.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.005552, allocations: 134.7 kB / 261.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.005562, allocations: 29.7 kB / 262 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.005592, allocations: 108.1 kB / 262.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.005616, allocations: 31.73 kB / 262.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.005646, allocations: 21.7 kB / 262.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.005715, allocations: 326.8 kB / 262.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.005737, allocations: 37.69 kB / 262.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.005756, allocations: 33.7 kB / 262.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.005807, allocations: 88.17 kB / 262.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005809, allocations: 0 / 262.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.607e-05/0.005885, allocations: 121 kB / 262.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.005911, allocations: 36.2 kB / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.005913, allocations: 4 kB / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.00592, allocations: 0 / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.006005, allocations: 19.97 kB / 262.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006008, allocations: 0 / 262.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.006035, allocations: 7.953 kB / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.006041, allocations: 4 kB / 262.8 MB, free: 12 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 5.751e-05/0.006098, allocations: 139.5 kB / 262.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.006116, allocations: 11.98 kB / 262.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.006238, allocations: 158.3 kB / 263.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.00624, allocations: 0 / 263.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.006241, allocations: 0 / 263.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.006244, allocations: 0 / 263.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.006348, allocations: 113.7 kB / 263.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006349, allocations: 0 / 263.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.006401, allocations: 23.98 kB / 263.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.006424, allocations: 7.953 kB / 263.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006426, allocations: 0 / 263.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006432, allocations: 4 kB / 263.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.006433, allocations: 4 kB / 263.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.006434, allocations: 4 kB / 263.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.006535, allocations: 230.8 kB / 263.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.006547, allocations: 0 / 263.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.084e-05/0.006588, allocations: 7.984 kB / 263.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.006615, allocations: 11.98 kB / 263.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.006618, allocations: 0 / 263.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.096e-05/0.006639, allocations: 31.23 kB / 263.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006639, allocations: 3.938 kB / 263.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001288/0.006768, allocations: 39.89 kB / 263.6 MB, free: 11.14 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 8.145e-05/0.00685, allocations: 88.34 kB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.00696, allocations: 151.6 kB / 263.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.006965, allocations: 4 kB / 263.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.976e-05/0.007015, allocations: 117.9 kB / 263.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.007169, allocations: 40.34 kB / 264 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.009497, allocations: 310 kB / 264.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.258e-05/0.00953, allocations: 67.33 kB / 264.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.009573, allocations: 21.09 kB / 264.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.009649, allocations: 83.34 kB / 264.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.00965, allocations: 0 / 264.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Templates: time 0.00341/0.01306, allocations: 2.09 MB / 266.5 MB, free: 8.125 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.312752771191299]