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.001506/0.001506, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001717/0.001717, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.797 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.7633/0.7633, allocations: 94.62 MB / 407.1 MB, free: 8.926 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.002494/0.002494, allocations: 86.56 kB / 0.5549 GB, free: 38.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.126, allocations: 73.05 MB / 0.6263 GB, free: 216 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05691/0.1829, allocations: 42.91 MB / 0.6682 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01559/0.1985, allocations: 11.38 MB / 0.6793 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006808/0.1992, allocations: 27.75 kB / 0.6793 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009272/0.2001, allocations: 242.3 kB / 0.6796 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.2021, allocations: 0.5475 MB / 0.6801 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.2047, allocations: 0.7521 MB / 0.6808 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.2061, allocations: 0.9259 MB / 0.6817 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.2064, allocations: 106 kB / 0.6818 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02942/0.2358, allocations: 12.5 MB / 0.694 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000828/0.2367, allocations: 374.4 kB / 0.6944 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.2369, allocations: 56 kB / 0.6944 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1184/0.3553, allocations: 52.45 MB / 0.7457 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.3556, allocations: 151.4 kB / 0.7458 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.3561, allocations: 266.7 kB / 0.7461 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.3588, allocations: 1.105 MB / 0.7472 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3588, allocations: 4 kB / 0.7472 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3588, allocations: 0 / 0.7472 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.925e-05/0.3588, allocations: 0 / 0.7472 GB, free: 3.578 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.002596/0.3614, allocations: 1.024 MB / 0.7482 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3614, allocations: 8.031 kB / 0.7482 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.3616, allocations: 86.7 kB / 0.7482 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.3618, allocations: 84.47 kB / 0.7483 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009755/0.3628, allocations: 446.5 kB / 0.7488 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.363, allocations: 143.8 kB / 0.7489 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3631, allocations: 51.95 kB / 0.7489 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.3644, allocations: 0.7138 MB / 0.7496 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.3644, allocations: 4 kB / 0.7496 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.3645, allocations: 16 kB / 0.7497 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.3645, allocations: 17 kB / 0.7497 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3658, allocations: 0.6753 MB / 0.7503 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2597/0.6255, allocations: 1.983 MB / 0.7523 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.6271, allocations: 0.6534 MB / 0.7529 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.6276, allocations: 334 kB / 0.7532 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/0.6292, allocations: 325.2 kB / 0.7535 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6292, allocations: 43.09 kB / 0.7536 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.765e-06/0.6292, allocations: 1.094 kB / 0.7536 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.003914/0.6331, allocations: 1.991 MB / 0.7555 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.6331, allocations: 57.56 kB / 0.7556 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.6335, allocations: 434.4 kB / 0.756 GB, free: 125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.6336, allocations: 36.33 kB / 0.756 GB, free: 125 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.6337, allocations: 239.4 kB / 0.7563 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.6338, allocations: 238.8 kB / 0.7565 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.634, allocations: 108.8 kB / 0.7566 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.634, allocations: 370.8 kB / 0.7569 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.6345, allocations: 266.3 kB / 0.7572 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.6349, allocations: 337.5 kB / 0.7575 GB, free: 124 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009276/0.6359, allocations: 0.6269 MB / 0.7581 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6359, allocations: 0 / 0.7581 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001489/0.6374, allocations: 0.8653 MB / 0.759 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.6374, allocations: 6.391 kB / 0.759 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.6374, allocations: 3.5 kB / 0.759 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.6378, allocations: 134.6 kB / 0.7591 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.6382, allocations: 112.8 kB / 0.7592 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.6404, allocations: 2.334 MB / 0.7615 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.6407, allocations: 24.45 kB / 0.7615 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.6408, allocations: 27.62 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.0002069/0.641, allocations: 189.3 kB / 0.7617 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.6411, allocations: 76.05 kB / 0.7618 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.6433, allocations: 1.056 MB / 0.7628 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.6433, allocations: 11.98 kB / 0.7628 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6433, allocations: 2.5 kB / 0.7628 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.6433, allocations: 3.719 kB / 0.7628 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.6468, allocations: 1.555 MB / 0.7644 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/0.6468, allocations: 3.281 kB / 0.7644 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.6473, allocations: 99.05 kB / 0.7645 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003873/0.6476, allocations: 134.1 kB / 0.7646 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.6477, allocations: 24.03 kB / 0.7646 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.65, allocations: 2.348 MB / 0.7669 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.65, allocations: 5.094 kB / 0.7669 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.6524, allocations: 1.307 MB / 0.7682 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.6526, allocations: 121.7 kB / 0.7683 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.64e-05/0.6527, allocations: 17.09 kB / 0.7683 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.6531, allocations: 25.12 kB / 0.7683 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.6532, allocations: 46.2 kB / 0.7684 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.6532, allocations: 26.09 kB / 0.7684 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003398/0.6535, allocations: 334.5 kB / 0.7687 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6535, allocations: 0 / 0.7687 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008578/0.6544, allocations: 291.1 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.002611/0.657, allocations: 2.163 MB / 0.7711 GB, free: 116 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.6585, allocations: 0.8749 MB / 0.772 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6585, allocations: 1.031 kB / 0.772 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.6594, allocations: 0.5825 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.0009692/0.6604, allocations: 202.1 kB / 0.7727 GB, free: 115 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006992/0.6674, allocations: 5.985 MB / 0.7786 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.6676, allocations: 297.1 kB / 0.7789 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004012/0.668, allocations: 140.7 kB / 0.779 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.6682, allocations: 231.3 kB / 0.7792 GB, free: 109 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.6682, allocations: 4 kB / 0.7792 GB, free: 109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0494/0.7176, allocations: 22.15 MB / 0.8009 GB, free: 87.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.46, allocations: 0 / 0.8009 GB, free: 87.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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.063100163824856]