Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.002005/0.002005, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002558/0.002558, allocations: 217 kB / 22.25 MB, free: 5.121 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7792/0.7792, allocations: 94.57 MB / 407 MB, free: 9.18 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_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.002555/0.002555, allocations: 84.78 kB / 0.555 GB, free: 38.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1246, allocations: 73.05 MB / 0.6263 GB, free: 500 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05652/0.1811, allocations: 48.03 MB / 0.6732 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.1963, allocations: 12.64 MB / 0.6855 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005729/0.1969, allocations: 31.69 kB / 0.6856 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.1976, allocations: 274.2 kB / 0.6858 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.1992, allocations: 0.5553 MB / 0.6864 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.2014, allocations: 0.7625 MB / 0.6871 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.2027, allocations: 0.9298 MB / 0.688 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.2029, allocations: 110 kB / 0.6881 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03009/0.233, allocations: 12.53 MB / 0.7004 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000667/0.2337, allocations: 406.4 kB / 0.7008 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.2338, allocations: 52 kB / 0.7008 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4317/0.6655, allocations: 52.57 MB / 0.7521 GB, free: 63.94 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.6658, allocations: 149.6 kB / 0.7523 GB, free: 63.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004998/0.6663, allocations: 325.5 kB / 0.7526 GB, free: 63.94 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.669, allocations: 1.121 MB / 0.7537 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.669, allocations: 1.125 kB / 0.7537 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.669, allocations: 0 / 0.7537 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.669, allocations: 1.531 kB / 0.7537 GB, free: 63.89 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.002029/0.671, allocations: 1.017 MB / 0.7547 GB, free: 63.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.671, allocations: 13.59 kB / 0.7547 GB, free: 63.35 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.421e-05/0.6711, allocations: 86.88 kB / 0.7548 GB, free: 63.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.6713, allocations: 74.38 kB / 0.7549 GB, free: 63.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007517/0.672, allocations: 443.9 kB / 0.7553 GB, free: 63.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.6721, allocations: 153.3 kB / 0.7554 GB, free: 62.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.637e-05/0.6722, allocations: 45.25 kB / 0.7555 GB, free: 62.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.6733, allocations: 0.6597 MB / 0.7561 GB, free: 62.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.6733, allocations: 0.9062 kB / 0.7561 GB, free: 62.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.6734, allocations: 17.88 kB / 0.7561 GB, free: 62.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.6734, allocations: 22.34 kB / 0.7561 GB, free: 62.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6746, allocations: 0.6772 MB / 0.7568 GB, free: 62.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.6781, allocations: 2.408 MB / 0.7592 GB, free: 61.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.6796, allocations: 0.6575 MB / 0.7598 GB, free: 61.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.6801, allocations: 337.5 kB / 0.7601 GB, free: 61.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.6817, allocations: 318.5 kB / 0.7604 GB, free: 61.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.6817, allocations: 42.64 kB / 0.7605 GB, free: 61.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.184e-06/0.6817, allocations: 0 / 0.7605 GB, free: 61.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.003936/0.6856, allocations: 1.994 MB / 0.7624 GB, free: 61.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.6857, allocations: 59.45 kB / 0.7625 GB, free: 61.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.6863, allocations: 425.1 kB / 0.7629 GB, free: 61.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.6863, allocations: 35.95 kB / 0.7629 GB, free: 61.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.6865, allocations: 243.9 kB / 0.7631 GB, free: 61.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.6866, allocations: 239.8 kB / 0.7634 GB, free: 61.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.6868, allocations: 109.8 kB / 0.7635 GB, free: 61.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6869, allocations: 371 kB / 0.7638 GB, free: 60.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.6875, allocations: 263.8 kB / 0.7641 GB, free: 60.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/0.6881, allocations: 335.4 kB / 0.7644 GB, free: 60.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.6894, allocations: 0.6267 MB / 0.765 GB, free: 60.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6894, allocations: 1.062 kB / 0.765 GB, free: 60.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001575/0.6909, allocations: 0.848 MB / 0.7658 GB, free: 60.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.691, allocations: 9.969 kB / 0.7659 GB, free: 60.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.691, allocations: 7.156 kB / 0.7659 GB, free: 60.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/0.6914, allocations: 129.5 kB / 0.766 GB, free: 60.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.6919, allocations: 109.5 kB / 0.7661 GB, free: 60.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.6941, allocations: 2.371 MB / 0.7684 GB, free: 59.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.6945, allocations: 24.91 kB / 0.7684 GB, free: 59.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-05/0.6946, allocations: 27.73 kB / 0.7685 GB, free: 59.15 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.0002836/0.6949, allocations: 189.9 kB / 0.7686 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.695, allocations: 64.17 kB / 0.7687 GB, free: 59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.6968, allocations: 1.055 MB / 0.7697 GB, free: 58.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.6968, allocations: 6.812 kB / 0.7697 GB, free: 58.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6968, allocations: 3.219 kB / 0.7697 GB, free: 58.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.6968, allocations: 5.625 kB / 0.7697 GB, free: 58.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.6993, allocations: 1.632 MB / 0.7713 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.6993, allocations: 4.953 kB / 0.7713 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.6998, allocations: 95.56 kB / 0.7714 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.7002, allocations: 145.7 kB / 0.7716 GB, free: 58.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.7002, allocations: 21.28 kB / 0.7716 GB, free: 58.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.7024, allocations: 2.369 MB / 0.7739 GB, free: 57.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7024, allocations: 1.125 kB / 0.7739 GB, free: 57.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.7043, allocations: 1.3 MB / 0.7752 GB, free: 56.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.7045, allocations: 124.5 kB / 0.7753 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.7046, allocations: 13.47 kB / 0.7753 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.705, allocations: 25.17 kB / 0.7753 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.705, allocations: 46.91 kB / 0.7754 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.7051, allocations: 28.53 kB / 0.7754 GB, free: 56.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000322/0.7054, allocations: 334.9 kB / 0.7757 GB, free: 56.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7054, allocations: 0 / 0.7757 GB, free: 56.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00101/0.7064, allocations: 287.8 kB / 0.776 GB, free: 56.82 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.00257/0.709, allocations: 2.152 MB / 0.7781 GB, free: 56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.7105, allocations: 0.8689 MB / 0.7789 GB, free: 55.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7105, allocations: 3.781 kB / 0.779 GB, free: 55.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.7113, allocations: 0.5813 MB / 0.7795 GB, free: 55.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009666/0.7123, allocations: 207.3 kB / 0.7797 GB, free: 55.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007748/0.72, allocations: 5.963 MB / 0.7855 GB, free: 53.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.7203, allocations: 0.899 MB / 0.7864 GB, free: 52.94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004483/0.7208, allocations: 141.9 kB / 0.7866 GB, free: 52.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.7211, allocations: 231.5 kB / 0.7868 GB, free: 52.89 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.7211, allocations: 0 / 0.7868 GB, free: 52.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0553/0.7764, allocations: 21.19 MB / 0.8075 GB, free: 39.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.33, allocations: 17.25 kB / 0.8075 GB, free: 39.45 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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_ThermofluidStream.Processes.Tests.Compressor_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.19477927999833]