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.001501/0.001501, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001452/0.001452, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.413/1.413, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6083/0.6083, allocations: 94.59 MB / 399 MB, free: 15.78 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.002253/0.002253, allocations: 84.09 kB / 0.5442 GB, free: 12.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3734, allocations: 71.84 MB / 0.6144 GB, free: 3.836 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05989/0.4333, allocations: 47.93 MB / 0.6612 GB, free: 204 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.4485, allocations: 12.63 MB / 0.6735 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.4491, allocations: 20.38 kB / 0.6735 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008662/0.45, allocations: 275.3 kB / 0.6738 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.4515, allocations: 0.5562 MB / 0.6743 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.4535, allocations: 0.7386 MB / 0.6751 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.4547, allocations: 0.9256 MB / 0.676 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.455, allocations: 103.3 kB / 0.6761 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03124/0.4863, allocations: 12.59 MB / 0.6884 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.487, allocations: 410.3 kB / 0.6887 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.4871, allocations: 52 kB / 0.6888 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.11/0.5971, allocations: 53.12 MB / 0.7407 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.5974, allocations: 155.4 kB / 0.7408 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004825/0.5979, allocations: 318.4 kB / 0.7411 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.6004, allocations: 1.129 MB / 0.7422 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6004, allocations: 0 / 0.7422 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6005, allocations: 0 / 0.7422 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.6005, allocations: 0 / 0.7422 GB, free: 1.262 MB / 0.5606 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.002341/0.6028, allocations: 1.086 MB / 0.7433 GB, free: 124 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6028, allocations: 12.03 kB / 0.7433 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.603, allocations: 86.7 kB / 0.7434 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.6032, allocations: 72.56 kB / 0.7434 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007769/0.604, allocations: 0.5172 MB / 0.744 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.6041, allocations: 88.39 kB / 0.744 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.808e-05/0.6042, allocations: 44 kB / 0.7441 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.6054, allocations: 0.6597 MB / 0.7447 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.6054, allocations: 0 / 0.7447 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.6055, allocations: 16 kB / 0.7447 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.6055, allocations: 24.98 kB / 0.7448 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.6068, allocations: 0.6636 MB / 0.7454 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.6107, allocations: 2.452 MB / 0.7478 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.6123, allocations: 0.6576 MB / 0.7484 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000705/0.613, allocations: 338.3 kB / 0.7488 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002826/0.6159, allocations: 2.631 MB / 0.7513 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.6159, allocations: 39.12 kB / 0.7514 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.104e-06/0.6159, allocations: 4 kB / 0.7514 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.004433/0.6203, allocations: 2.191 MB / 0.7535 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.6204, allocations: 63.97 kB / 0.7536 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/0.621, allocations: 422.1 kB / 0.754 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.621, allocations: 37.7 kB / 0.754 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.6212, allocations: 245 kB / 0.7543 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.6214, allocations: 226 kB / 0.7545 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.6216, allocations: 114.2 kB / 0.7546 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003055/0.6219, allocations: 370.7 kB / 0.7549 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.6224, allocations: 261.1 kB / 0.7552 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.6231, allocations: 339.7 kB / 0.7555 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.6242, allocations: 0.6173 MB / 0.7561 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.6242, allocations: 4 kB / 0.7561 GB, free: 2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001821/0.626, allocations: 0.8427 MB / 0.7569 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.626, allocations: 11.94 kB / 0.7569 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.626, allocations: 7.984 kB / 0.757 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004156/0.6265, allocations: 132.8 kB / 0.7571 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.6269, allocations: 115.8 kB / 0.7572 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.63, allocations: 2.478 MB / 0.7596 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.6303, allocations: 20.03 kB / 0.7596 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.6304, allocations: 27.97 kB / 0.7597 GB, free: 14.22 MB / 0.5919 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.0002532/0.6306, allocations: 193.7 kB / 0.7598 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.6308, allocations: 63.62 kB / 0.7599 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.6329, allocations: 1.048 MB / 0.7609 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.633, allocations: 4 kB / 0.7609 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.633, allocations: 4 kB / 0.7609 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.633, allocations: 3.984 kB / 0.7609 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.636, allocations: 1.667 MB / 0.7626 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.636, allocations: 3.938 kB / 0.7626 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.6364, allocations: 99.86 kB / 0.7627 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000416/0.6369, allocations: 136.7 kB / 0.7628 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.637, allocations: 19.98 kB / 0.7628 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002981/0.64, allocations: 2.476 MB / 0.7652 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.64, allocations: 0 / 0.7652 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.6424, allocations: 1.294 MB / 0.7665 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.6427, allocations: 196.6 kB / 0.7667 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.6428, allocations: 12 kB / 0.7667 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.6431, allocations: 19.98 kB / 0.7667 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.6432, allocations: 44.5 kB / 0.7668 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.6432, allocations: 27.97 kB / 0.7668 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000368/0.6436, allocations: 330.9 kB / 0.7671 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6436, allocations: 0 / 0.7671 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001071/0.6447, allocations: 295.4 kB / 0.7674 GB, free: 6.027 MB / 0.5919 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.003306/0.648, allocations: 2.146 MB / 0.7695 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.6498, allocations: 0.8722 MB / 0.7703 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6498, allocations: 320 / 0.7703 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.6509, allocations: 0.5751 MB / 0.7709 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.6519, allocations: 201.9 kB / 0.7711 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009532/0.6614, allocations: 5.956 MB / 0.7769 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.662, allocations: 0.9035 MB / 0.7778 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004992/0.6625, allocations: 144.7 kB / 0.7779 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.6628, allocations: 231.3 kB / 0.7781 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.6628, allocations: 0 / 0.7781 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05603/0.7189, allocations: 20.78 MB / 0.7984 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.66, allocations: 4 kB / 0.7984 GB, free: 6.129 MB / 0.6231 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: 15.873016060999362]