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.001125/0.001125, 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.0009976/0.0009976, 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 0.9622/0.9622, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.03452/0.03452, allocations: 8.702 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.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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 394.9 MB, free: 1.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.209e-05, allocations: 5.094 kB / 395 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003352/0.003374, allocations: 3.099 MB / 398.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.004679, allocations: 0.9116 MB / 399 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.004831, allocations: 7.938 kB / 399 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.005018, allocations: 63.36 kB / 399 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.005453, allocations: 210.4 kB / 399.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.005999, allocations: 115.7 kB / 399.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.0065, allocations: 0.6606 MB / 400 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.006756, allocations: 150.5 kB / 400.2 MB, free: 12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.007097, allocations: 343.2 kB / 400.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.007341, allocations: 215.4 kB / 400.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.00739, allocations: 40 kB / 400.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.007502, allocations: 56 kB / 400.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.007586, allocations: 107.6 kB / 400.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.00773, allocations: 199.5 kB / 401.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.008164, allocations: 0.5219 MB / 401.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.008167, allocations: 0 / 401.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008168, allocations: 0 / 401.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.008174, allocations: 0 / 401.6 MB, free: 10.53 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008011/0.008975, allocations: 0.6454 MB / 402.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.009018, allocations: 12.03 kB / 402.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.009087, allocations: 78.72 kB / 402.4 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.009248, allocations: 68.64 kB / 402.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.009577, allocations: 284.5 kB / 402.7 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.009601, allocations: 33.38 kB / 402.7 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.009647, allocations: 40.38 kB / 402.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.01009, allocations: 390.3 kB / 403.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.0101, allocations: 0 / 403.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.01013, allocations: 16 kB / 403.2 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.01014, allocations: 12 kB / 403.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.01048, allocations: 295.8 kB / 403.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.01178, allocations: 1.095 MB / 404.6 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.01203, allocations: 150.6 kB / 404.7 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.01216, allocations: 88.69 kB / 404.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.01218, allocations: 0 / 404.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.0122, allocations: 38.56 kB / 404.8 MB, free: 7.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.0122, allocations: 0 / 404.8 MB, free: 7.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003387/0.01254, allocations: 226.9 kB / 405.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.01257, allocations: 55.41 kB / 405.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.01292, allocations: 437.8 kB / 405.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.01293, allocations: 25.7 kB / 405.6 MB, free: 6.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.01306, allocations: 232 kB / 405.8 MB, free: 6.172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.0131, allocations: 63.44 kB / 405.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.01316, allocations: 57.69 kB / 405.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.01327, allocations: 354.8 kB / 406.3 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.01338, allocations: 81.7 kB / 406.3 MB, free: 5.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.01383, allocations: 170.7 kB / 406.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.01406, allocations: 245.9 kB / 406.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.01406, allocations: 3.938 kB / 406.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000305/0.01436, allocations: 295.6 kB / 407 MB, free: 4.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01438, allocations: 8 kB / 407 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.01439, allocations: 7.984 kB / 407 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01441, allocations: 4 kB / 407.1 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.01455, allocations: 67.91 kB / 407.1 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.01456, allocations: 11.92 kB / 407.1 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01469, allocations: 48.03 kB / 407.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.0147, allocations: 16 kB / 407.2 MB, free: 4.652 MB / 330.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.0001729/0.01487, allocations: 188.1 kB / 407.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.01491, allocations: 39.77 kB / 407.4 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.01518, allocations: 205.1 kB / 407.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01518, allocations: 0 / 407.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01519, allocations: 4 kB / 407.6 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01519, allocations: 3.984 kB / 407.6 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.01579, allocations: 0.6014 MB / 408.2 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01579, allocations: 4 kB / 408.2 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.01589, allocations: 43.91 kB / 408.3 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01589, allocations: 0 / 408.3 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01591, allocations: 8 kB / 408.3 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01591, allocations: 0 / 408.3 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.01591, allocations: 15.88 kB / 408.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.01625, allocations: 378.6 kB / 408.7 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.01633, allocations: 59.66 kB / 408.7 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.01637, allocations: 8 kB / 408.7 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.01646, allocations: 7.938 kB / 408.7 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.0165, allocations: 19.91 kB / 408.8 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01651, allocations: 4 kB / 408.8 MB, free: 2.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.01675, allocations: 307.1 kB / 409.1 MB, free: 2.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01675, allocations: 0 / 409.1 MB, free: 2.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.017, allocations: 99.88 kB / 409.2 MB, free: 2.582 MB / 330.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.0005566/0.01756, allocations: 0.9215 MB / 410.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.01778, allocations: 163.6 kB / 410.2 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01779, allocations: 0 / 410.2 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.01786, allocations: 60.84 kB / 410.3 MB, free: 1.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.01828, allocations: 141.7 kB / 410.4 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.171/0.1893, allocations: 3.707 MB / 414.1 MB, free: 26.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1895, allocations: 223.6 kB / 414.4 MB, free: 26.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.1897, allocations: 64.75 kB / 414.4 MB, free: 26.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.1899, allocations: 133 kB / 414.6 MB, free: 26.78 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1899, allocations: 0.625 kB / 414.6 MB, free: 26.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09018/0.2801, allocations: 11.14 MB / 425.7 MB, free: 23.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/8.909, allocations: 1.25 kB / 425.7 MB, free: 23.43 MB / 330.7 MB " [Timeout remaining time 651] (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: 11.15103300102055]