Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.0006092/0.0006092, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008641/0.001473, 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.0006682/0.0006682, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008752/0.001543, 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.9235/0.9235, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08008/1.004, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.03481/0.03481, allocations: 8.731 MB / 252.7 MB, free: 6.379 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00451/0.03932, allocations: 3.002 MB / 255.7 MB, free: 3.371 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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 257 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.644e-05, allocations: 2.312 kB / 257 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002758/0.002775, allocations: 2.912 MB / 259.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.005047, allocations: 2.527 MB / 262.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.005152, allocations: 11.94 kB / 262.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.005368, allocations: 99.25 kB / 262.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.005666, allocations: 218.5 kB / 262.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008501/0.006516, allocations: 458 kB / 263.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.006808, allocations: 410 kB / 263.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.006915, allocations: 42.81 kB / 263.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.007157, allocations: 245.5 kB / 263.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.007301, allocations: 123.6 kB / 264 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.007327, allocations: 20 kB / 264 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.007675, allocations: 315.5 kB / 264.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.007739, allocations: 51.73 kB / 264.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.5e-05/0.007814, allocations: 83.81 kB / 264.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.008254, allocations: 430.6 kB / 264.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.008266, allocations: 0 / 264.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.008268, allocations: 0 / 264.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.008281, allocations: 0 / 264.9 MB, free: 10.16 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000616/0.008897, allocations: 0.6429 MB / 265.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.008925, allocations: 12.03 kB / 265.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.009078, allocations: 122 kB / 265.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.009296, allocations: 229.7 kB / 265.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.009308, allocations: 16.88 kB / 265.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.009328, allocations: 20.12 kB / 265.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.009512, allocations: 167.6 kB / 266.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.00952, allocations: 0 / 266.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.009533, allocations: 12 kB / 266.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.009539, allocations: 8 kB / 266.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.009655, allocations: 97.31 kB / 266.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.01029, allocations: 459.6 kB / 266.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.01052, allocations: 106.5 kB / 266.7 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.01056, allocations: 32.84 kB / 266.8 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-05/0.01063, allocations: 15.98 kB / 266.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.01065, allocations: 46.41 kB / 266.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.01065, allocations: 0 / 266.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005241/0.01117, allocations: 265.2 kB / 267.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.0112, allocations: 55.41 kB / 267.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.01136, allocations: 284.5 kB / 267.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.01138, allocations: 29.7 kB / 267.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.01144, allocations: 164.9 kB / 267.6 MB, free: 7.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.01147, allocations: 59.47 kB / 267.7 MB, free: 7.199 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.01152, allocations: 61.56 kB / 267.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.0116, allocations: 338.8 kB / 268.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.01163, allocations: 23.98 kB / 268.1 MB, free: 6.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.0117, allocations: 82.66 kB / 268.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.201e-05/0.01179, allocations: 84.34 kB / 268.2 MB, free: 6.586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01179, allocations: 4 kB / 268.2 MB, free: 6.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001574/0.01195, allocations: 154.3 kB / 268.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01196, allocations: 8 kB / 268.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01197, allocations: 0 / 268.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.01213, allocations: 52.81 kB / 268.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.01223, allocations: 39.97 kB / 268.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002653/0.01249, allocations: 0.5717 MB / 269.1 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.01255, allocations: 15.98 kB / 269.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.01256, allocations: 8 kB / 269.1 MB, free: 5.699 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 7.079e-05/0.01263, allocations: 116.7 kB / 269.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.01266, allocations: 23.97 kB / 269.2 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.01289, allocations: 184.7 kB / 269.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01289, allocations: 4 kB / 269.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01289, allocations: 7.938 kB / 269.4 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01289, allocations: 3.938 kB / 269.4 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.0133, allocations: 404.1 kB / 269.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0133, allocations: 0 / 269.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.01381, allocations: 31.92 kB / 269.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.01385, allocations: 35.73 kB / 269.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.01397, allocations: 56.84 kB / 269.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.01398, allocations: 11.94 kB / 270 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002302/0.01421, allocations: 0.5641 MB / 270.5 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01421, allocations: 4 kB / 270.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.01436, allocations: 232.2 kB / 270.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.01438, allocations: 8 kB / 270.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/0.01444, allocations: 11.92 kB / 270.8 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.01447, allocations: 16.02 kB / 270.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.01448, allocations: 3.984 kB / 270.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.454e-05/0.01455, allocations: 107.5 kB / 270.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01455, allocations: 0 / 270.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.0148, allocations: 143.5 kB / 271 MB, free: 3.648 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.01584, allocations: 0.5843 MB / 271.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.01603, allocations: 106 kB / 271.7 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.01603, allocations: 8 kB / 271.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.6e-05/0.01611, allocations: 72.73 kB / 271.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01634, allocations: 85.16 kB / 271.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.02002, allocations: 0.5167 MB / 272.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.618e-05/0.02007, allocations: 88.31 kB / 272.5 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.976e-05/0.02014, allocations: 30.28 kB / 272.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.02025, allocations: 111.3 kB / 272.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02025, allocations: 0 / 272.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of Templates: time 0.1022/0.1225, allocations: 6.355 MB / 279 MB, free: 11.68 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5848488761112094]