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.001699/0.001699, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001843/0.001843, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 8.008 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.8118/0.8118, allocations: 94.55 MB / 407 MB, free: 9.188 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.002479/0.002479, allocations: 84.23 kB / 0.5549 GB, free: 38.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1371, allocations: 73.05 MB / 0.6263 GB, free: 488 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.7105/0.8476, allocations: 260.8 MB / 0.881 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.8686, allocations: 13.07 MB / 0.8938 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.8703, allocations: 107.1 kB / 0.8939 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.8732, allocations: 1.037 MB / 0.8949 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01669/0.8899, allocations: 5.568 MB / 0.9003 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007861/0.8978, allocations: 2.49 MB / 0.9028 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004188/0.902, allocations: 2.06 MB / 0.9048 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007381/0.9027, allocations: 244 kB / 0.905 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.9065, allocations: 1.397 MB / 0.9064 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.9082, allocations: 0.836 MB / 0.9072 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.9086, allocations: 100 kB / 0.9073 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02317/0.9318, allocations: 11.16 MB / 0.9182 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007307/0.9325, allocations: 390.5 kB / 0.9185 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.9336, allocations: 0.7109 MB / 0.9192 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.9539, allocations: 6.107 MB / 0.9252 GB, free: 12.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.9539, allocations: 0 / 0.9252 GB, free: 12.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9539, allocations: 0 / 0.9252 GB, free: 12.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.821e-05/0.954, allocations: 0 / 0.9252 GB, free: 12.86 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.00736/0.9613, allocations: 2.76 MB / 0.9279 GB, free: 10.05 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.9614, allocations: 12.03 kB / 0.9279 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.9616, allocations: 152.3 kB / 0.9281 GB, free: 9.883 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/0.962, allocations: 174.9 kB / 0.9282 GB, free: 9.711 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.9644, allocations: 0.974 MB / 0.9292 GB, free: 8.688 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.9645, allocations: 73.98 kB / 0.9292 GB, free: 8.613 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.9648, allocations: 99.97 kB / 0.9293 GB, free: 8.516 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.9674, allocations: 1.42 MB / 0.9307 GB, free: 7.078 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.9674, allocations: 0 / 0.9307 GB, free: 7.078 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.9675, allocations: 43.98 kB / 0.9308 GB, free: 7.035 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.9677, allocations: 97.88 kB / 0.9309 GB, free: 6.941 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.9703, allocations: 1.554 MB / 0.9324 GB, free: 5.383 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.9807, allocations: 5.813 MB / 0.9381 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.9825, allocations: 0.7747 MB / 0.9388 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.9836, allocations: 0.5981 MB / 0.9394 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.9848, allocations: 316.7 kB / 0.9397 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.9849, allocations: 47.5 kB / 0.9397 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 5.68e-06/0.9849, allocations: 4 kB / 0.9397 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.00482/0.9897, allocations: 1.95 MB / 0.9417 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.9898, allocations: 94.11 kB / 0.9417 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.9911, allocations: 0.9081 MB / 0.9426 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.9912, allocations: 45.7 kB / 0.9427 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/0.9917, allocations: 0.5415 MB / 0.9432 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000447/0.9922, allocations: 420.3 kB / 0.9436 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.9925, allocations: 182.6 kB / 0.9438 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.9927, allocations: 349.8 kB / 0.9441 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/0.9935, allocations: 462.5 kB / 0.9446 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/0.9944, allocations: 0.5238 MB / 0.9451 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.9962, allocations: 1.044 MB / 0.9461 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.9962, allocations: 0 / 0.9461 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002638/0.9988, allocations: 1.381 MB / 0.9474 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.9988, allocations: 11.94 kB / 0.9474 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.9988, allocations: 0 / 0.9474 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.9993, allocations: 122.7 kB / 0.9476 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007785/1, allocations: 183.8 kB / 0.9477 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/1.003, allocations: 3.156 MB / 0.9508 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/1.004, allocations: 79.42 kB / 0.9509 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.004, allocations: 57.17 kB / 0.9509 GB, free: 1.512 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.0005948/1.005, allocations: 289.5 kB / 0.9512 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/1.005, allocations: 139 kB / 0.9514 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/1.009, allocations: 2.036 MB / 0.9533 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-05/1.009, allocations: 12 kB / 0.9534 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.009, allocations: 0 / 0.9534 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/1.009, allocations: 15.91 kB / 0.9534 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/1.015, allocations: 2.977 MB / 0.9563 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.015, allocations: 0 / 0.9563 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/1.016, allocations: 167.8 kB / 0.9564 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/1.016, allocations: 133.6 kB / 0.9566 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/1.016, allocations: 43.97 kB / 0.9566 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/1.019, allocations: 3.15 MB / 0.9597 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.019, allocations: 8.016 kB / 0.9597 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/1.024, allocations: 2.229 MB / 0.9619 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/1.024, allocations: 146.8 kB / 0.962 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.024, allocations: 31.88 kB / 0.962 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/1.025, allocations: 19.98 kB / 0.9621 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/1.025, allocations: 92.89 kB / 0.9621 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.025, allocations: 59.97 kB / 0.9622 GB, free: 5.621 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001023/1.026, allocations: 0.6701 MB / 0.9629 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/1.026, allocations: 0 / 0.9629 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003057/1.029, allocations: 1.028 MB / 0.9639 GB, free: 3.914 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.008107/1.037, allocations: 4.012 MB / 0.9678 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003268/1.041, allocations: 1.388 MB / 0.9691 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.041, allocations: 0 / 0.9691 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/1.042, allocations: 0.8698 MB / 0.97 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.045, allocations: 433.2 kB / 0.9704 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/1.067, allocations: 10.38 MB / 0.9805 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.068, allocations: 1.195 MB / 0.9817 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001824/1.07, allocations: 0.6719 MB / 0.9824 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.071, allocations: 0.5656 MB / 0.9829 GB, free: 152 kB / 0.7169 GB Notification: Performance of SimCode: time 2.494e-06/1.071, allocations: 0 / 0.9829 GB, free: 152 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.194, allocations: 51.04 MB / 1.033 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/17.88, allocations: 17.41 kB / 1.033 GB, free: 13.36 MB / 0.7794 GB " [Timeout remaining time 642] (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: 22.250486218999868]