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.001884/0.001884, allocations: 108.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.002411/0.002411, 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.7883/0.7883, allocations: 100.3 MB / 409.1 MB, free: 4.766 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.002464/0.002464, allocations: 86.59 kB / 0.5582 GB, free: 36.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.137, allocations: 74.44 MB / 0.6309 GB, free: 9.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05748/0.1945, allocations: 47.67 MB / 0.6774 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.2097, allocations: 12.52 MB / 0.6897 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.2104, allocations: 31.69 kB / 0.6897 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009414/0.2114, allocations: 274.2 kB / 0.6899 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.2129, allocations: 0.567 MB / 0.6905 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.215, allocations: 0.7353 MB / 0.6912 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.2162, allocations: 0.9298 MB / 0.6921 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.2164, allocations: 113.5 kB / 0.6922 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02905/0.2455, allocations: 12.6 MB / 0.7045 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005907/0.2461, allocations: 410.3 kB / 0.7049 GB, free: 13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.515e-05/0.2462, allocations: 52 kB / 0.705 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4061/0.6523, allocations: 53.15 MB / 0.7569 GB, free: 55.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.6525, allocations: 150.1 kB / 0.757 GB, free: 55.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.6529, allocations: 325.3 kB / 0.7573 GB, free: 55.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.6551, allocations: 1.123 MB / 0.7584 GB, free: 54.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6551, allocations: 4.781 kB / 0.7584 GB, free: 54.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6551, allocations: 0 / 0.7584 GB, free: 54.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.6551, allocations: 0 / 0.7584 GB, free: 54.98 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.001967/0.6571, allocations: 1.088 MB / 0.7595 GB, free: 54.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6571, allocations: 9.172 kB / 0.7595 GB, free: 54.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.6572, allocations: 89.16 kB / 0.7596 GB, free: 54.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.6574, allocations: 75.09 kB / 0.7597 GB, free: 54.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/0.6581, allocations: 0.5102 MB / 0.7602 GB, free: 53.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/0.6582, allocations: 95.88 kB / 0.7603 GB, free: 53.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.6583, allocations: 47.25 kB / 0.7603 GB, free: 53.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/0.6592, allocations: 0.6519 MB / 0.7609 GB, free: 53.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6593, allocations: 0 / 0.7609 GB, free: 53.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.6593, allocations: 17.59 kB / 0.761 GB, free: 53.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.6593, allocations: 19.75 kB / 0.761 GB, free: 53.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.6606, allocations: 0.6681 MB / 0.7616 GB, free: 53.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.6643, allocations: 2.453 MB / 0.764 GB, free: 52.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.6659, allocations: 0.6546 MB / 0.7647 GB, free: 52.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.6664, allocations: 332.5 kB / 0.765 GB, free: 52.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/0.6683, allocations: 2.633 MB / 0.7676 GB, free: 49.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.6683, allocations: 42.94 kB / 0.7676 GB, free: 49.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.234e-06/0.6683, allocations: 4 kB / 0.7676 GB, free: 49.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004707/0.673, allocations: 2.189 MB / 0.7697 GB, free: 49.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.6731, allocations: 57.47 kB / 0.7698 GB, free: 49.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.6735, allocations: 434 kB / 0.7702 GB, free: 49.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.6735, allocations: 37.83 kB / 0.7702 GB, free: 49.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.6737, allocations: 245.1 kB / 0.7705 GB, free: 48.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.6738, allocations: 235 kB / 0.7707 GB, free: 48.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.6739, allocations: 111.5 kB / 0.7708 GB, free: 48.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6741, allocations: 369.1 kB / 0.7712 GB, free: 48.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.6746, allocations: 257.4 kB / 0.7714 GB, free: 48.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.6751, allocations: 335.2 kB / 0.7717 GB, free: 48.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.6762, allocations: 0.6196 MB / 0.7723 GB, free: 48.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6762, allocations: 0 / 0.7723 GB, free: 48.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00162/0.6779, allocations: 0.8484 MB / 0.7732 GB, free: 48.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6779, allocations: 7.5 kB / 0.7732 GB, free: 48.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.6779, allocations: 7.906 kB / 0.7732 GB, free: 48.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.6783, allocations: 141.3 kB / 0.7733 GB, free: 48.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.6788, allocations: 104.7 kB / 0.7734 GB, free: 48.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.681, allocations: 2.479 MB / 0.7758 GB, free: 46.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.6815, allocations: 17.98 kB / 0.7758 GB, free: 46.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.6815, allocations: 37.64 kB / 0.7759 GB, free: 46.67 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.0002781/0.6818, allocations: 189.3 kB / 0.7761 GB, free: 46.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.6819, allocations: 70.64 kB / 0.7761 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.6838, allocations: 1.041 MB / 0.7771 GB, free: 46.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.6838, allocations: 6.375 kB / 0.7771 GB, free: 46.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6838, allocations: 2.062 kB / 0.7772 GB, free: 46.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6838, allocations: 2.766 kB / 0.7772 GB, free: 46.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.6863, allocations: 1.661 MB / 0.7788 GB, free: 46.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.6864, allocations: 2.969 kB / 0.7788 GB, free: 46.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.6868, allocations: 99.06 kB / 0.7789 GB, free: 46.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003567/0.6872, allocations: 140.2 kB / 0.779 GB, free: 46.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.6872, allocations: 18.08 kB / 0.779 GB, free: 46.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.6893, allocations: 2.473 MB / 0.7814 GB, free: 44.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.6893, allocations: 4.859 kB / 0.7814 GB, free: 44.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.6912, allocations: 1.294 MB / 0.7827 GB, free: 44.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.6914, allocations: 195.6 kB / 0.7829 GB, free: 44.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.6915, allocations: 11.88 kB / 0.7829 GB, free: 44.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.6919, allocations: 26.08 kB / 0.7829 GB, free: 44.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.692, allocations: 40.64 kB / 0.783 GB, free: 44.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.692, allocations: 25.58 kB / 0.783 GB, free: 44.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003012/0.6923, allocations: 340.2 kB / 0.7833 GB, free: 44.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6923, allocations: 0 / 0.7833 GB, free: 44.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009231/0.6932, allocations: 294.1 kB / 0.7836 GB, free: 44.04 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.002618/0.6959, allocations: 2.134 MB / 0.7857 GB, free: 43.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.6974, allocations: 0.8705 MB / 0.7865 GB, free: 43.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6974, allocations: 2.5 kB / 0.7865 GB, free: 43.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007956/0.6982, allocations: 0.5805 MB / 0.7871 GB, free: 42.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.6992, allocations: 198.2 kB / 0.7873 GB, free: 42.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.7067, allocations: 5.958 MB / 0.7931 GB, free: 40.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.707, allocations: 0.9023 MB / 0.794 GB, free: 39.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000382/0.7074, allocations: 133.7 kB / 0.7941 GB, free: 39.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.7077, allocations: 232.4 kB / 0.7943 GB, free: 39.38 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.7077, allocations: 0 / 0.7943 GB, free: 39.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/0.7555, allocations: 20.76 MB / 0.8146 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.59, allocations: 9.859 kB / 0.8146 GB, free: 22.98 MB / 0.5762 GB " [Timeout remaining time 647] (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: 16.25659378687851]