Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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.001261/0.001261, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001393/0.001393, allocations: 170 kB / 23.27 MB, free: 1.223 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.9516/0.9516, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.03499/0.03499, allocations: 8.722 MB / 269 MB, free: 4.383 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.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 341.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.209e-05, allocations: 2.312 kB / 341.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.00245/0.002462, allocations: 2.736 MB / 344 MB, free: 6.102 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003986, allocations: 1.554 MB / 345.6 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-05/0.004084, allocations: 11.94 kB / 345.6 MB, free: 4.531 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.0042, allocations: 39.64 kB / 345.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.004448, allocations: 119.1 kB / 345.8 MB, free: 4.375 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.004949, allocations: 342.6 kB / 346.1 MB, free: 4.039 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.005206, allocations: 330.2 kB / 346.4 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.005326, allocations: 57.28 kB / 346.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.005497, allocations: 171.6 kB / 346.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.005636, allocations: 103.7 kB / 346.7 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.00566, allocations: 20 kB / 346.8 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.00598, allocations: 151.7 kB / 346.9 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.006023, allocations: 55.77 kB / 347 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.861e-05/0.006092, allocations: 95.77 kB / 347.1 MB, free: 3.066 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.00642, allocations: 326.9 kB / 347.4 MB, free: 2.746 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.006422, allocations: 4 kB / 347.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.006422, allocations: 0 / 347.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.006425, allocations: 0 / 347.4 MB, free: 2.742 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004749/0.0069, allocations: 0.5697 MB / 347.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.006927, allocations: 8.031 kB / 348 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.007058, allocations: 52.69 kB / 348 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.007236, allocations: 192.2 kB / 348.2 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.00725, allocations: 16.75 kB / 348.2 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.007273, allocations: 24.33 kB / 348.2 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.007466, allocations: 211.1 kB / 348.4 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.007476, allocations: 3.938 kB / 348.4 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.007489, allocations: 8 kB / 348.5 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.007496, allocations: 8 kB / 348.5 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.503e-05/0.007571, allocations: 63.25 kB / 348.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.008242, allocations: 0.7008 MB / 349.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.008395, allocations: 111 kB / 349.3 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.00843, allocations: 31.66 kB / 349.4 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-05/0.008502, allocations: 24 kB / 349.4 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.008519, allocations: 37.38 kB / 349.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.00852, allocations: 0 / 349.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006721/0.009192, allocations: 419.2 kB / 349.8 MB, free: 104 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.009215, allocations: 59.28 kB / 349.9 MB, free: 32 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.009339, allocations: 217.8 kB / 350.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.009354, allocations: 33.7 kB / 350.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.009421, allocations: 191.1 kB / 350.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.009456, allocations: 71.41 kB / 350.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.009503, allocations: 43.34 kB / 350.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.009604, allocations: 0.4962 MB / 350.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.009646, allocations: 31.66 kB / 351 MB, free: 14.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.82e-05/0.009704, allocations: 92.94 kB / 351 MB, free: 14.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.009806, allocations: 125.7 kB / 351.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.009807, allocations: 0 / 351.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001622/0.009969, allocations: 149.4 kB / 351.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.00998, allocations: 8 kB / 351.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.009983, allocations: 4.156 kB / 351.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.009991, allocations: 4 kB / 351.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.01013, allocations: 59.91 kB / 351.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.01013, allocations: 0 / 351.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.01018, allocations: 7.984 kB / 351.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.01019, allocations: 12 kB / 351.4 MB, free: 14.39 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 22 * 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 9.838e-05/0.01029, allocations: 164.5 kB / 351.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.01033, allocations: 27.84 kB / 351.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.01051, allocations: 161.8 kB / 351.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.01051, allocations: 7.938 kB / 351.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01052, allocations: 0 / 351.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01052, allocations: 3.984 kB / 351.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.01087, allocations: 425.8 kB / 352.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01087, allocations: 0 / 352.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.01099, allocations: 51.91 kB / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.011, allocations: 4 kB / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01101, allocations: 4 kB / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01101, allocations: 0 / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01101, allocations: 8 kB / 352.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.01122, allocations: 306.5 kB / 352.6 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.01126, allocations: 39.81 kB / 352.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.01128, allocations: 8 kB / 352.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.826e-05/0.01134, allocations: 4 kB / 352.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.01137, allocations: 15.97 kB / 352.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01138, allocations: 4 kB / 352.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.01144, allocations: 163.9 kB / 352.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01144, allocations: 0 / 352.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.01167, allocations: 95.73 kB / 352.9 MB, free: 12.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (20): * Single equations (assignments): 20 * 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.0001592/0.01183, allocations: 178.9 kB / 353 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.01196, allocations: 95.11 kB / 353.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01196, allocations: 0 / 353.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.093e-05/0.01201, allocations: 51.59 kB / 353.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.01223, allocations: 47.94 kB / 353.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.01298, allocations: 490 kB / 353.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.01314, allocations: 79.98 kB / 353.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.01321, allocations: 29.61 kB / 353.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.01332, allocations: 118.2 kB / 353.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01332, allocations: 0 / 353.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of Templates: time 0.004848/0.01817, allocations: 3.536 MB / 357.5 MB, free: 8.258 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & (cd run_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6374740740284324]