Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.0009919/0.0009919, 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.0009352/0.0009352, 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.9528/0.9528, allocations: 177.2 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.03346/0.03346, allocations: 8.701 MB / 267.9 MB, free: 4.73 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.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 394.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.932e-05, allocations: 2.281 kB / 395 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.00283/0.002849, allocations: 2.478 MB / 397.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.004862, allocations: 1.849 MB / 399.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.004992, allocations: 7.938 kB / 399.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.005215, allocations: 63.48 kB / 399.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.005442, allocations: 115 kB / 399.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.006019, allocations: 410.3 kB / 399.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.006311, allocations: 325.9 kB / 400.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.006489, allocations: 70.62 kB / 400.2 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.006757, allocations: 171.6 kB / 400.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.006893, allocations: 87.73 kB / 400.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.006919, allocations: 16 kB / 400.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.007172, allocations: 207.7 kB / 400.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.007211, allocations: 47.77 kB / 400.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.007287, allocations: 91.77 kB / 400.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.007727, allocations: 406.8 kB / 401.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.007729, allocations: 0 / 401.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00773, allocations: 0 / 401.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.007735, allocations: 0 / 401.3 MB, free: 10.89 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005534/0.008288, allocations: 0.4966 MB / 401.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.008332, allocations: 11.97 kB / 401.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.008382, allocations: 50.73 kB / 401.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.008536, allocations: 56.72 kB / 401.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.008791, allocations: 202.9 kB / 402.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.008806, allocations: 12.38 kB / 402.1 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.008828, allocations: 24.36 kB / 402.1 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.009112, allocations: 208.3 kB / 402.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.009124, allocations: 4 kB / 402.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.009141, allocations: 8 kB / 402.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.009148, allocations: 8 kB / 402.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.009373, allocations: 155.9 kB / 402.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008547/0.01023, allocations: 0.7067 MB / 403.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.01054, allocations: 110.5 kB / 403.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.01062, allocations: 44.84 kB / 403.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.01066, allocations: 7.984 kB / 403.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.01069, allocations: 38.56 kB / 403.4 MB, free: 8.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.01069, allocations: 3.938 kB / 403.4 MB, free: 8.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001262/0.01195, allocations: 0.524 MB / 403.9 MB, free: 8.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.01198, allocations: 51.41 kB / 404 MB, free: 8.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.01219, allocations: 269.8 kB / 404.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01221, allocations: 25.7 kB / 404.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.0123, allocations: 168.2 kB / 404.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.01232, allocations: 47.64 kB / 404.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.01238, allocations: 33.7 kB / 404.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.01247, allocations: 334.8 kB / 404.8 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.01258, allocations: 67.89 kB / 404.9 MB, free: 7.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.01271, allocations: 96.88 kB / 405 MB, free: 6.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.01294, allocations: 175.7 kB / 405.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01294, allocations: 0 / 405.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003026/0.01325, allocations: 229.3 kB / 405.4 MB, free: 6.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.01326, allocations: 6.656 kB / 405.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01327, allocations: 0 / 405.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.01328, allocations: 7.984 kB / 405.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01339, allocations: 43.97 kB / 405.4 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01339, allocations: 0 / 405.4 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.01347, allocations: 15.98 kB / 405.4 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.01348, allocations: 12.06 kB / 405.5 MB, free: 6.441 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (18): * Single equations (assignments): 18 * 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 9.253e-05/0.01357, allocations: 133.8 kB / 405.6 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.0136, allocations: 27.8 kB / 405.6 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.01391, allocations: 195.3 kB / 405.8 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01391, allocations: 4 kB / 405.8 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01392, allocations: 0 / 405.8 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01392, allocations: 4 kB / 405.8 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.01414, allocations: 232.6 kB / 406 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01414, allocations: 0 / 406 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.01421, allocations: 27.97 kB / 406.1 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.01422, allocations: 7.938 kB / 406.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01423, allocations: 3.984 kB / 406.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01423, allocations: 0 / 406.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01423, allocations: 4 kB / 406.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.01452, allocations: 287.2 kB / 406.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.01457, allocations: 35.77 kB / 406.4 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.0146, allocations: 8 kB / 406.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.01467, allocations: 11.98 kB / 406.4 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.01472, allocations: 7.922 kB / 406.4 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.01472, allocations: 4 kB / 406.4 MB, free: 5.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.01485, allocations: 189.2 kB / 406.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01485, allocations: 0 / 406.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.01511, allocations: 103.7 kB / 406.7 MB, free: 5.113 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 (11): * Single equations (assignments): 11 * 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.0006959/0.0158, allocations: 0.8799 MB / 407.6 MB, free: 4.207 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.01609, allocations: 155.8 kB / 407.7 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01609, allocations: 0 / 407.7 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.01619, allocations: 63.95 kB / 407.8 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.0165, allocations: 53.2 kB / 407.9 MB, free: 3.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.0191, allocations: 2.455 MB / 410.3 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.993e-05/0.01919, allocations: 134.1 kB / 410.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.935e-05/0.01928, allocations: 38.84 kB / 410.5 MB, free: 1.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.198e-05/0.01937, allocations: 76.47 kB / 410.6 MB, free: 1.102 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.01937, allocations: 0 / 410.6 MB, free: 1.102 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2393/0.2586, allocations: 7.349 MB / 417.9 MB, free: 27.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.066, allocations: 11.97 kB / 417.9 MB, free: 27.44 MB / 330.7 MB " [Timeout remaining time 652] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_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_ShuttleValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.32127986010164]