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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8268/0.8268, allocations: 94.6 MB / 397.3 MB, free: 320 kB / 302.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 88.22 kB / 0.5416 GB, free: 42.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1514, allocations: 71.85 MB / 0.6118 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06045/0.2119, allocations: 47.6 MB / 0.6582 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.2287, allocations: 12.52 MB / 0.6705 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/0.2293, allocations: 23.81 kB / 0.6705 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.2304, allocations: 270.2 kB / 0.6708 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.2324, allocations: 0.5514 MB / 0.6713 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.2349, allocations: 0.7579 MB / 0.672 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.2361, allocations: 0.9221 MB / 0.6729 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.2364, allocations: 121.4 kB / 0.673 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03226/0.2686, allocations: 12.58 MB / 0.6853 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.2692, allocations: 406.4 kB / 0.6857 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.2693, allocations: 52 kB / 0.6858 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1115/0.3808, allocations: 53.13 MB / 0.7377 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.3812, allocations: 143.4 kB / 0.7378 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.3817, allocations: 326.3 kB / 0.7381 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00265/0.3843, allocations: 1.125 MB / 0.7392 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.3843, allocations: 4 kB / 0.7392 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3843, allocations: 0 / 0.7392 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.3843, allocations: 0 / 0.7392 GB, free: 6.75 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.002558/0.3869, allocations: 1.086 MB / 0.7403 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.387, allocations: 20.02 kB / 0.7403 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.3871, allocations: 86.72 kB / 0.7404 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.3873, allocations: 68.52 kB / 0.7404 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008012/0.3881, allocations: 0.5173 MB / 0.7409 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3882, allocations: 88.41 kB / 0.741 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.3885, allocations: 47.98 kB / 0.7411 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3897, allocations: 0.6519 MB / 0.7417 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.36e-05/0.3897, allocations: 0 / 0.7417 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.3898, allocations: 20 kB / 0.7417 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/0.3898, allocations: 21 kB / 0.7417 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3911, allocations: 0.6597 MB / 0.7424 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004228/0.3953, allocations: 2.459 MB / 0.7448 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.397, allocations: 0.6596 MB / 0.7454 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.323/0.7199, allocations: 335.4 kB / 0.7458 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002404/0.7223, allocations: 2.634 MB / 0.7483 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.7223, allocations: 42.06 kB / 0.7484 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 3.136e-06/0.7224, allocations: 0 / 0.7484 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004551/0.7269, allocations: 2.186 MB / 0.7505 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.7269, allocations: 62.41 kB / 0.7506 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.7274, allocations: 426.3 kB / 0.751 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.7274, allocations: 34.98 kB / 0.751 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.7277, allocations: 248.7 kB / 0.7512 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.7279, allocations: 234.8 kB / 0.7515 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.7281, allocations: 111.3 kB / 0.7516 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7282, allocations: 368.3 kB / 0.7519 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.7287, allocations: 260.6 kB / 0.7522 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007478/0.7294, allocations: 335.6 kB / 0.7525 GB, free: 130.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.7306, allocations: 0.6198 MB / 0.7531 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7306, allocations: 3.438 kB / 0.7531 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001506/0.7321, allocations: 0.8426 MB / 0.7539 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7321, allocations: 11.91 kB / 0.7539 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.7321, allocations: 4.234 kB / 0.7539 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.7325, allocations: 136.7 kB / 0.7541 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.733, allocations: 108.2 kB / 0.7542 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.7354, allocations: 2.475 MB / 0.7566 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.7358, allocations: 19.94 kB / 0.7566 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.7359, allocations: 29.59 kB / 0.7566 GB, free: 128.2 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.0002343/0.7361, allocations: 200.5 kB / 0.7568 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.7362, allocations: 61.58 kB / 0.7569 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.7385, allocations: 1.041 MB / 0.7579 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/0.7385, allocations: 10.28 kB / 0.7579 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7385, allocations: 5.109 kB / 0.7579 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.7385, allocations: 8.484 kB / 0.7579 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.7414, allocations: 1.657 MB / 0.7595 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.7414, allocations: 7.5 kB / 0.7595 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/0.7421, allocations: 100.8 kB / 0.7596 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.7426, allocations: 130 kB / 0.7598 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.7426, allocations: 23.05 kB / 0.7598 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/0.7457, allocations: 2.476 MB / 0.7622 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7457, allocations: 2.406 kB / 0.7622 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.7477, allocations: 1.296 MB / 0.7635 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.7481, allocations: 194.2 kB / 0.7637 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.7482, allocations: 18.05 kB / 0.7637 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.7485, allocations: 22.52 kB / 0.7637 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.7486, allocations: 49.05 kB / 0.7637 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.7486, allocations: 22.05 kB / 0.7638 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003218/0.749, allocations: 328.9 kB / 0.7641 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.749, allocations: 0.5 kB / 0.7641 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001315/0.7503, allocations: 294.8 kB / 0.7644 GB, free: 123.7 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.002939/0.7532, allocations: 2.136 MB / 0.7664 GB, free: 122.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.7547, allocations: 0.874 MB / 0.7673 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7547, allocations: 3.938 kB / 0.7673 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008562/0.7555, allocations: 0.5802 MB / 0.7679 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7565, allocations: 201.8 kB / 0.7681 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/0.7637, allocations: 5.952 MB / 0.7739 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.7641, allocations: 0.9034 MB / 0.7748 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003718/0.7645, allocations: 146.6 kB / 0.7749 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.7647, allocations: 231.3 kB / 0.7751 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7647, allocations: 0 / 0.7751 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04688/0.8116, allocations: 20.75 MB / 0.7954 GB, free: 94.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.49, allocations: 8.766 kB / 0.7954 GB, free: 94.66 MB / 0.5762 GB " [Timeout remaining time 646] (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_2/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: 17.232030676212162]