Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001529/0.001529, allocations: 104.9 kB / 16.45 MB, free: 6.453 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.001636/0.001636, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.609/1.609, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.9019/0.9019, allocations: 94.54 MB / 403.4 MB, free: 10.14 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.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",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.002423/0.002423, allocations: 86.5 kB / 0.5499 GB, free: 38.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1716, allocations: 73.02 MB / 0.6212 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.8136/0.9852, allocations: 260 MB / 0.8751 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02078/1.006, allocations: 12.99 MB / 0.8878 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/1.008, allocations: 107.1 kB / 0.8879 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003677/1.012, allocations: 1.034 MB / 0.8889 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02055/1.033, allocations: 5.542 MB / 0.8943 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009363/1.042, allocations: 2.415 MB / 0.8967 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004626/1.047, allocations: 2.06 MB / 0.8987 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/1.047, allocations: 259.6 kB / 0.8989 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/1.051, allocations: 1.385 MB / 0.9003 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/1.052, allocations: 0.836 MB / 0.9011 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/1.052, allocations: 100 kB / 0.9012 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02482/1.077, allocations: 11.05 MB / 0.912 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008768/1.078, allocations: 394.5 kB / 0.9123 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/1.079, allocations: 0.7109 MB / 0.913 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02152/1.101, allocations: 6.103 MB / 0.919 GB, free: 15.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.101, allocations: 4 kB / 0.919 GB, free: 15.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.655e-06/1.101, allocations: 0 / 0.919 GB, free: 15.79 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.241e-05/1.101, allocations: 3.938 kB / 0.919 GB, free: 15.78 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.00753/1.108, allocations: 2.827 MB / 0.9218 GB, free: 12.89 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/1.108, allocations: 12.03 kB / 0.9218 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/1.109, allocations: 156.2 kB / 0.9219 GB, free: 12.72 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/1.109, allocations: 179.6 kB / 0.9221 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/1.111, allocations: 1.077 MB / 0.9232 GB, free: 11.41 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/1.111, allocations: 73.98 kB / 0.9232 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/1.111, allocations: 95.98 kB / 0.9233 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/1.114, allocations: 1.401 MB / 0.9247 GB, free: 9.824 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/1.114, allocations: 3.984 kB / 0.9247 GB, free: 9.82 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.114, allocations: 36 kB / 0.9247 GB, free: 9.785 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/1.114, allocations: 93.89 kB / 0.9248 GB, free: 9.691 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/1.116, allocations: 1.523 MB / 0.9263 GB, free: 8.168 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008679/1.125, allocations: 5.858 MB / 0.932 GB, free: 1.801 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/1.127, allocations: 0.7772 MB / 0.9328 GB, free: 1.012 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.128, allocations: 0.5906 MB / 0.9334 GB, free: 420 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002503/1.13, allocations: 2.41 MB / 0.9357 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/1.13, allocations: 47.62 kB / 0.9358 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.847e-06/1.13, allocations: 0 / 0.9358 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004603/1.135, allocations: 2.096 MB / 0.9378 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/1.135, allocations: 90.23 kB / 0.9379 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/1.136, allocations: 0.9159 MB / 0.9388 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.149e-05/1.136, allocations: 45.69 kB / 0.9388 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/1.137, allocations: 0.5454 MB / 0.9394 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/1.137, allocations: 404.5 kB / 0.9397 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/1.138, allocations: 186.6 kB / 0.9399 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.138, allocations: 349.9 kB / 0.9403 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008093/1.139, allocations: 461.7 kB / 0.9407 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009013/1.139, allocations: 0.5201 MB / 0.9412 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/1.141, allocations: 1.047 MB / 0.9422 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.141, allocations: 0 / 0.9422 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002685/1.144, allocations: 1.391 MB / 0.9436 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.144, allocations: 11.94 kB / 0.9436 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.144, allocations: 0 / 0.9436 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/1.145, allocations: 125.6 kB / 0.9437 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/1.145, allocations: 183.3 kB / 0.9439 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/1.149, allocations: 3.365 MB / 0.9472 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/1.15, allocations: 83.38 kB / 0.9473 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/1.15, allocations: 60.84 kB / 0.9473 GB, free: 1.18 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (108): * Single equations (assignments): 98 * 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.000558/1.15, allocations: 273.6 kB / 0.9476 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/1.151, allocations: 143 kB / 0.9477 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/1.155, allocations: 2.044 MB / 0.9497 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/1.155, allocations: 12 kB / 0.9497 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/1.155, allocations: 4 kB / 0.9497 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/1.155, allocations: 7.922 kB / 0.9497 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005792/1.161, allocations: 2.997 MB / 0.9527 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/1.161, allocations: 4 kB / 0.9527 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007505/1.161, allocations: 163.8 kB / 0.9528 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/1.162, allocations: 141.6 kB / 0.953 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.162, allocations: 39.97 kB / 0.953 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/1.166, allocations: 3.361 MB / 0.9563 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.166, allocations: 0 / 0.9563 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/1.17, allocations: 2.237 MB / 0.9585 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005862/1.171, allocations: 223.9 kB / 0.9587 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.171, allocations: 24.25 kB / 0.9587 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/1.171, allocations: 24.06 kB / 0.9587 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/1.172, allocations: 88.98 kB / 0.9588 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.172, allocations: 59.97 kB / 0.9589 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00109/1.173, allocations: 0.6701 MB / 0.9595 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/1.173, allocations: 0 / 0.9595 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003486/1.176, allocations: 1.024 MB / 0.9605 GB, free: 3.215 MB / 0.7012 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.008493/1.185, allocations: 4.014 MB / 0.9644 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003163/1.188, allocations: 1.394 MB / 0.9658 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.188, allocations: 4 kB / 0.9658 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/1.19, allocations: 0.8666 MB / 0.9666 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.192, allocations: 431.9 kB / 0.9671 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.212, allocations: 10.38 MB / 0.9772 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.213, allocations: 1.195 MB / 0.9784 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001864/1.215, allocations: 0.6794 MB / 0.979 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009767/1.216, allocations: 0.5696 MB / 0.9796 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of SimCode: time 4.028e-06/1.216, allocations: 0 / 0.9796 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.337, allocations: 50.25 MB / 1.029 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.13, allocations: 17.19 kB / 1.029 GB, free: 13.43 MB / 0.7794 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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_ThermofluidStream.Processes.Tests.Nozzle_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.csv failed! Error: Could not read variable nozzle.inlet.m_flow in file ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.csv. Warning: Get data of variable nozzle.inlet.m_flow from file ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.csv failed! Error: Could not read variable nozzle1.inlet.m_flow in file ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.csv. Warning: Get data of variable nozzle1.inlet.m_flow from file ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.387794782000128]