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.001479/0.001479, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.00147/0.00147, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.583/1.583, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.8879/0.8879, allocations: 94.56 MB / 403.4 MB, free: 10.12 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.002626/0.002626, allocations: 83.11 kB / 0.5499 GB, free: 39.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1779, allocations: 73.02 MB / 0.6212 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06573/0.2436, allocations: 47.68 MB / 0.6678 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.2605, allocations: 12.52 MB / 0.68 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008274/0.2613, allocations: 31.69 kB / 0.68 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009833/0.2623, allocations: 282.1 kB / 0.6803 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.2641, allocations: 0.5553 MB / 0.6808 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.2668, allocations: 0.7419 MB / 0.6815 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.2685, allocations: 0.9337 MB / 0.6825 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.2688, allocations: 109.5 kB / 0.6826 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03472/0.3036, allocations: 12.61 MB / 0.6949 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/0.3043, allocations: 406.3 kB / 0.6953 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.3044, allocations: 52 kB / 0.6953 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5401/0.8445, allocations: 53.15 MB / 0.7472 GB, free: 66.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.8449, allocations: 151.2 kB / 0.7474 GB, free: 66.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006445/0.8455, allocations: 323 kB / 0.7477 GB, free: 66.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003292/0.8488, allocations: 1.122 MB / 0.7488 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.8488, allocations: 0.5312 kB / 0.7488 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8488, allocations: 1.219 kB / 0.7488 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.895e-05/0.8489, allocations: 1.031 kB / 0.7488 GB, free: 66.71 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.003295/0.8521, allocations: 1.096 MB / 0.7498 GB, free: 66.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.8522, allocations: 9.344 kB / 0.7499 GB, free: 66.08 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.8523, allocations: 84.47 kB / 0.7499 GB, free: 66.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.8526, allocations: 75.34 kB / 0.75 GB, free: 66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.8536, allocations: 0.5042 MB / 0.7505 GB, free: 65.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.8537, allocations: 97.08 kB / 0.7506 GB, free: 65.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.8539, allocations: 48.05 kB / 0.7506 GB, free: 65.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.8552, allocations: 0.6491 MB / 0.7513 GB, free: 65.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.8552, allocations: 1.969 kB / 0.7513 GB, free: 65.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/0.8552, allocations: 23.28 kB / 0.7513 GB, free: 65.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/0.8553, allocations: 23.41 kB / 0.7513 GB, free: 65.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.8565, allocations: 0.658 MB / 0.752 GB, free: 65.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/0.8613, allocations: 2.461 MB / 0.7544 GB, free: 64.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.8629, allocations: 0.6505 MB / 0.755 GB, free: 64.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/0.8635, allocations: 337.4 kB / 0.7553 GB, free: 64.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002112/0.8657, allocations: 2.634 MB / 0.7579 GB, free: 61.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.8657, allocations: 37.75 kB / 0.7579 GB, free: 61.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 4.168e-06/0.8657, allocations: 0 / 0.7579 GB, free: 61.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004626/0.8703, allocations: 2.194 MB / 0.7601 GB, free: 61.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.8703, allocations: 58.31 kB / 0.7601 GB, free: 60.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/0.8709, allocations: 426 kB / 0.7605 GB, free: 60.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.871, allocations: 40.02 kB / 0.7606 GB, free: 60.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.8711, allocations: 246.7 kB / 0.7608 GB, free: 60.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.8713, allocations: 232.3 kB / 0.761 GB, free: 60.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.8716, allocations: 112 kB / 0.7611 GB, free: 60.53 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8717, allocations: 370 kB / 0.7615 GB, free: 60.22 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/0.8723, allocations: 257.9 kB / 0.7617 GB, free: 60.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/0.8729, allocations: 336.8 kB / 0.7621 GB, free: 60.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.8743, allocations: 0.6151 MB / 0.7627 GB, free: 60.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8743, allocations: 0.5312 kB / 0.7627 GB, free: 60.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002221/0.8765, allocations: 0.8513 MB / 0.7635 GB, free: 60.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.8765, allocations: 5.812 kB / 0.7635 GB, free: 60.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.8766, allocations: 7.719 kB / 0.7635 GB, free: 60.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.8771, allocations: 130.1 kB / 0.7636 GB, free: 60 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.8777, allocations: 115.5 kB / 0.7637 GB, free: 60 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.8805, allocations: 2.482 MB / 0.7662 GB, free: 58.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.881, allocations: 18.47 kB / 0.7662 GB, free: 58.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.881, allocations: 29.59 kB / 0.7662 GB, free: 58.5 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.0002952/0.8813, allocations: 188 kB / 0.7664 GB, free: 58.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.8815, allocations: 60.91 kB / 0.7664 GB, free: 58.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.8836, allocations: 1.05 MB / 0.7675 GB, free: 58.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.8836, allocations: 6.594 kB / 0.7675 GB, free: 58.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8836, allocations: 1.656 kB / 0.7675 GB, free: 58.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.8837, allocations: 5.406 kB / 0.7675 GB, free: 58.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.8862, allocations: 1.661 MB / 0.7691 GB, free: 57.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.8862, allocations: 2.125 kB / 0.7691 GB, free: 57.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.8867, allocations: 97.02 kB / 0.7692 GB, free: 57.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003955/0.8871, allocations: 137.8 kB / 0.7693 GB, free: 57.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.8872, allocations: 21.38 kB / 0.7693 GB, free: 57.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.8893, allocations: 2.482 MB / 0.7718 GB, free: 56.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8893, allocations: 0 / 0.7718 GB, free: 56.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.8914, allocations: 1.285 MB / 0.773 GB, free: 56.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.8917, allocations: 198.1 kB / 0.7732 GB, free: 56.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.8917, allocations: 20.83 kB / 0.7732 GB, free: 56.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.8921, allocations: 26.66 kB / 0.7733 GB, free: 56.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.8922, allocations: 45.31 kB / 0.7733 GB, free: 56.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.8923, allocations: 23.27 kB / 0.7733 GB, free: 56.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003272/0.8926, allocations: 335.2 kB / 0.7736 GB, free: 55.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8926, allocations: 0 / 0.7736 GB, free: 55.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000941/0.8935, allocations: 288.4 kB / 0.7739 GB, free: 55.91 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.002746/0.8963, allocations: 2.131 MB / 0.776 GB, free: 55.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.8978, allocations: 0.8732 MB / 0.7769 GB, free: 54.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8978, allocations: 0 / 0.7769 GB, free: 54.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.8987, allocations: 0.5778 MB / 0.7774 GB, free: 54.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.8998, allocations: 206 kB / 0.7776 GB, free: 54.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007868/0.9077, allocations: 5.95 MB / 0.7834 GB, free: 52.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.908, allocations: 0.8982 MB / 0.7843 GB, free: 52.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004911/0.9085, allocations: 141.5 kB / 0.7844 GB, free: 52.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.9089, allocations: 230 kB / 0.7847 GB, free: 52.03 MB / 0.5762 GB Notification: Performance of SimCode: time 2.354e-06/0.9089, allocations: 0 / 0.7847 GB, free: 52.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/0.974, allocations: 20.75 MB / 0.8049 GB, free: 38.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.17, allocations: 14.8 kB / 0.8049 GB, free: 38.54 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.249860133000766]