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.001111/0.001111, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002706/0.002706, allocations: 165.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.9528/0.9528, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.6193/0.6193, allocations: 80.17 MB / 339.4 MB, free: 7.527 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.742e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.03778/0.0378, allocations: 44.34 MB / 0.5357 GB, free: 12 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008667/0.04647, allocations: 10.06 MB / 0.5455 GB, free: 1.906 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006987/0.04717, allocations: 31.69 kB / 0.5455 GB, free: 1.875 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007009/0.04787, allocations: 254.1 kB / 0.5458 GB, free: 1.625 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.04918, allocations: 0.6053 MB / 0.5464 GB, free: 1.016 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.05091, allocations: 0.7659 MB / 0.5471 GB, free: 252 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.05195, allocations: 1.015 MB / 0.5481 GB, free: 15.22 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.05217, allocations: 102 kB / 0.5482 GB, free: 15.12 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02356/0.07573, allocations: 12.73 MB / 0.5606 GB, free: 2.316 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005246/0.07626, allocations: 351.1 kB / 0.561 GB, free: 1.973 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/0.07634, allocations: 56 kB / 0.561 GB, free: 1.918 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06386/0.1402, allocations: 52.65 MB / 0.6124 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.1405, allocations: 163.3 kB / 0.6126 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.1409, allocations: 227.4 kB / 0.6128 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.1436, allocations: 1.18 MB / 0.614 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1436, allocations: 0 / 0.614 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.564e-06/0.1436, allocations: 0 / 0.614 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.1437, allocations: 4 kB / 0.614 GB, free: 11.13 MB / 0.5261 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.001836/0.1455, allocations: 1.006 MB / 0.6149 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.1456, allocations: 13.47 kB / 0.615 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.842e-05/0.1456, allocations: 86.7 kB / 0.615 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.1458, allocations: 92.45 kB / 0.6151 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.1464, allocations: 442.1 kB / 0.6155 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.1466, allocations: 148.3 kB / 0.6157 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1467, allocations: 55.89 kB / 0.6157 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.1475, allocations: 0.706 MB / 0.6164 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1475, allocations: 0 / 0.6164 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.1475, allocations: 16 kB / 0.6164 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.1477, allocations: 24.98 kB / 0.6165 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008182/0.1485, allocations: 0.6753 MB / 0.6171 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.1509, allocations: 2.005 MB / 0.6191 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.152, allocations: 0.6431 MB / 0.6197 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/0.1526, allocations: 339.2 kB / 0.62 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008136/0.1534, allocations: 328.2 kB / 0.6204 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1534, allocations: 39.06 kB / 0.6204 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.034e-06/0.1535, allocations: 0 / 0.6204 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.002785/0.1562, allocations: 2.001 MB / 0.6223 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.1563, allocations: 68 kB / 0.6224 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.1566, allocations: 430.1 kB / 0.6228 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.1566, allocations: 37.7 kB / 0.6229 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.1568, allocations: 241 kB / 0.6231 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.157, allocations: 238 kB / 0.6233 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.1571, allocations: 110.3 kB / 0.6234 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1572, allocations: 370.8 kB / 0.6238 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.1575, allocations: 261.2 kB / 0.624 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.1578, allocations: 332.2 kB / 0.6243 GB, free: 208 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/0.1586, allocations: 0.6306 MB / 0.625 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1586, allocations: 0 / 0.625 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001053/0.1597, allocations: 0.8645 MB / 0.6258 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1597, allocations: 6.188 kB / 0.6258 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1597, allocations: 4 kB / 0.6258 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.16, allocations: 135.4 kB / 0.6259 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.1603, allocations: 115.8 kB / 0.626 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.1625, allocations: 2.337 MB / 0.6283 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1627, allocations: 20.05 kB / 0.6283 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.1627, allocations: 31.98 kB / 0.6284 GB, free: 11.92 MB / 0.5417 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.0002352/0.163, allocations: 189.6 kB / 0.6286 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1631, allocations: 75.61 kB / 0.6286 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.1643, allocations: 1.058 MB / 0.6297 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1643, allocations: 8 kB / 0.6297 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1643, allocations: 8 kB / 0.6297 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1643, allocations: 3.984 kB / 0.6297 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.1661, allocations: 1.55 MB / 0.6312 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.1661, allocations: 11.94 kB / 0.6312 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.1664, allocations: 91.86 kB / 0.6313 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002347/0.1666, allocations: 140 kB / 0.6314 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.1666, allocations: 19.98 kB / 0.6314 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.1684, allocations: 2.344 MB / 0.6337 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1684, allocations: 3.984 kB / 0.6337 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.17, allocations: 1.313 MB / 0.635 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.1702, allocations: 115.6 kB / 0.6351 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.1702, allocations: 27.88 kB / 0.6352 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.1704, allocations: 16 kB / 0.6352 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.1705, allocations: 52.33 kB / 0.6352 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.1705, allocations: 19.98 kB / 0.6352 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002615/0.1708, allocations: 338.9 kB / 0.6356 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1708, allocations: 0 / 0.6356 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000754/0.1715, allocations: 299.4 kB / 0.6359 GB, free: 4.039 MB / 0.5417 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.002134/0.1737, allocations: 2.169 MB / 0.638 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.1748, allocations: 0.8737 MB / 0.6388 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1748, allocations: 0 / 0.6388 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000664/0.1755, allocations: 0.5712 MB / 0.6394 GB, free: 344 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/0.1763, allocations: 285.7 kB / 0.6397 GB, free: 68 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2595/0.4357, allocations: 5.888 MB / 0.6454 GB, free: 144.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.4361, allocations: 306 kB / 0.6457 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000414/0.4365, allocations: 144.3 kB / 0.6458 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.4368, allocations: 235.4 kB / 0.6461 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.254e-06/0.4368, allocations: 0.8125 kB / 0.6461 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/0.4767, allocations: 24.03 MB / 0.6695 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.988/9.465, allocations: 19.84 kB / 0.6695 GB, free: 128.8 MB / 0.5417 GB " [Timeout remaining time 650] (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/jenkins/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: 12.299846820533276]