Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.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.001366/0.001366, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001473/0.001473, allocations: 213.7 kB / 22.24 MB, free: 5.238 MB / 14.72 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8153/0.8153, allocations: 100.9 MB / 413.3 MB, free: 2.879 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream 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: ThermofluidStream requested package Complex of version 4.0.0. Complex 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.002498/0.002498, allocations: 86.72 kB / 0.5641 GB, free: 35.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1267, allocations: 74.61 MB / 0.6369 GB, free: 6.492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05435/0.1811, allocations: 42.92 MB / 0.6789 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.1954, allocations: 11.38 MB / 0.69 GB, free: 0 / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/0.196, allocations: 31.8 kB / 0.69 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.1967, allocations: 246.3 kB / 0.6902 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.1982, allocations: 0.5437 MB / 0.6908 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.2002, allocations: 0.7489 MB / 0.6915 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.2013, allocations: 0.9258 MB / 0.6924 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.2016, allocations: 101.9 kB / 0.6925 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03049/0.2321, allocations: 12.49 MB / 0.7047 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006406/0.2327, allocations: 382.4 kB / 0.705 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.2328, allocations: 56 kB / 0.7051 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4475/0.6804, allocations: 52.45 MB / 0.7563 GB, free: 59.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.6806, allocations: 151.7 kB / 0.7565 GB, free: 59.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.681, allocations: 272.1 kB / 0.7567 GB, free: 59.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.6832, allocations: 1.113 MB / 0.7578 GB, free: 59.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6832, allocations: 0 / 0.7578 GB, free: 59.15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6832, allocations: 0 / 0.7578 GB, free: 59.15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.6832, allocations: 0.9375 kB / 0.7578 GB, free: 59.15 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002096/0.6853, allocations: 1.004 MB / 0.7588 GB, free: 58.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6854, allocations: 12.28 kB / 0.7588 GB, free: 58.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.244e-05/0.6855, allocations: 85.25 kB / 0.7589 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.6857, allocations: 88.08 kB / 0.759 GB, free: 58.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007818/0.6865, allocations: 454.6 kB / 0.7594 GB, free: 58.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/0.6866, allocations: 147.2 kB / 0.7595 GB, free: 58.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.6867, allocations: 45.72 kB / 0.7596 GB, free: 58.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.6878, allocations: 0.7117 MB / 0.7603 GB, free: 58.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.6878, allocations: 0.9062 kB / 0.7603 GB, free: 58.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.6879, allocations: 16.09 kB / 0.7603 GB, free: 58.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.6879, allocations: 24.55 kB / 0.7603 GB, free: 58.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.6891, allocations: 0.671 MB / 0.761 GB, free: 58.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00329/0.6924, allocations: 1.993 MB / 0.7629 GB, free: 57.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.6939, allocations: 0.6466 MB / 0.7636 GB, free: 57.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006526/0.6945, allocations: 337.7 kB / 0.7639 GB, free: 57.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/0.6961, allocations: 320.7 kB / 0.7642 GB, free: 57.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.6961, allocations: 43.25 kB / 0.7642 GB, free: 57.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.845e-06/0.6961, allocations: 0 / 0.7642 GB, free: 57.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004454/0.7006, allocations: 1.997 MB / 0.7662 GB, free: 57.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.7006, allocations: 58.91 kB / 0.7662 GB, free: 57.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.7011, allocations: 431.7 kB / 0.7666 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.7012, allocations: 41.2 kB / 0.7667 GB, free: 56.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.7013, allocations: 246.1 kB / 0.7669 GB, free: 56.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.7014, allocations: 231.8 kB / 0.7671 GB, free: 56.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.7016, allocations: 113.3 kB / 0.7672 GB, free: 56.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.7017, allocations: 370.5 kB / 0.7676 GB, free: 56.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.7021, allocations: 268.1 kB / 0.7679 GB, free: 56.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.7026, allocations: 330.4 kB / 0.7682 GB, free: 56.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.7037, allocations: 0.6309 MB / 0.7688 GB, free: 56.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7037, allocations: 1.062 kB / 0.7688 GB, free: 56.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00197/0.7057, allocations: 0.8634 MB / 0.7696 GB, free: 56.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.7057, allocations: 6.938 kB / 0.7696 GB, free: 56.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.7057, allocations: 4.5 kB / 0.7696 GB, free: 56.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.7061, allocations: 132.5 kB / 0.7698 GB, free: 56.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.7067, allocations: 113 kB / 0.7699 GB, free: 56.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.7091, allocations: 2.347 MB / 0.7722 GB, free: 54.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.7096, allocations: 18.98 kB / 0.7722 GB, free: 54.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.7096, allocations: 27.78 kB / 0.7722 GB, free: 54.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003194/0.71, allocations: 193.4 kB / 0.7724 GB, free: 54.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.7102, allocations: 67.97 kB / 0.7725 GB, free: 54.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.7121, allocations: 1.063 MB / 0.7735 GB, free: 54.42 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.7121, allocations: 6.812 kB / 0.7735 GB, free: 54.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7121, allocations: 2.656 kB / 0.7735 GB, free: 54.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.7121, allocations: 7.797 kB / 0.7735 GB, free: 54.42 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.7152, allocations: 1.549 MB / 0.775 GB, free: 54.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.7152, allocations: 6.812 kB / 0.775 GB, free: 54.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.7157, allocations: 93.38 kB / 0.7751 GB, free: 54.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003639/0.7161, allocations: 140.3 kB / 0.7753 GB, free: 54.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-05/0.7161, allocations: 26.42 kB / 0.7753 GB, free: 54.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.7183, allocations: 2.344 MB / 0.7776 GB, free: 52.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.7183, allocations: 4.531 kB / 0.7776 GB, free: 52.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.7204, allocations: 1.306 MB / 0.7789 GB, free: 52.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.7208, allocations: 127.2 kB / 0.779 GB, free: 52.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.925e-05/0.7209, allocations: 13.59 kB / 0.779 GB, free: 52.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.7212, allocations: 22.48 kB / 0.779 GB, free: 52.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.7213, allocations: 49.3 kB / 0.7791 GB, free: 52.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.7213, allocations: 23.48 kB / 0.7791 GB, free: 52.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003799/0.7217, allocations: 329.1 kB / 0.7794 GB, free: 52.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7217, allocations: 0 / 0.7794 GB, free: 52.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001087/0.7228, allocations: 301 kB / 0.7797 GB, free: 52.33 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002821/0.7256, allocations: 2.164 MB / 0.7818 GB, free: 51.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.7271, allocations: 0.8734 MB / 0.7826 GB, free: 51.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.7271, allocations: 6.75 kB / 0.7826 GB, free: 51.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.728, allocations: 0.5748 MB / 0.7832 GB, free: 51.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.7291, allocations: 209.1 kB / 0.7834 GB, free: 51.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007868/0.7369, allocations: 5.972 MB / 0.7892 GB, free: 48.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.7372, allocations: 302.2 kB / 0.7895 GB, free: 48.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004662/0.7376, allocations: 135 kB / 0.7897 GB, free: 48.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.7379, allocations: 235.7 kB / 0.7899 GB, free: 48.54 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.7379, allocations: 0 / 0.7899 GB, free: 48.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/0.7896, allocations: 22.16 MB / 0.8115 GB, free: 34.87 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.34, allocations: 7.609 kB / 0.8115 GB, free: 34.86 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.csv --start-time 0 --stop-time 30 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.99351492105052]