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.00184/0.00184, 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.00221/0.00221, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.973 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.7742/0.7742, allocations: 100.3 MB / 412.7 MB, free: 3.629 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.002426/0.002426, allocations: 90.55 kB / 0.5633 GB, free: 36.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1384, allocations: 74.46 MB / 0.636 GB, free: 7.652 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05714/0.1955, allocations: 48.03 MB / 0.6829 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.2101, allocations: 12.63 MB / 0.6952 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006441/0.2108, allocations: 31.69 kB / 0.6952 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.2116, allocations: 278.2 kB / 0.6955 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.2132, allocations: 0.5592 MB / 0.696 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.2153, allocations: 0.7645 MB / 0.6968 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.2164, allocations: 0.9298 MB / 0.6977 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.2166, allocations: 97.98 kB / 0.6978 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02952/0.2461, allocations: 12.52 MB / 0.71 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.2467, allocations: 418.3 kB / 0.7104 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.904e-05/0.2468, allocations: 52 kB / 0.7105 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4791/0.726, allocations: 52.57 MB / 0.7618 GB, free: 52.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.7264, allocations: 153.9 kB / 0.762 GB, free: 52.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.7269, allocations: 316.5 kB / 0.7623 GB, free: 52.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.7298, allocations: 1.135 MB / 0.7634 GB, free: 52.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7298, allocations: 0 / 0.7634 GB, free: 52.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7298, allocations: 0 / 0.7634 GB, free: 52.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.7298, allocations: 1.312 kB / 0.7634 GB, free: 52.53 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.002276/0.7321, allocations: 1.015 MB / 0.7644 GB, free: 51.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.7322, allocations: 9.625 kB / 0.7644 GB, free: 51.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.796e-05/0.7323, allocations: 85.81 kB / 0.7644 GB, free: 51.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.7324, allocations: 70.89 kB / 0.7645 GB, free: 51.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008861/0.7333, allocations: 448.1 kB / 0.7649 GB, free: 51.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.7335, allocations: 149.9 kB / 0.7651 GB, free: 51.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.725e-05/0.7335, allocations: 47.48 kB / 0.7651 GB, free: 51.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.7349, allocations: 0.6566 MB / 0.7658 GB, free: 51.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.7349, allocations: 0.5 kB / 0.7658 GB, free: 51.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.7349, allocations: 20.42 kB / 0.7658 GB, free: 51.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/0.735, allocations: 23.75 kB / 0.7658 GB, free: 51.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.7367, allocations: 0.6799 MB / 0.7665 GB, free: 51.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004722/0.7414, allocations: 2.398 MB / 0.7688 GB, free: 50.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.7431, allocations: 0.6552 MB / 0.7695 GB, free: 50.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007618/0.7439, allocations: 340.7 kB / 0.7698 GB, free: 50.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002068/0.7459, allocations: 320.4 kB / 0.7701 GB, free: 50.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.746, allocations: 43.75 kB / 0.7701 GB, free: 50.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 4.208e-06/0.746, allocations: 0 / 0.7701 GB, free: 50.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004163/0.7501, allocations: 1.99 MB / 0.7721 GB, free: 50.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.7502, allocations: 58.53 kB / 0.7721 GB, free: 50.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.7506, allocations: 429.1 kB / 0.7725 GB, free: 49.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.7507, allocations: 34.73 kB / 0.7726 GB, free: 49.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.7508, allocations: 238 kB / 0.7728 GB, free: 49.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.7509, allocations: 237 kB / 0.773 GB, free: 49.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.7511, allocations: 107.9 kB / 0.7731 GB, free: 49.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.7512, allocations: 369.7 kB / 0.7735 GB, free: 49.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.7516, allocations: 265.2 kB / 0.7737 GB, free: 49.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.7521, allocations: 337.1 kB / 0.7741 GB, free: 49.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.7532, allocations: 0.6229 MB / 0.7747 GB, free: 49.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7532, allocations: 2.844 kB / 0.7747 GB, free: 49.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001381/0.7545, allocations: 0.8668 MB / 0.7755 GB, free: 49.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.7546, allocations: 5.562 kB / 0.7755 GB, free: 49.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.7546, allocations: 2.906 kB / 0.7755 GB, free: 49.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003797/0.755, allocations: 128.6 kB / 0.7756 GB, free: 49.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.7554, allocations: 113.8 kB / 0.7758 GB, free: 49.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.7577, allocations: 2.367 MB / 0.7781 GB, free: 47.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.7581, allocations: 26.27 kB / 0.7781 GB, free: 47.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.7581, allocations: 27.39 kB / 0.7781 GB, free: 47.72 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.0002664/0.7584, allocations: 191 kB / 0.7783 GB, free: 47.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.7585, allocations: 63.34 kB / 0.7784 GB, free: 47.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.7603, allocations: 1.065 MB / 0.7794 GB, free: 47.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.7603, allocations: 7.031 kB / 0.7794 GB, free: 47.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7603, allocations: 2.75 kB / 0.7794 GB, free: 47.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.7603, allocations: 2.719 kB / 0.7794 GB, free: 47.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.7627, allocations: 1.631 MB / 0.781 GB, free: 47.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7627, allocations: 2.75 kB / 0.781 GB, free: 47.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.7631, allocations: 99.72 kB / 0.7811 GB, free: 47.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003312/0.7635, allocations: 140.4 kB / 0.7812 GB, free: 47.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.7635, allocations: 25.73 kB / 0.7813 GB, free: 47.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.7655, allocations: 2.372 MB / 0.7836 GB, free: 45.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7655, allocations: 0 / 0.7836 GB, free: 45.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.7673, allocations: 1.305 MB / 0.7849 GB, free: 45.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.7676, allocations: 124.5 kB / 0.785 GB, free: 45.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/0.7676, allocations: 10.69 kB / 0.785 GB, free: 45.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.768, allocations: 19.73 kB / 0.785 GB, free: 45.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.768, allocations: 49.42 kB / 0.785 GB, free: 45.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.7681, allocations: 22.73 kB / 0.7851 GB, free: 45.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003241/0.7684, allocations: 328.6 kB / 0.7854 GB, free: 45.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7684, allocations: 0 / 0.7854 GB, free: 45.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009753/0.7694, allocations: 301.8 kB / 0.7857 GB, free: 45.34 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.002562/0.7719, allocations: 2.152 MB / 0.7878 GB, free: 44.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.7735, allocations: 0.8837 MB / 0.7886 GB, free: 44.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7735, allocations: 0 / 0.7886 GB, free: 44.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008309/0.7743, allocations: 0.5794 MB / 0.7892 GB, free: 44.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.7752, allocations: 201.6 kB / 0.7894 GB, free: 44.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007578/0.7828, allocations: 5.966 MB / 0.7952 GB, free: 41.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.7832, allocations: 0.9009 MB / 0.7961 GB, free: 41.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004184/0.7836, allocations: 137.1 kB / 0.7962 GB, free: 41.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.7839, allocations: 225.5 kB / 0.7964 GB, free: 40.91 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.7839, allocations: 3.094 kB / 0.7964 GB, free: 40.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05149/0.8353, allocations: 21.21 MB / 0.8172 GB, free: 24.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.62, allocations: 0 / 0.8172 GB, free: 24.16 MB / 0.5762 GB " [Timeout remaining time 645] (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: 18.332381321000867]