Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.001038/0.001038, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001155/0.001155, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.025/1.025, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03481/0.03481, allocations: 8.699 MB / 267.9 MB, free: 4.746 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.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 394.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.278e-05, allocations: 2.281 kB / 394.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002333/0.002356, allocations: 1.878 MB / 396.8 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.004431, allocations: 1.705 MB / 398.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.00455, allocations: 4 kB / 398.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.004796, allocations: 39.7 kB / 398.6 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.005059, allocations: 99.19 kB / 398.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.00559, allocations: 354.5 kB / 399 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.00579, allocations: 186.8 kB / 399.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.005928, allocations: 21.78 kB / 399.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.006038, allocations: 79.81 kB / 399.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.006141, allocations: 59.81 kB / 399.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.006161, allocations: 12 kB / 399.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.006574, allocations: 235.6 kB / 399.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.006597, allocations: 19.92 kB / 399.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.006647, allocations: 55.84 kB / 399.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.006997, allocations: 327.1 kB / 400 MB, free: 12.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007, allocations: 0 / 400 MB, free: 12.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007001, allocations: 0 / 400 MB, free: 12.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.007007, allocations: 3.984 kB / 400 MB, free: 12.17 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004502/0.007457, allocations: 401 kB / 400.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.007505, allocations: 8.031 kB / 400.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.007548, allocations: 46.73 kB / 400.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.00759, allocations: 16.84 kB / 400.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.007805, allocations: 164.3 kB / 400.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.007817, allocations: 8.375 kB / 400.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.007832, allocations: 8.375 kB / 400.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.008021, allocations: 129.8 kB / 400.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.00803, allocations: 0 / 400.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.008043, allocations: 4 kB / 400.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.00805, allocations: 4 kB / 400.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.0082, allocations: 119.9 kB / 400.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.008891, allocations: 455.2 kB / 401.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.009015, allocations: 58.48 kB / 401.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.009058, allocations: 24.98 kB / 401.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.009113, allocations: 7.984 kB / 401.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.009131, allocations: 38.5 kB / 401.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.009133, allocations: 0 / 401.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002471/0.00938, allocations: 105.5 kB / 401.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.009417, allocations: 63.41 kB / 401.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.009579, allocations: 203.9 kB / 401.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.009592, allocations: 25.7 kB / 401.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.009662, allocations: 123.9 kB / 402 MB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.009679, allocations: 23.8 kB / 402 MB, free: 10 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.009721, allocations: 25.7 kB / 402 MB, free: 9.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.00982, allocations: 322.8 kB / 402.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.009869, allocations: 31.98 kB / 402.4 MB, free: 9.613 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.009941, allocations: 53.69 kB / 402.4 MB, free: 9.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.08e-05/0.01003, allocations: 60.81 kB / 402.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.01004, allocations: 7.938 kB / 402.5 MB, free: 9.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001493/0.01019, allocations: 117.6 kB / 402.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.0102, allocations: 4 kB / 402.6 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01021, allocations: 3.938 kB / 402.6 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01022, allocations: 0 / 402.6 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.01029, allocations: 19.98 kB / 402.6 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.0103, allocations: 0 / 402.6 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.01034, allocations: 11.89 kB / 402.6 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.01035, allocations: 4.281 kB / 402.6 MB, free: 9.32 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 (10): * Single equations (assignments): 10 * 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 8.905e-05/0.01044, allocations: 125.8 kB / 402.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.01046, allocations: 15.91 kB / 402.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.01065, allocations: 106.7 kB / 402.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01066, allocations: 0 / 402.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.01066, allocations: 0 / 402.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.01067, allocations: 3.984 kB / 402.9 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.01099, allocations: 354.3 kB / 403.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01099, allocations: 320 / 403.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.01102, allocations: 15.94 kB / 403.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01102, allocations: 4.031 kB / 403.3 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.01103, allocations: 4 kB / 403.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01103, allocations: 0 / 403.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01103, allocations: 0 / 403.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.01116, allocations: 188.2 kB / 403.4 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.01119, allocations: 15.94 kB / 403.5 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.01121, allocations: 7.938 kB / 403.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.102e-05/0.01125, allocations: 0 / 403.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.01127, allocations: 4 kB / 403.5 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.01127, allocations: 7.922 kB / 403.5 MB, free: 8.402 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.01137, allocations: 159 kB / 403.6 MB, free: 8.246 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01137, allocations: 4 kB / 403.6 MB, free: 8.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.01161, allocations: 91.69 kB / 403.7 MB, free: 8.152 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 (5): * Single equations (assignments): 5 * 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.0004921/0.01211, allocations: 0.7988 MB / 404.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01225, allocations: 55.92 kB / 404.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01225, allocations: 0 / 404.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.01228, allocations: 23.92 kB / 404.6 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.01253, allocations: 44.3 kB / 404.6 MB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.01443, allocations: 1.837 MB / 406.5 MB, free: 5.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.463e-05/0.0145, allocations: 98.27 kB / 406.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.678e-05/0.01456, allocations: 25.59 kB / 406.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.01463, allocations: 40.48 kB / 406.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01463, allocations: 4 kB / 406.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2842/0.2988, allocations: 6.054 MB / 412.7 MB, free: 28.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.266, allocations: 4.391 kB / 412.7 MB, free: 28.07 MB / 330.7 MB " [Timeout remaining time 652] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_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_ThrottleValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.543922004289925]