Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.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.0008342/0.0008342, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009667/0.0009667, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8781/0.8781, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.6051/0.6051, allocations: 116 MB / 375.2 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.191e-05, allocations: 2.281 kB / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.4562/0.4562, allocations: 233.6 MB / 0.7814 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005673/0.4619, allocations: 5.567 MB / 0.7868 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005945/0.4625, allocations: 115 kB / 0.7869 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.464, allocations: 0.9082 MB / 0.7878 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009668/0.4737, allocations: 5.698 MB / 0.7934 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.4776, allocations: 2.533 MB / 0.7959 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.4794, allocations: 2.334 MB / 0.7981 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.4797, allocations: 240.2 kB / 0.7984 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.4814, allocations: 1.768 MB / 0.8001 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000523/0.4819, allocations: 0.7009 MB / 0.8008 GB, free: 220 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-05/0.482, allocations: 100 kB / 0.8009 GB, free: 120 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.493, allocations: 8.828 MB / 0.8095 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.4933, allocations: 430.3 kB / 0.8099 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006688/0.4939, allocations: 0.4948 MB / 0.8104 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007952/0.5019, allocations: 6.58 MB / 0.8168 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5019, allocations: 0 / 0.8168 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5019, allocations: 0 / 0.8168 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.5019, allocations: 0 / 0.8168 GB, free: 15.75 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003684/0.5056, allocations: 2.806 MB / 0.8196 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5056, allocations: 8.031 kB / 0.8196 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.5058, allocations: 156.3 kB / 0.8197 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.506, allocations: 186.8 kB / 0.8199 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.5072, allocations: 1.018 MB / 0.8209 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.5073, allocations: 79.48 kB / 0.821 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.5074, allocations: 99.94 kB / 0.8211 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.5087, allocations: 1.437 MB / 0.8225 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.5087, allocations: 0 / 0.8225 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.5088, allocations: 43.92 kB / 0.8225 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.421e-05/0.5088, allocations: 89.89 kB / 0.8226 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.5102, allocations: 1.566 MB / 0.8241 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/0.5146, allocations: 4.019 MB / 0.828 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009734/0.5156, allocations: 0.748 MB / 0.8288 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.5161, allocations: 0.5488 MB / 0.8293 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.5167, allocations: 306.3 kB / 0.8296 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5167, allocations: 47.56 kB / 0.8296 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=114): time 2.916e-06/0.5167, allocations: 0 / 0.8296 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114): time 0.002791/0.5195, allocations: 1.918 MB / 0.8315 GB, free: 436 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.5195, allocations: 90.11 kB / 0.8316 GB, free: 328 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/0.5203, allocations: 0.9708 MB / 0.8325 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.5204, allocations: 41.7 kB / 0.8326 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.5207, allocations: 0.5693 MB / 0.8331 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.5209, allocations: 412.4 kB / 0.8335 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.5211, allocations: 186.6 kB / 0.8337 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5212, allocations: 349.9 kB / 0.834 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/0.5217, allocations: 441.8 kB / 0.8345 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.5222, allocations: 0.5177 MB / 0.835 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.5234, allocations: 1.026 MB / 0.836 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5234, allocations: 3.938 kB / 0.836 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001608/0.525, allocations: 1.388 MB / 0.8373 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.525, allocations: 7.938 kB / 0.8373 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.525, allocations: 7.922 kB / 0.8374 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.5253, allocations: 117.6 kB / 0.8375 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.5257, allocations: 195.8 kB / 0.8377 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.5279, allocations: 3.125 MB / 0.8407 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.5283, allocations: 79.45 kB / 0.8408 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/0.5283, allocations: 75.08 kB / 0.8409 GB, free: 6.547 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 100 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003274/0.5287, allocations: 269.7 kB / 0.8411 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.5288, allocations: 158.9 kB / 0.8413 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.531, allocations: 1.934 MB / 0.8431 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.531, allocations: 12 kB / 0.8432 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.531, allocations: 4 kB / 0.8432 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.531, allocations: 7.969 kB / 0.8432 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.534, allocations: 2.698 MB / 0.8458 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.534, allocations: 3.938 kB / 0.8458 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.5344, allocations: 175.8 kB / 0.846 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.5346, allocations: 121.6 kB / 0.8461 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.138e-05/0.5347, allocations: 39.97 kB / 0.8461 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.5363, allocations: 3.131 MB / 0.8492 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5363, allocations: 0 / 0.8492 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.5385, allocations: 2.186 MB / 0.8513 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.5388, allocations: 270.6 kB / 0.8516 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.5389, allocations: 24 kB / 0.8516 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.5391, allocations: 16 kB / 0.8516 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.5392, allocations: 96.77 kB / 0.8517 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.5393, allocations: 59.95 kB / 0.8518 GB, free: 11.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008274/0.5401, allocations: 0.7074 MB / 0.8525 GB, free: 10.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.5401, allocations: 4 kB / 0.8525 GB, free: 10.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001808/0.5419, allocations: 1.055 MB / 0.8535 GB, free: 9.238 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.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 (102): * Single equations (assignments): 92 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004262/0.5462, allocations: 3.988 MB / 0.8574 GB, free: 5.203 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.5478, allocations: 1.35 MB / 0.8587 GB, free: 3.824 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5478, allocations: 7.938 kB / 0.8587 GB, free: 3.816 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.5489, allocations: 0.8307 MB / 0.8595 GB, free: 2.965 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.5503, allocations: 0.5824 MB / 0.8601 GB, free: 2.395 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.5609, allocations: 10.51 MB / 0.8704 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.5613, allocations: 0.5987 MB / 0.8709 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008315/0.5622, allocations: 0.5933 MB / 0.8715 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.5627, allocations: 0.5745 MB / 0.8721 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of SimCode: time 7.61e-07/0.5627, allocations: 0 / 0.8721 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06368/0.6264, allocations: 56.06 MB / 0.9268 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.336/9.962, allocations: 5.875 kB / 0.9268 GB, free: 14.44 MB / 0.7761 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.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.Nozzle_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv failed! Error: Could not read variable nozzle.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv. Warning: Get data of variable nozzle.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv failed! Error: Could not read variable nozzle1.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv. Warning: Get data of variable nozzle1.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.544934164732695]