Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.001201/0.001201, 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.001314/0.001314, allocations: 165.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 1.04/1.04, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.03353/0.03353, allocations: 8.712 MB / 267.9 MB, free: 4.738 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.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 395 MB, free: 1.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.912e-05, allocations: 2.281 kB / 395 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.003443/0.003462, allocations: 3.332 MB / 398.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.006941, allocations: 2.648 MB / 400.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.007134, allocations: 7.938 kB / 400.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.007796, allocations: 442.2 kB / 401.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006586/0.008454, allocations: 0.4974 MB / 401.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.009344, allocations: 0.6418 MB / 402.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.01006, allocations: 0.9254 MB / 403.4 MB, free: 8.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.01028, allocations: 113.9 kB / 403.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000455/0.01074, allocations: 490.7 kB / 404 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.01112, allocations: 430.9 kB / 404.5 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.01118, allocations: 48 kB / 404.5 MB, free: 7.652 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005035/0.01168, allocations: 239.8 kB / 404.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.01186, allocations: 251 kB / 405 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.01204, allocations: 251.1 kB / 405.2 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.01282, allocations: 1.067 MB / 406.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.01283, allocations: 4 kB / 406.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01283, allocations: 0 / 406.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.01284, allocations: 0 / 406.3 MB, free: 5.852 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001187/0.01402, allocations: 1.18 MB / 407.5 MB, free: 4.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.01406, allocations: 11.98 kB / 407.5 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.231e-05/0.01414, allocations: 82.72 kB / 407.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.01424, allocations: 120.2 kB / 407.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008586/0.0151, allocations: 0.6056 MB / 408.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.01513, allocations: 29.38 kB / 408.3 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.01518, allocations: 43.94 kB / 408.4 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.01574, allocations: 446.4 kB / 408.8 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.01575, allocations: 4 kB / 408.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.01578, allocations: 12 kB / 408.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.01579, allocations: 15.94 kB / 408.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.01633, allocations: 451.7 kB / 409.3 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.01799, allocations: 1.415 MB / 410.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.0185, allocations: 298.4 kB / 411 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.01867, allocations: 116.7 kB / 411.1 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.01869, allocations: 8 kB / 411.1 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.01871, allocations: 34.55 kB / 411.1 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/0.01871, allocations: 0 / 411.1 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006013/0.01932, allocations: 461.4 kB / 411.6 MB, free: 416 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.01935, allocations: 51.41 kB / 411.6 MB, free: 352 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1937/0.2131, allocations: 1.386 MB / 413 MB, free: 28.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/0.2132, allocations: 32.47 kB / 413.1 MB, free: 28.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.2134, allocations: 473.5 kB / 413.5 MB, free: 28.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.2135, allocations: 97.81 kB / 413.6 MB, free: 28.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2136, allocations: 75.7 kB / 413.7 MB, free: 28.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.2137, allocations: 322.4 kB / 414 MB, free: 27.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.2139, allocations: 116.5 kB / 414.1 MB, free: 27.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.2141, allocations: 190.4 kB / 414.3 MB, free: 27.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.2145, allocations: 329.5 kB / 414.6 MB, free: 27.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.2145, allocations: 1.188 kB / 414.6 MB, free: 27.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006021/0.2151, allocations: 466.1 kB / 415.1 MB, free: 27.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.2152, allocations: 6.594 kB / 415.1 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2152, allocations: 1.344 kB / 415.1 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.2152, allocations: 5 kB / 415.1 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.2155, allocations: 87.11 kB / 415.2 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.2155, allocations: 5.203 kB / 415.2 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.2158, allocations: 61.41 kB / 415.2 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.2158, allocations: 14.56 kB / 415.3 MB, free: 27.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002783/0.2161, allocations: 306.4 kB / 415.6 MB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.2162, allocations: 104.3 kB / 415.7 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.2169, allocations: 450.1 kB / 416.1 MB, free: 27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2169, allocations: 10.67 kB / 416.1 MB, free: 26.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2169, allocations: 0 / 416.1 MB, free: 26.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2169, allocations: 6.094 kB / 416.1 MB, free: 26.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.2174, allocations: 0.5316 MB / 416.6 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2174, allocations: 0 / 416.6 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.2177, allocations: 70.2 kB / 416.7 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2177, allocations: 1.094 kB / 416.7 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.2177, allocations: 10.09 kB / 416.7 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.2177, allocations: 5.094 kB / 416.7 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2177, allocations: 2.812 kB / 416.7 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.2182, allocations: 0.4892 MB / 417.2 MB, free: 26.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.2184, allocations: 152 kB / 417.4 MB, free: 26.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.2185, allocations: 5.344 kB / 417.4 MB, free: 26.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2186, allocations: 17.53 kB / 417.4 MB, free: 26.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.2187, allocations: 21.95 kB / 417.4 MB, free: 26.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.2187, allocations: 10.31 kB / 417.4 MB, free: 26.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001036/0.2197, allocations: 0.9897 MB / 418.4 MB, free: 25.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2197, allocations: 0 / 418.4 MB, free: 25.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.2202, allocations: 180.5 kB / 418.6 MB, free: 25.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * 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.001618/0.2218, allocations: 1.38 MB / 420 MB, free: 25.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.2224, allocations: 291.5 kB / 420.3 MB, free: 25.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2224, allocations: 0 / 420.3 MB, free: 25.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.2226, allocations: 140 kB / 420.4 MB, free: 24.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007733/0.2234, allocations: 222.9 kB / 420.6 MB, free: 24.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009596/0.233, allocations: 7.698 MB / 428.3 MB, free: 21.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.2334, allocations: 436.5 kB / 428.7 MB, free: 21.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.2338, allocations: 144.4 kB / 428.9 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.2341, allocations: 330.4 kB / 429.2 MB, free: 21.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.914e-06/0.2341, allocations: 1.094 kB / 429.2 MB, free: 21.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09276/0.3269, allocations: 21.82 MB / 451 MB, free: 2.074 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/9.103, allocations: 7.922 kB / 451 MB, free: 2.066 MB / 330.7 MB " [Timeout remaining time 651] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.535435472615063]