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.001042/0.001042, 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.0008264/0.0008264, 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.9336/0.9336, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.6682/0.6682, allocations: 116 MB / 375.2 MB, free: 4.207 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.104e-05, allocations: 2.281 kB / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.03378/0.0338, allocations: 44.37 MB / 0.5966 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00755/0.04135, allocations: 10.08 MB / 0.6064 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003705/0.04172, allocations: 35.62 kB / 0.6065 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.04232, allocations: 258 kB / 0.6067 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.04346, allocations: 0.6052 MB / 0.6073 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.04497, allocations: 0.7697 MB / 0.608 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009263/0.04589, allocations: 1.038 MB / 0.6091 GB, free: 4 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.0461, allocations: 102 kB / 0.6092 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01842/0.06451, allocations: 12.74 MB / 0.6216 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.06492, allocations: 359 kB / 0.6219 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.06499, allocations: 52 kB / 0.622 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.325/0.39, allocations: 52.66 MB / 0.6734 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.3903, allocations: 164.8 kB / 0.6736 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.3907, allocations: 230.6 kB / 0.6738 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.3932, allocations: 1.194 MB / 0.675 GB, free: 34.37 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3932, allocations: 0 / 0.675 GB, free: 34.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3932, allocations: 1.188 kB / 0.675 GB, free: 34.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.48e-05/0.3932, allocations: 3.375 kB / 0.675 GB, free: 34.37 MB / 0.5573 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.002105/0.3953, allocations: 1.021 MB / 0.676 GB, free: 33.85 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.3954, allocations: 9.625 kB / 0.676 GB, free: 33.85 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.417e-05/0.3955, allocations: 88.61 kB / 0.676 GB, free: 33.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.3957, allocations: 88.47 kB / 0.6761 GB, free: 33.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.3963, allocations: 469 kB / 0.6766 GB, free: 33.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/0.3964, allocations: 147 kB / 0.6767 GB, free: 33.44 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.3965, allocations: 45.59 kB / 0.6768 GB, free: 33.44 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/0.3973, allocations: 0.7076 MB / 0.6775 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3973, allocations: 5.125 kB / 0.6775 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.3973, allocations: 14.25 kB / 0.6775 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.3974, allocations: 29.52 kB / 0.6775 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.3981, allocations: 0.6689 MB / 0.6782 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.4004, allocations: 1.965 MB / 0.6801 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/0.4013, allocations: 0.6008 MB / 0.6807 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.4017, allocations: 304.7 kB / 0.6809 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008304/0.4025, allocations: 332.5 kB / 0.6813 GB, free: 32.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.4025, allocations: 38.12 kB / 0.6813 GB, free: 32.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=63): time 3.787e-06/0.4025, allocations: 4 kB / 0.6813 GB, free: 32.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65): time 0.002597/0.4051, allocations: 1.853 MB / 0.6831 GB, free: 32.31 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.4052, allocations: 56.94 kB / 0.6832 GB, free: 32.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.4055, allocations: 444.3 kB / 0.6836 GB, free: 32.13 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.4055, allocations: 41.28 kB / 0.6836 GB, free: 32.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4056, allocations: 249.1 kB / 0.6839 GB, free: 31.99 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.172e-05/0.4057, allocations: 222.8 kB / 0.6841 GB, free: 31.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4058, allocations: 118.5 kB / 0.6842 GB, free: 31.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.4058, allocations: 368.1 kB / 0.6845 GB, free: 31.51 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.4061, allocations: 232.5 kB / 0.6848 GB, free: 31.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.4064, allocations: 305.1 kB / 0.6851 GB, free: 31.45 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.407, allocations: 0.5631 MB / 0.6856 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.407, allocations: 0 / 0.6856 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009452/0.4079, allocations: 0.8058 MB / 0.6864 GB, free: 30.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.408, allocations: 5.844 kB / 0.6864 GB, free: 30.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.408, allocations: 7.375 kB / 0.6864 GB, free: 30.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/0.4083, allocations: 129.9 kB / 0.6865 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.4085, allocations: 116.5 kB / 0.6866 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.4101, allocations: 2.343 MB / 0.6889 GB, free: 29.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.4103, allocations: 22.34 kB / 0.689 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.4103, allocations: 28.05 kB / 0.689 GB, free: 29.03 MB / 0.5573 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.0001996/0.4105, allocations: 200.2 kB / 0.6892 GB, free: 28.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4107, allocations: 77.22 kB / 0.6892 GB, free: 28.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.4118, allocations: 1.005 MB / 0.6902 GB, free: 28.39 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4118, allocations: 8.375 kB / 0.6902 GB, free: 28.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4118, allocations: 0.875 kB / 0.6902 GB, free: 28.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4118, allocations: 2.297 kB / 0.6902 GB, free: 28.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.4133, allocations: 1.472 MB / 0.6917 GB, free: 27.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.4133, allocations: 12.22 kB / 0.6917 GB, free: 27.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.4136, allocations: 98.41 kB / 0.6918 GB, free: 27.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/0.4138, allocations: 129.1 kB / 0.6919 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.4139, allocations: 32 kB / 0.6919 GB, free: 27.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.4152, allocations: 2.341 MB / 0.6942 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4153, allocations: 3.938 kB / 0.6942 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.4166, allocations: 1.211 MB / 0.6954 GB, free: 25.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.4168, allocations: 120.9 kB / 0.6955 GB, free: 25.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.4168, allocations: 11.28 kB / 0.6955 GB, free: 25.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.417, allocations: 21.98 kB / 0.6956 GB, free: 25.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.4171, allocations: 52.95 kB / 0.6956 GB, free: 25.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.4171, allocations: 22.05 kB / 0.6956 GB, free: 25.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002238/0.4173, allocations: 343.6 kB / 0.696 GB, free: 24.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4173, allocations: 0 / 0.696 GB, free: 24.85 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007499/0.4181, allocations: 299.3 kB / 0.6962 GB, free: 24.77 MB / 0.5573 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.001785/0.4198, allocations: 2.072 MB / 0.6983 GB, free: 23.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.4209, allocations: 0.8118 MB / 0.6991 GB, free: 22.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4209, allocations: 320 / 0.6991 GB, free: 22.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004847/0.4214, allocations: 0.5484 MB / 0.6996 GB, free: 22.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.4221, allocations: 283.9 kB / 0.6999 GB, free: 22.44 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.4273, allocations: 5.735 MB / 0.7055 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.4275, allocations: 309.6 kB / 0.7058 GB, free: 18.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003796/0.4279, allocations: 146.9 kB / 0.7059 GB, free: 18.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.4281, allocations: 246 kB / 0.7061 GB, free: 18.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.723e-06/0.4281, allocations: 0 / 0.7061 GB, free: 18.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.4678, allocations: 24.09 MB / 0.7297 GB, free: 11.15 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.22, allocations: 6.906 kB / 0.7297 GB, free: 11.15 MB / 0.573 GB " [Timeout remaining time 652] (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/jenkins/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: 11.044243128970265]