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.001626/0.001626, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001866/0.001866, allocations: 216.6 kB / 22.25 MB, free: 4.852 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.773 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.8367/0.8367, allocations: 94.62 MB / 407.1 MB, free: 8.859 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.002568/0.002568, allocations: 81.58 kB / 0.5549 GB, free: 38.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1544, allocations: 73.06 MB / 0.6263 GB, free: 180 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05725/0.2117, allocations: 42.91 MB / 0.6682 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.2271, allocations: 11.38 MB / 0.6793 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008206/0.2279, allocations: 31.75 kB / 0.6793 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009166/0.2288, allocations: 242.3 kB / 0.6796 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.2307, allocations: 0.5436 MB / 0.6801 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.2332, allocations: 0.7431 MB / 0.6808 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.2347, allocations: 0.9299 MB / 0.6817 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.2349, allocations: 102 kB / 0.6818 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03084/0.2658, allocations: 12.5 MB / 0.694 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006813/0.2665, allocations: 386.3 kB / 0.6944 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.2666, allocations: 52 kB / 0.6944 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1148/0.3814, allocations: 52.45 MB / 0.7457 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.3818, allocations: 143.5 kB / 0.7458 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.3824, allocations: 274.6 kB / 0.7461 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.3852, allocations: 1.106 MB / 0.7472 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3852, allocations: 0 / 0.7472 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3852, allocations: 3.938 kB / 0.7472 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.3853, allocations: 3.938 kB / 0.7472 GB, free: 3.539 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.002514/0.3878, allocations: 1.01 MB / 0.7481 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.3878, allocations: 12.03 kB / 0.7482 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.3879, allocations: 90.7 kB / 0.7482 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.3882, allocations: 88.45 kB / 0.7483 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.3891, allocations: 450.5 kB / 0.7488 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.3892, allocations: 135.8 kB / 0.7489 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.3893, allocations: 55.94 kB / 0.7489 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.3905, allocations: 0.71 MB / 0.7496 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.3906, allocations: 3.938 kB / 0.7496 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.3906, allocations: 16 kB / 0.7497 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.3907, allocations: 25 kB / 0.7497 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.3919, allocations: 0.6792 MB / 0.7503 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3925/0.7844, allocations: 1.972 MB / 0.7523 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.7862, allocations: 0.6556 MB / 0.7529 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.7868, allocations: 335.6 kB / 0.7532 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.7884, allocations: 323.9 kB / 0.7535 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.7885, allocations: 38.12 kB / 0.7536 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 3.276e-06/0.7885, allocations: 4.438 kB / 0.7536 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004497/0.793, allocations: 1.996 MB / 0.7555 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.793, allocations: 58.72 kB / 0.7556 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.7935, allocations: 428.8 kB / 0.756 GB, free: 125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.7936, allocations: 36.52 kB / 0.756 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.7937, allocations: 240.8 kB / 0.7563 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.7939, allocations: 233.8 kB / 0.7565 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.794, allocations: 113.2 kB / 0.7566 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.7941, allocations: 368.1 kB / 0.7569 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.7946, allocations: 266.3 kB / 0.7572 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.7952, allocations: 333.9 kB / 0.7575 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.7962, allocations: 0.6282 MB / 0.7581 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7962, allocations: 0 / 0.7581 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001658/0.7979, allocations: 0.8676 MB / 0.759 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.7979, allocations: 7.375 kB / 0.759 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.7979, allocations: 6.578 kB / 0.759 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/0.7984, allocations: 131.2 kB / 0.7591 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.7989, allocations: 111.8 kB / 0.7592 GB, free: 123.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.8016, allocations: 2.339 MB / 0.7615 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.8021, allocations: 22.52 kB / 0.7615 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.8022, allocations: 24.23 kB / 0.7615 GB, free: 121.4 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.0003822/0.8026, allocations: 187.7 kB / 0.7617 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.8029, allocations: 76.39 kB / 0.7618 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.8054, allocations: 1.06 MB / 0.7628 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.8054, allocations: 6.156 kB / 0.7628 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.8054, allocations: 6.188 kB / 0.7628 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.8054, allocations: 4.078 kB / 0.7628 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.8092, allocations: 1.552 MB / 0.7644 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.8092, allocations: 3.516 kB / 0.7644 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.8097, allocations: 98.45 kB / 0.7645 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.8102, allocations: 137.1 kB / 0.7646 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.8102, allocations: 22.75 kB / 0.7646 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.8126, allocations: 2.342 MB / 0.7669 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8126, allocations: 5.312 kB / 0.7669 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.8152, allocations: 1.315 MB / 0.7682 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.8155, allocations: 118.3 kB / 0.7683 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/0.8156, allocations: 16.25 kB / 0.7683 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.816, allocations: 19 kB / 0.7683 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.8161, allocations: 54.64 kB / 0.7684 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.8162, allocations: 21.97 kB / 0.7684 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004054/0.8166, allocations: 335.8 kB / 0.7687 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8166, allocations: 3.719 kB / 0.7687 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001058/0.8177, allocations: 291.2 kB / 0.769 GB, free: 117.2 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.002739/0.8204, allocations: 2.161 MB / 0.7711 GB, free: 116 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.822, allocations: 0.8748 MB / 0.772 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.822, allocations: 1.656 kB / 0.772 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.8228, allocations: 0.5804 MB / 0.7725 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.8239, allocations: 205.4 kB / 0.7727 GB, free: 115 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007309/0.8312, allocations: 5.973 MB / 0.7786 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.8314, allocations: 305 kB / 0.7789 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004319/0.8318, allocations: 140.4 kB / 0.779 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.8321, allocations: 231.3 kB / 0.7792 GB, free: 109 MB / 0.5762 GB Notification: Performance of SimCode: time 1.603e-06/0.8321, allocations: 0 / 0.7792 GB, free: 109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05459/0.8867, allocations: 22.15 MB / 0.8008 GB, free: 87.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.19, allocations: 3.984 kB / 0.8009 GB, free: 87.15 MB / 0.5762 GB " [Timeout remaining time 645] (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: 19.096133989747614]