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.001363/0.001363, allocations: 105.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.001803/0.001803, allocations: 212.7 kB / 22.25 MB, free: 3.719 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.9377/0.9377, allocations: 230.6 MB / 256 MB, free: 9.59 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.03622/0.03622, allocations: 11.33 MB / 323.8 MB, free: 6.781 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.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",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.0009532/0.0009532, allocations: 67.89 kB / 450.7 MB, free: 35.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06615/0.06711, allocations: 55.95 MB / 0.4948 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002969/0.07008, allocations: 2.68 MB / 0.4974 GB, free: 8.996 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.07241, allocations: 2.356 MB / 0.4997 GB, free: 6.633 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.07254, allocations: 7.938 kB / 0.4997 GB, free: 6.625 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.07285, allocations: 91.39 kB / 0.4998 GB, free: 6.535 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.07328, allocations: 230.6 kB / 0.5 GB, free: 6.309 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.07399, allocations: 489.8 kB / 0.5005 GB, free: 5.832 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.07432, allocations: 398.2 kB / 0.5009 GB, free: 5.441 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.07443, allocations: 32.92 kB / 0.5009 GB, free: 5.406 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.07461, allocations: 147.4 kB / 0.5011 GB, free: 5.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.07476, allocations: 147.2 kB / 0.5012 GB, free: 5.117 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.07479, allocations: 20 kB / 0.5012 GB, free: 5.098 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.07512, allocations: 279.8 kB / 0.5015 GB, free: 4.824 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.0752, allocations: 67.66 kB / 0.5016 GB, free: 4.758 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.07528, allocations: 123.3 kB / 0.5017 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.07578, allocations: 0.5332 MB / 0.5022 GB, free: 4.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.07578, allocations: 0 / 0.5022 GB, free: 4.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07578, allocations: 4 kB / 0.5022 GB, free: 4.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.07579, allocations: 3.938 kB / 0.5022 GB, free: 4.094 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006344/0.07642, allocations: 0.5822 MB / 0.5028 GB, free: 3.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.07646, allocations: 19.92 kB / 0.5028 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.0765, allocations: 54.72 kB / 0.5028 GB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.07662, allocations: 44.7 kB / 0.5029 GB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.07691, allocations: 254.1 kB / 0.5031 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.07693, allocations: 16.44 kB / 0.5031 GB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.07695, allocations: 23.98 kB / 0.5032 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.07723, allocations: 223.2 kB / 0.5034 GB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.07724, allocations: 0 / 0.5034 GB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.07726, allocations: 8 kB / 0.5034 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.07727, allocations: 7.984 kB / 0.5034 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.07755, allocations: 245.6 kB / 0.5036 GB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009051/0.07846, allocations: 0.6845 MB / 0.5043 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.07881, allocations: 174.7 kB / 0.5045 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.07891, allocations: 72.83 kB / 0.5045 GB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.58e-05/0.07898, allocations: 19.92 kB / 0.5045 GB, free: 1.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.079, allocations: 34.56 kB / 0.5046 GB, free: 1.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.079, allocations: 4 kB / 0.5046 GB, free: 1.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.01352/0.09252, allocations: 3.167 MB / 0.5077 GB, free: 14.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.09254, allocations: 55.41 kB / 0.5077 GB, free: 14.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.09281, allocations: 369.6 kB / 0.5081 GB, free: 13.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.09285, allocations: 37.7 kB / 0.5081 GB, free: 13.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.09294, allocations: 176.8 kB / 0.5083 GB, free: 13.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.09302, allocations: 115 kB / 0.5084 GB, free: 13.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.09315, allocations: 77.66 kB / 0.5085 GB, free: 13.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.09324, allocations: 346.8 kB / 0.5088 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.09379, allocations: 319.8 kB / 0.5091 GB, free: 12.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.09437, allocations: 383.8 kB / 0.5095 GB, free: 12.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.09553, allocations: 0.6582 MB / 0.5101 GB, free: 11.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.09553, allocations: 0 / 0.5101 GB, free: 11.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001963/0.09749, allocations: 1.006 MB / 0.5111 GB, free: 10.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.09751, allocations: 8 kB / 0.5111 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.09752, allocations: 3.938 kB / 0.5111 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.09908, allocations: 1.106 MB / 0.5122 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.09923, allocations: 63.83 kB / 0.5122 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.1025, allocations: 2.022 MB / 0.5142 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.1028, allocations: 64.03 kB / 0.5143 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.1029, allocations: 19.97 kB / 0.5143 GB, free: 7.379 MB / 378.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.103, allocations: 157.7 kB / 0.5145 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.1031, allocations: 35.77 kB / 0.5145 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.1051, allocations: 1.088 MB / 0.5156 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1051, allocations: 4 kB / 0.5156 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1052, allocations: 0 / 0.5156 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1052, allocations: 3.938 kB / 0.5156 GB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.1086, allocations: 1.914 MB / 0.5174 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1086, allocations: 8.062 kB / 0.5174 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1087, allocations: 47.91 kB / 0.5175 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.11, allocations: 0.9656 MB / 0.5184 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.1101, allocations: 15.98 kB / 0.5184 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.1123, allocations: 1.835 MB / 0.5202 GB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1123, allocations: 11.95 kB / 0.5202 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.114, allocations: 0.9797 MB / 0.5212 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1142, allocations: 111.5 kB / 0.5213 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.1142, allocations: 8 kB / 0.5213 GB, free: 24 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.1146, allocations: 52.02 kB / 0.5214 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1146, allocations: 23.95 kB / 0.5214 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.1146, allocations: 19.92 kB / 0.5214 GB, free: 15.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.1148, allocations: 263.2 kB / 0.5217 GB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1148, allocations: 0 / 0.5217 GB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004865/0.1153, allocations: 243.6 kB / 0.5219 GB, free: 15.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002916/0.1182, allocations: 1.992 MB / 0.5238 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002681/0.1209, allocations: 0.9062 MB / 0.5247 GB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1209, allocations: 0 / 0.5247 GB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.122, allocations: 467.8 kB / 0.5252 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1224, allocations: 85.31 kB / 0.5252 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006832/0.1292, allocations: 5.116 MB / 0.5302 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.1294, allocations: 181.8 kB / 0.5304 GB, free: 6.711 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.1295, allocations: 59.23 kB / 0.5305 GB, free: 6.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1296, allocations: 111.4 kB / 0.5306 GB, free: 6.539 MB / 394.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1296, allocations: 0 / 0.5306 GB, free: 6.539 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08906/0.2187, allocations: 20.36 MB / 0.5505 GB, free: 2.305 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.498, allocations: 3.562 kB / 0.5505 GB, free: 2.305 MB / 410.7 MB " [Timeout remaining time 651] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.052645874209702]