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.0009204/0.0009204, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008281/0.0008281, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9854/0.9854, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.03364/0.03364, allocations: 8.713 MB / 267.9 MB, free: 4.727 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: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 394.9 MB, free: 1.238 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.34e-05, allocations: 6.281 kB / 395 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.004167/0.0042, allocations: 1.886 MB / 396.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.005537, allocations: 0.5571 MB / 397.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.005668, allocations: 0 / 397.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.122e-05/0.00573, allocations: 15.86 kB / 397.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.006219, allocations: 79.44 kB / 397.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.00636, allocations: 19.97 kB / 397.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.006646, allocations: 143.1 kB / 397.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.006791, allocations: 15.98 kB / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.007055, allocations: 83.73 kB / 397.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.007182, allocations: 43.89 kB / 397.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.007207, allocations: 4 kB / 397.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.777e-05/0.007275, allocations: 12 kB / 397.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.007299, allocations: 15.88 kB / 397.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.007362, allocations: 39.91 kB / 397.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.007602, allocations: 103.6 kB / 398 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.007608, allocations: 4 kB / 398 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.007611, allocations: 4 kB / 398 MB, free: 14.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.007619, allocations: 0 / 398 MB, free: 14.19 MB / 330.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.000631/0.00825, allocations: 343.5 kB / 398.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/0.008313, allocations: 8.031 kB / 398.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.008373, allocations: 42.73 kB / 398.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.008432, allocations: 20.84 kB / 398.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.008852, allocations: 137.6 kB / 398.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.008872, allocations: 4.375 kB / 398.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.008895, allocations: 8.375 kB / 398.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.009134, allocations: 111.7 kB / 398.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.00915, allocations: 4 kB / 398.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.009169, allocations: 4 kB / 398.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.009179, allocations: 4 kB / 398.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.009323, allocations: 81.61 kB / 398.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.01011, allocations: 331.7 kB / 399 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.01027, allocations: 68.2 kB / 399.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.01033, allocations: 38.69 kB / 399.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.01035, allocations: 0 / 399.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.0104, allocations: 38.56 kB / 399.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.255e-06/0.0104, allocations: 4 kB / 399.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003908/0.01079, allocations: 170.6 kB / 399.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.01086, allocations: 77.11 kB / 399.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.01106, allocations: 168.5 kB / 399.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.01108, allocations: 33.64 kB / 399.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.01117, allocations: 108 kB / 399.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.01119, allocations: 15.84 kB / 399.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.01125, allocations: 25.7 kB / 399.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.01139, allocations: 322.8 kB / 400.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.617e-05/0.01148, allocations: 37.7 kB / 400.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-05/0.01154, allocations: 45.69 kB / 400.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.01167, allocations: 108.4 kB / 400.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.01168, allocations: 0 / 400.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002051/0.01188, allocations: 141 kB / 400.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.01194, allocations: 37.69 kB / 400.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.01195, allocations: 0 / 400.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.01197, allocations: 3.938 kB / 400.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01209, allocations: 15.94 kB / 400.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.0121, allocations: 4 kB / 400.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.01216, allocations: 0 / 400.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.01218, allocations: 7.984 kB / 400.5 MB, free: 11.38 MB / 330.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 0.000158/0.01233, allocations: 143.5 kB / 400.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.01238, allocations: 11.91 kB / 400.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.01266, allocations: 137.5 kB / 400.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.01267, allocations: 3.938 kB / 400.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.01268, allocations: 4.25 kB / 400.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.01268, allocations: 3.984 kB / 400.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.01322, allocations: 369.9 kB / 401.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01322, allocations: 0 / 401.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.01328, allocations: 15.88 kB / 401.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.01328, allocations: 0 / 401.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.0133, allocations: 12.02 kB / 401.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.0133, allocations: 4 kB / 401.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.01331, allocations: 0 / 401.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.01359, allocations: 231.7 kB / 401.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.01365, allocations: 19.88 kB / 401.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.01367, allocations: 0 / 401.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.01374, allocations: 0 / 401.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.01378, allocations: 7.984 kB / 401.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.01378, allocations: 0 / 401.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.01392, allocations: 135.8 kB / 401.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01392, allocations: 3.938 kB / 401.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.01422, allocations: 32 kB / 401.6 MB, free: 10.14 MB / 330.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.0005866/0.01481, allocations: 0.775 MB / 402.4 MB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.01502, allocations: 158.7 kB / 402.5 MB, free: 9.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01502, allocations: 0 / 402.5 MB, free: 9.145 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.252e-05/0.01509, allocations: 97.09 kB / 402.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.01547, allocations: 36.36 kB / 402.7 MB, free: 8.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.01739, allocations: 1.752 MB / 404.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.955e-05/0.01747, allocations: 80.78 kB / 404.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.816e-05/0.01755, allocations: 21.36 kB / 404.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.01761, allocations: 32.48 kB / 404.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01761, allocations: 0 / 404.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0977/0.1153, allocations: 3.95 MB / 408.5 MB, free: 3.176 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.213, allocations: 11.06 kB / 408.5 MB, free: 3.168 MB / 330.7 MB " [Timeout remaining time 652] (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: 10.811732580885291]