Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.001275/0.001275, 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.001523/0.001523, allocations: 216.7 kB / 22.25 MB, free: 3.574 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.8878/0.8878, allocations: 230.6 MB / 256 MB, free: 9.621 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.03642/0.03642, allocations: 11.32 MB / 323.8 MB, free: 6.793 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.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",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.0009775/0.0009775, allocations: 75.89 kB / 450.7 MB, free: 35.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06917/0.07015, allocations: 55.95 MB / 0.4948 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002103/0.07225, allocations: 1.889 MB / 0.4967 GB, free: 9.793 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006297/0.07288, allocations: 0.5611 MB / 0.4972 GB, free: 9.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.07294, allocations: 0 / 0.4972 GB, free: 9.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.07299, allocations: 19.84 kB / 0.4972 GB, free: 9.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.07324, allocations: 83.45 kB / 0.4973 GB, free: 9.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.286e-05/0.07332, allocations: 15.98 kB / 0.4973 GB, free: 9.113 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.07348, allocations: 135.2 kB / 0.4974 GB, free: 8.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.07357, allocations: 15.98 kB / 0.4975 GB, free: 8.965 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.07368, allocations: 59.78 kB / 0.4975 GB, free: 8.906 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.07377, allocations: 43.78 kB / 0.4976 GB, free: 8.863 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.07378, allocations: 8 kB / 0.4976 GB, free: 8.855 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.07383, allocations: 16 kB / 0.4976 GB, free: 8.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.07384, allocations: 19.92 kB / 0.4976 GB, free: 8.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.07389, allocations: 55.72 kB / 0.4977 GB, free: 8.766 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.07402, allocations: 99.88 kB / 0.4977 GB, free: 8.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.07402, allocations: 0 / 0.4977 GB, free: 8.668 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.07403, allocations: 0 / 0.4977 GB, free: 8.668 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.07403, allocations: 7.875 kB / 0.4978 GB, free: 8.66 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003562/0.07439, allocations: 347.6 kB / 0.4981 GB, free: 8.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.07443, allocations: 11.98 kB / 0.4981 GB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.604e-05/0.07445, allocations: 38.75 kB / 0.4981 GB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.07448, allocations: 12.84 kB / 0.4981 GB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.07464, allocations: 152.5 kB / 0.4983 GB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.07465, allocations: 4.375 kB / 0.4983 GB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.07467, allocations: 11.94 kB / 0.4983 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.0748, allocations: 115.3 kB / 0.4984 GB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.0748, allocations: 3.984 kB / 0.4984 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.07481, allocations: 0 / 0.4984 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.07482, allocations: 0 / 0.4984 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.161e-05/0.0749, allocations: 77.67 kB / 0.4985 GB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.07532, allocations: 335.7 kB / 0.4988 GB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/0.07539, allocations: 64.27 kB / 0.4989 GB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.07542, allocations: 46.69 kB / 0.4989 GB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.07543, allocations: 3.984 kB / 0.4989 GB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.07545, allocations: 34.5 kB / 0.499 GB, free: 7.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.07545, allocations: 3.938 kB / 0.499 GB, free: 7.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001811/0.07563, allocations: 158.7 kB / 0.4991 GB, free: 7.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.07566, allocations: 81.11 kB / 0.4992 GB, free: 6.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.07577, allocations: 165.4 kB / 0.4993 GB, free: 6.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.07578, allocations: 29.7 kB / 0.4994 GB, free: 6.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.07582, allocations: 104 kB / 0.4995 GB, free: 6.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.07583, allocations: 15.84 kB / 0.4995 GB, free: 6.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.07586, allocations: 29.66 kB / 0.4995 GB, free: 6.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.07593, allocations: 322.8 kB / 0.4998 GB, free: 6.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.07597, allocations: 45.69 kB / 0.4999 GB, free: 6.246 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.076, allocations: 45.7 kB / 0.4999 GB, free: 6.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.817e-05/0.07607, allocations: 100.2 kB / 0.5 GB, free: 6.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.07607, allocations: 256 / 0.5 GB, free: 6.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000106/0.07618, allocations: 141 kB / 0.5001 GB, free: 5.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.0762, allocations: 35.67 kB / 0.5002 GB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.07621, allocations: 4 kB / 0.5002 GB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.07622, allocations: 7.938 kB / 0.5002 GB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.07629, allocations: 11.98 kB / 0.5002 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.0763, allocations: 4 kB / 0.5002 GB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.07633, allocations: 4 kB / 0.5002 GB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.07634, allocations: 0 / 0.5002 GB, free: 5.855 MB / 362.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 (8): * Single equations (assignments): 7 * 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 6.439e-05/0.0764, allocations: 151.5 kB / 0.5004 GB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.07642, allocations: 15.84 kB / 0.5004 GB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.07654, allocations: 141.4 kB / 0.5005 GB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.07655, allocations: 7.938 kB / 0.5005 GB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.07655, allocations: 0 / 0.5005 GB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.07655, allocations: 0 / 0.5005 GB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.0768, allocations: 377.8 kB / 0.5009 GB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0768, allocations: 4.031 kB / 0.5009 GB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.07682, allocations: 4 kB / 0.5009 GB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.07683, allocations: 4 kB / 0.5009 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.07683, allocations: 0 / 0.5009 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.07683, allocations: 0 / 0.5009 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.07683, allocations: 0 / 0.5009 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.07695, allocations: 239.6 kB / 0.5011 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.07698, allocations: 15.94 kB / 0.5011 GB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.077, allocations: 4 kB / 0.5011 GB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.07704, allocations: 3.984 kB / 0.5011 GB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.07706, allocations: 8.188 kB / 0.5011 GB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.07707, allocations: 4 kB / 0.5011 GB, free: 4.762 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.07713, allocations: 131.2 kB / 0.5013 GB, free: 4.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07713, allocations: 0 / 0.5013 GB, free: 4.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.0773, allocations: 23.94 kB / 0.5013 GB, free: 4.609 MB / 362.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 (6): * Single equations (assignments): 5 * 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 0.000302/0.07761, allocations: 0.7751 MB / 0.5021 GB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.07773, allocations: 150.8 kB / 0.5022 GB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.07773, allocations: 0 / 0.5022 GB, free: 3.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.07777, allocations: 97.05 kB / 0.5023 GB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.07801, allocations: 44.34 kB / 0.5023 GB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.07913, allocations: 1.768 MB / 0.5041 GB, free: 1.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.898e-05/0.07918, allocations: 88.56 kB / 0.5041 GB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.135e-05/0.07922, allocations: 13.08 kB / 0.5042 GB, free: 1.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.07927, allocations: 31.42 kB / 0.5042 GB, free: 1.422 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.07927, allocations: 0 / 0.5042 GB, free: 1.422 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07226/0.1515, allocations: 3.82 MB / 0.5079 GB, free: 13.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.878, allocations: 10.59 kB / 0.5079 GB, free: 13.75 MB / 378.7 MB " [Timeout remaining time 653] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_fmpy_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.991569945588708]