Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.0008166/0.0008166, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008636/0.0008636, allocations: 222.3 kB / 22.25 MB, free: 3.559 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.9016/0.9016, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.03589/0.03589, allocations: 11.33 MB / 323.8 MB, free: 6.785 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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009228/0.0009228, allocations: 63.91 kB / 450.7 MB, free: 35.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07237/0.0733, allocations: 55.96 MB / 0.4948 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002794/0.07609, allocations: 2.731 MB / 0.4975 GB, free: 8.945 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.07799, allocations: 1.939 MB / 0.4994 GB, free: 7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.07809, allocations: 7.938 kB / 0.4994 GB, free: 6.992 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.07831, allocations: 59.55 kB / 0.4994 GB, free: 6.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.0786, allocations: 150.9 kB / 0.4996 GB, free: 6.785 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.07918, allocations: 406.7 kB / 0.5 GB, free: 6.387 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.07948, allocations: 370.2 kB / 0.5003 GB, free: 6.023 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.07961, allocations: 61.41 kB / 0.5004 GB, free: 5.957 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.07978, allocations: 139.5 kB / 0.5005 GB, free: 5.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.07993, allocations: 143.3 kB / 0.5007 GB, free: 5.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.07995, allocations: 24 kB / 0.5007 GB, free: 5.656 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.08023, allocations: 251.7 kB / 0.5009 GB, free: 5.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.08028, allocations: 55.78 kB / 0.501 GB, free: 5.355 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.08037, allocations: 135.4 kB / 0.5011 GB, free: 5.223 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.0808, allocations: 470.4 kB / 0.5015 GB, free: 4.762 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.0808, allocations: 0 / 0.5015 GB, free: 4.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.0808, allocations: 0 / 0.5015 GB, free: 4.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.08081, allocations: 0 / 0.5015 GB, free: 4.762 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006773/0.08149, allocations: 0.536 MB / 0.5021 GB, free: 4.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.08153, allocations: 11.98 kB / 0.5021 GB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.08157, allocations: 54.73 kB / 0.5021 GB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.08171, allocations: 44.73 kB / 0.5022 GB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.08195, allocations: 214 kB / 0.5024 GB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.08196, allocations: 24.56 kB / 0.5024 GB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.082, allocations: 24 kB / 0.5024 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.08235, allocations: 296.5 kB / 0.5027 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.08236, allocations: 0 / 0.5027 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.08238, allocations: 16 kB / 0.5027 GB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.08238, allocations: 4 kB / 0.5027 GB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.08264, allocations: 221.8 kB / 0.5029 GB, free: 3.246 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.08373, allocations: 0.8608 MB / 0.5038 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.08392, allocations: 142.8 kB / 0.5039 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.084, allocations: 64.88 kB / 0.504 GB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/0.08407, allocations: 19.98 kB / 0.504 GB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.08409, allocations: 34.5 kB / 0.504 GB, free: 2.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.08409, allocations: 0 / 0.504 GB, free: 2.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001088/0.08518, allocations: 0.6662 MB / 0.5047 GB, free: 1.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.0852, allocations: 59.41 kB / 0.5047 GB, free: 1.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.0854, allocations: 269.9 kB / 0.505 GB, free: 1.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.08544, allocations: 29.7 kB / 0.505 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.08551, allocations: 160.5 kB / 0.5052 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.08555, allocations: 79.31 kB / 0.5053 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.08561, allocations: 53.92 kB / 0.5053 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.08569, allocations: 334.8 kB / 0.5056 GB, free: 360 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.0858, allocations: 81.72 kB / 0.5057 GB, free: 276 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.08593, allocations: 151.2 kB / 0.5058 GB, free: 100 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.08617, allocations: 220.1 kB / 0.5061 GB, free: 15.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.08617, allocations: 0 / 0.5061 GB, free: 15.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003108/0.08648, allocations: 261.2 kB / 0.5063 GB, free: 15.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.08649, allocations: 7.984 kB / 0.5063 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.0865, allocations: 4 kB / 0.5063 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.08651, allocations: 4.156 kB / 0.5063 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.08666, allocations: 71.89 kB / 0.5064 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.08667, allocations: 3.938 kB / 0.5064 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.08674, allocations: 12 kB / 0.5064 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.08676, allocations: 19.92 kB / 0.5064 GB, free: 15.48 MB / 378.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 (28): * Single equations (assignments): 28 * 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.0001256/0.08688, allocations: 137.8 kB / 0.5066 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.08691, allocations: 23.86 kB / 0.5066 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.08725, allocations: 258.7 kB / 0.5068 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.08726, allocations: 4 kB / 0.5068 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.08726, allocations: 0 / 0.5068 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.08726, allocations: 0 / 0.5068 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.08785, allocations: 0.557 MB / 0.5074 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.08785, allocations: 0 / 0.5074 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.08799, allocations: 71.92 kB / 0.5074 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.08799, allocations: 0 / 0.5074 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.088, allocations: 4 kB / 0.5074 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.08801, allocations: 0 / 0.5074 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.08801, allocations: 3.938 kB / 0.5074 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.08841, allocations: 407.7 kB / 0.5078 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.08848, allocations: 43.84 kB / 0.5079 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.0885, allocations: 11.95 kB / 0.5079 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.08858, allocations: 12.06 kB / 0.5079 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.08862, allocations: 11.97 kB / 0.5079 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.08863, allocations: 11.94 kB / 0.5079 GB, free: 13.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.08876, allocations: 205.1 kB / 0.5081 GB, free: 13.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08876, allocations: 0 / 0.5081 GB, free: 13.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.08904, allocations: 111.8 kB / 0.5082 GB, free: 13.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0006997/0.08974, allocations: 1.014 MB / 0.5092 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.09, allocations: 178.2 kB / 0.5094 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.09, allocations: 0 / 0.5094 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.09011, allocations: 87.83 kB / 0.5095 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.09041, allocations: 77.33 kB / 0.5095 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.09284, allocations: 2.887 MB / 0.5124 GB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.09293, allocations: 150.9 kB / 0.5125 GB, free: 8.992 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.09303, allocations: 50.88 kB / 0.5126 GB, free: 8.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.09315, allocations: 91.41 kB / 0.5126 GB, free: 8.852 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.09315, allocations: 0 / 0.5126 GB, free: 8.852 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07938/0.1725, allocations: 8.878 MB / 0.5213 GB, free: 200 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/7.005, allocations: 7.125 kB / 0.5213 GB, free: 196 kB / 378.7 MB " [Timeout remaining time 653] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.17494944948703]