Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.0008824/0.0008824, allocations: 109.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.001053/0.001053, allocations: 220.7 kB / 22.25 MB, free: 3.578 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.9451/0.9451, allocations: 230.6 MB / 256 MB, free: 9.656 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.03576/0.03576, allocations: 11.33 MB / 323.8 MB, free: 6.797 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.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",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.001015/0.001015, allocations: 63.91 kB / 450.7 MB, free: 35.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0691/0.07012, allocations: 55.95 MB / 0.4948 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003087/0.0732, allocations: 3.107 MB / 0.4978 GB, free: 8.578 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.07438, allocations: 0.9117 MB / 0.4987 GB, free: 7.664 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.07451, allocations: 11.94 kB / 0.4987 GB, free: 7.652 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.07467, allocations: 59.42 kB / 0.4988 GB, free: 7.594 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.07506, allocations: 202.7 kB / 0.499 GB, free: 7.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.07525, allocations: 111.8 kB / 0.4991 GB, free: 7.285 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.07571, allocations: 0.6376 MB / 0.4997 GB, free: 6.645 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.07595, allocations: 142.9 kB / 0.4999 GB, free: 6.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.07619, allocations: 235.2 kB / 0.5001 GB, free: 6.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.07655, allocations: 238.9 kB / 0.5003 GB, free: 6.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.0766, allocations: 40 kB / 0.5004 GB, free: 5.996 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.07671, allocations: 71.98 kB / 0.5004 GB, free: 5.926 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.07678, allocations: 111.5 kB / 0.5005 GB, free: 5.816 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.07692, allocations: 219.1 kB / 0.5007 GB, free: 5.602 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.07733, allocations: 0.5331 MB / 0.5013 GB, free: 5.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.07733, allocations: 0 / 0.5013 GB, free: 5.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07733, allocations: 0 / 0.5013 GB, free: 5.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.07734, allocations: 0 / 0.5013 GB, free: 5.066 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007395/0.07808, allocations: 0.6416 MB / 0.5019 GB, free: 4.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.07812, allocations: 15.98 kB / 0.5019 GB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.07818, allocations: 78.72 kB / 0.502 GB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.07834, allocations: 60.64 kB / 0.502 GB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.07866, allocations: 292.7 kB / 0.5023 GB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.07868, allocations: 32.94 kB / 0.5023 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.07873, allocations: 36 kB / 0.5024 GB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.07918, allocations: 378.4 kB / 0.5027 GB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.07919, allocations: 11.94 kB / 0.5027 GB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.07922, allocations: 23.98 kB / 0.5028 GB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.07923, allocations: 8 kB / 0.5028 GB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.07959, allocations: 287.8 kB / 0.5031 GB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.08092, allocations: 1.113 MB / 0.5041 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.08118, allocations: 148.2 kB / 0.5043 GB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.0813, allocations: 80.83 kB / 0.5044 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.08133, allocations: 7.984 kB / 0.5044 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.08135, allocations: 34.56 kB / 0.5044 GB, free: 1.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.454e-06/0.08135, allocations: 0 / 0.5044 GB, free: 1.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003519/0.0817, allocations: 227.1 kB / 0.5046 GB, free: 1.461 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.08173, allocations: 55.34 kB / 0.5047 GB, free: 1.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.08207, allocations: 433.8 kB / 0.5051 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.08209, allocations: 29.7 kB / 0.5051 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.08221, allocations: 232.1 kB / 0.5053 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.08225, allocations: 75.41 kB / 0.5054 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.08231, allocations: 53.66 kB / 0.5055 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.08241, allocations: 350.7 kB / 0.5058 GB, free: 216 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.08251, allocations: 77.75 kB / 0.5059 GB, free: 132 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.08266, allocations: 166 kB / 0.506 GB, free: 15.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.08288, allocations: 254.9 kB / 0.5063 GB, free: 15.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.08289, allocations: 0 / 0.5063 GB, free: 15.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003202/0.08321, allocations: 301 kB / 0.5066 GB, free: 15.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.08322, allocations: 4 kB / 0.5066 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.08323, allocations: 4 kB / 0.5066 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.08324, allocations: 8 kB / 0.5066 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.08341, allocations: 68.27 kB / 0.5066 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.08341, allocations: 12 kB / 0.5066 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.08354, allocations: 47.61 kB / 0.5067 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.08356, allocations: 16 kB / 0.5067 GB, free: 15.17 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 33 * 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.0001713/0.08373, allocations: 177.7 kB / 0.5069 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.08377, allocations: 35.77 kB / 0.5069 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.08416, allocations: 209 kB / 0.5071 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.08417, allocations: 4 kB / 0.5071 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.08417, allocations: 0 / 0.5071 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.08417, allocations: 4 kB / 0.5071 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.08479, allocations: 0.5944 MB / 0.5077 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.08479, allocations: 3.938 kB / 0.5077 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.0849, allocations: 43.91 kB / 0.5077 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.08491, allocations: 7.938 kB / 0.5078 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.08492, allocations: 4 kB / 0.5078 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.08492, allocations: 4 kB / 0.5078 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.08492, allocations: 4.125 kB / 0.5078 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.08525, allocations: 391 kB / 0.5081 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.08534, allocations: 59.7 kB / 0.5082 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.08537, allocations: 7.938 kB / 0.5082 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.08546, allocations: 8 kB / 0.5082 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.0855, allocations: 19.97 kB / 0.5082 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.0855, allocations: 4 kB / 0.5082 GB, free: 13.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002282/0.08573, allocations: 311.1 kB / 0.5085 GB, free: 13.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.08573, allocations: 0 / 0.5085 GB, free: 13.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.08601, allocations: 103.9 kB / 0.5086 GB, free: 13.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * 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 (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 Backend phase and start with SimCode phase: time 0.0005205/0.08653, allocations: 0.9184 MB / 0.5095 GB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.08677, allocations: 160.5 kB / 0.5097 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.08677, allocations: 0 / 0.5097 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/0.08685, allocations: 71.97 kB / 0.5097 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.08728, allocations: 143.9 kB / 0.5099 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.09047, allocations: 3.737 MB / 0.5135 GB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.09062, allocations: 215.8 kB / 0.5137 GB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.09076, allocations: 60.25 kB / 0.5138 GB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.09089, allocations: 131.4 kB / 0.5139 GB, free: 7.441 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.09089, allocations: 0 / 0.5139 GB, free: 7.441 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09398/0.1849, allocations: 11.05 MB / 0.5247 GB, free: 12.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.027/7.212, allocations: 11.25 kB / 0.5247 GB, free: 12.66 MB / 394.7 MB " [Timeout remaining time 653] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple_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_PumpTestSimple.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.4192750826478]