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.001312/0.001312, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001403/0.001403, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.7805/0.7805, allocations: 100.3 MB / 413.5 MB, free: 3.691 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="cs",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.002418/0.002418, allocations: 84.7 kB / 0.564 GB, free: 35.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1249, allocations: 74.47 MB / 0.6367 GB, free: 7.691 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05702/0.1819, allocations: 48.02 MB / 0.6836 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.1968, allocations: 12.63 MB / 0.696 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005896/0.1974, allocations: 27.75 kB / 0.696 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008512/0.1982, allocations: 274.2 kB / 0.6963 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.1998, allocations: 0.5631 MB / 0.6968 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.202, allocations: 0.7548 MB / 0.6975 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.2033, allocations: 0.9298 MB / 0.6985 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.2036, allocations: 97.97 kB / 0.6985 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0296/0.2332, allocations: 12.54 MB / 0.7108 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000647/0.2338, allocations: 406.3 kB / 0.7112 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.2339, allocations: 56 kB / 0.7112 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4418/0.6757, allocations: 52.57 MB / 0.7626 GB, free: 53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.676, allocations: 151.5 kB / 0.7627 GB, free: 53 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.6764, allocations: 325.8 kB / 0.763 GB, free: 53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.6786, allocations: 1.13 MB / 0.7641 GB, free: 52.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6786, allocations: 0 / 0.7641 GB, free: 52.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6786, allocations: 0 / 0.7641 GB, free: 52.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.6786, allocations: 0 / 0.7641 GB, free: 52.92 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.00217/0.6808, allocations: 1.016 MB / 0.7651 GB, free: 52.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6808, allocations: 9.844 kB / 0.7651 GB, free: 52.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.266e-05/0.6809, allocations: 13.97 kB / 0.7652 GB, free: 52.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.373e-05/0.6809, allocations: 91.03 kB / 0.7652 GB, free: 52.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.6811, allocations: 70.95 kB / 0.7653 GB, free: 52.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007463/0.6818, allocations: 447.1 kB / 0.7657 GB, free: 52.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/0.6819, allocations: 146 kB / 0.7659 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/0.682, allocations: 49.02 kB / 0.7659 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.6831, allocations: 0.6529 MB / 0.7666 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.6831, allocations: 4.156 kB / 0.7666 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.6831, allocations: 24.06 kB / 0.7666 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.6832, allocations: 18.91 kB / 0.7666 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.6846, allocations: 0.678 MB / 0.7673 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/0.6884, allocations: 2.407 MB / 0.7696 GB, free: 50.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.6899, allocations: 0.6457 MB / 0.7702 GB, free: 50.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/0.6905, allocations: 343.7 kB / 0.7706 GB, free: 50.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/0.6922, allocations: 314.2 kB / 0.7709 GB, free: 50.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.6922, allocations: 44.81 kB / 0.7709 GB, free: 50.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.876e-06/0.6922, allocations: 0.5312 kB / 0.7709 GB, free: 50.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004497/0.6967, allocations: 1.991 MB / 0.7729 GB, free: 50.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.6967, allocations: 58.12 kB / 0.7729 GB, free: 50.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.6972, allocations: 427.5 kB / 0.7733 GB, free: 50.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.6973, allocations: 35.64 kB / 0.7734 GB, free: 50.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.6974, allocations: 242 kB / 0.7736 GB, free: 50.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.6975, allocations: 235.6 kB / 0.7738 GB, free: 50.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.6977, allocations: 111.8 kB / 0.7739 GB, free: 50.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.6978, allocations: 370.8 kB / 0.7743 GB, free: 49.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.6983, allocations: 260.8 kB / 0.7745 GB, free: 49.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/0.6989, allocations: 340.8 kB / 0.7748 GB, free: 49.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.6999, allocations: 0.6231 MB / 0.7755 GB, free: 49.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.6999, allocations: 3.938 kB / 0.7755 GB, free: 49.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001513/0.7014, allocations: 0.8632 MB / 0.7763 GB, free: 49.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.7014, allocations: 6 kB / 0.7763 GB, free: 49.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.7015, allocations: 5.75 kB / 0.7763 GB, free: 49.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.7019, allocations: 129.2 kB / 0.7764 GB, free: 49.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.7024, allocations: 110.4 kB / 0.7765 GB, free: 49.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.7049, allocations: 2.37 MB / 0.7789 GB, free: 48.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.7054, allocations: 21.2 kB / 0.7789 GB, free: 48.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/0.7055, allocations: 30.3 kB / 0.7789 GB, free: 48.11 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.0003472/0.7058, allocations: 192 kB / 0.7791 GB, free: 47.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.706, allocations: 64.22 kB / 0.7791 GB, free: 47.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.7079, allocations: 1.06 MB / 0.7802 GB, free: 47.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.7079, allocations: 6.875 kB / 0.7802 GB, free: 47.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7079, allocations: 1.375 kB / 0.7802 GB, free: 47.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.7079, allocations: 4.141 kB / 0.7802 GB, free: 47.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.7108, allocations: 1.628 MB / 0.7818 GB, free: 47.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.7108, allocations: 5.938 kB / 0.7818 GB, free: 47.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.7112, allocations: 102.8 kB / 0.7819 GB, free: 47.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/0.7116, allocations: 134.8 kB / 0.782 GB, free: 47.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.7117, allocations: 18.44 kB / 0.782 GB, free: 47.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.7139, allocations: 2.376 MB / 0.7844 GB, free: 46.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7139, allocations: 0.875 kB / 0.7844 GB, free: 46.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.7158, allocations: 1.3 MB / 0.7856 GB, free: 45.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.7161, allocations: 123.4 kB / 0.7857 GB, free: 45.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/0.7162, allocations: 16.69 kB / 0.7858 GB, free: 45.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.7166, allocations: 17.5 kB / 0.7858 GB, free: 45.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.7167, allocations: 48.77 kB / 0.7858 GB, free: 45.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.7167, allocations: 21.47 kB / 0.7858 GB, free: 45.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003939/0.7171, allocations: 335.8 kB / 0.7862 GB, free: 45.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7171, allocations: 4 kB / 0.7862 GB, free: 45.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00104/0.7181, allocations: 292.5 kB / 0.7864 GB, free: 45.73 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.002724/0.7209, allocations: 2.154 MB / 0.7885 GB, free: 44.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.7224, allocations: 0.8908 MB / 0.7894 GB, free: 44.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7224, allocations: 0 / 0.7894 GB, free: 44.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000833/0.7232, allocations: 0.5821 MB / 0.79 GB, free: 44.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.7243, allocations: 200.3 kB / 0.7902 GB, free: 44.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007641/0.732, allocations: 5.964 MB / 0.796 GB, free: 41.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.7322, allocations: 0.8976 MB / 0.7969 GB, free: 41.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004335/0.7327, allocations: 136.6 kB / 0.797 GB, free: 41.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.733, allocations: 231.8 kB / 0.7972 GB, free: 40.99 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.733, allocations: 6.75 kB / 0.7972 GB, free: 40.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04426/0.7772, allocations: 21.22 MB / 0.818 GB, free: 24.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.04, allocations: 10.92 kB / 0.818 GB, free: 24.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.662146365037188]