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.0007755/0.0007755, 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.0007822/0.0007822, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9067/0.9067, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6293/0.6293, allocations: 80.18 MB / 339.4 MB, free: 7.543 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.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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.075e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.7206/0.7206, allocations: 233.5 MB / 0.7205 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.009497/0.7301, allocations: 5.523 MB / 0.7258 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003433/0.7335, allocations: 114.6 kB / 0.726 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.7373, allocations: 0.9022 MB / 0.7268 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.02094/0.7582, allocations: 5.69 MB / 0.7324 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.7682, allocations: 2.512 MB / 0.7348 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0055/0.7737, allocations: 2.298 MB / 0.7371 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.7749, allocations: 249.1 kB / 0.7373 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00623/0.7811, allocations: 1.761 MB / 0.739 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.783, allocations: 0.6954 MB / 0.7397 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0007234/0.7837, allocations: 101.2 kB / 0.7398 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02183/0.8055, allocations: 8.835 MB / 0.7484 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.8067, allocations: 410.5 kB / 0.7488 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.8081, allocations: 0.4948 MB / 0.7493 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02613/0.8342, allocations: 6.538 MB / 0.7557 GB, free: 12.71 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.8342, allocations: 0 / 0.7557 GB, free: 12.71 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.336e-06/0.8342, allocations: 0 / 0.7557 GB, free: 12.71 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001029/0.8343, allocations: 0 / 0.7557 GB, free: 12.71 MB / 0.573 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.009152/0.8435, allocations: 2.781 MB / 0.7584 GB, free: 9.891 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 8.286e-05/0.8436, allocations: 9.469 kB / 0.7584 GB, free: 9.883 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003497/0.8439, allocations: 152.4 kB / 0.7586 GB, free: 9.727 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007043/0.8446, allocations: 182.9 kB / 0.7588 GB, free: 9.547 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.8476, allocations: 0.9942 MB / 0.7597 GB, free: 8.527 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.8476, allocations: 77.92 kB / 0.7598 GB, free: 8.449 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.8478, allocations: 99.98 kB / 0.7599 GB, free: 8.352 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.8503, allocations: 1.433 MB / 0.7613 GB, free: 6.883 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.8503, allocations: 3.984 kB / 0.7613 GB, free: 6.879 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.8505, allocations: 39.98 kB / 0.7613 GB, free: 6.84 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.8506, allocations: 93.94 kB / 0.7614 GB, free: 6.75 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.8531, allocations: 1.552 MB / 0.7629 GB, free: 5.199 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009062/0.8622, allocations: 4.109 MB / 0.767 GB, free: 1.043 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.864, allocations: 0.7754 MB / 0.7677 GB, free: 264 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007846/0.8647, allocations: 0.5843 MB / 0.7683 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00092/0.8657, allocations: 320.7 kB / 0.7686 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.401e-05/0.8657, allocations: 44.19 kB / 0.7686 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=114): time 1.157e-05/0.8658, allocations: 0 / 0.7686 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=114): time 0.00386/0.8696, allocations: 1.961 MB / 0.7705 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.8697, allocations: 94.05 kB / 0.7706 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.8711, allocations: 0.9411 MB / 0.7716 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.8712, allocations: 45.69 kB / 0.7716 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.8717, allocations: 0.5573 MB / 0.7721 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.8721, allocations: 404.4 kB / 0.7725 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.8724, allocations: 190.6 kB / 0.7727 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.8726, allocations: 341.9 kB / 0.773 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/0.8732, allocations: 461.8 kB / 0.7735 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.8741, allocations: 0.5334 MB / 0.774 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.8755, allocations: 1.061 MB / 0.775 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.8755, allocations: 4 kB / 0.775 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002818/0.8783, allocations: 1.411 MB / 0.7764 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.8783, allocations: 7.938 kB / 0.7764 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.8784, allocations: 4.062 kB / 0.7764 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.879, allocations: 124.7 kB / 0.7765 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.8795, allocations: 185.3 kB / 0.7767 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.8831, allocations: 3.126 MB / 0.7798 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/0.8841, allocations: 83.34 kB / 0.7799 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/0.8843, allocations: 64.34 kB / 0.7799 GB, free: 3.477 MB / 0.5886 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.0008969/0.8852, allocations: 283 kB / 0.7802 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/0.8857, allocations: 151.2 kB / 0.7803 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.8895, allocations: 2.041 MB / 0.7823 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/0.8895, allocations: 11.94 kB / 0.7823 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.8896, allocations: 4 kB / 0.7823 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.8896, allocations: 11.97 kB / 0.7823 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004509/0.8941, allocations: 2.787 MB / 0.7851 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.8941, allocations: 3.938 kB / 0.7851 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.8945, allocations: 169 kB / 0.7852 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.8948, allocations: 133.6 kB / 0.7854 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.099e-05/0.8948, allocations: 43.95 kB / 0.7854 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003184/0.898, allocations: 3.14 MB / 0.7885 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.898, allocations: 0 / 0.7885 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/0.9017, allocations: 2.242 MB / 0.7907 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.9022, allocations: 138.8 kB / 0.7908 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.9023, allocations: 27.95 kB / 0.7908 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.9026, allocations: 20.12 kB / 0.7908 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.9028, allocations: 96.81 kB / 0.7909 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/0.903, allocations: 55.97 kB / 0.791 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009678/0.904, allocations: 0.6866 MB / 0.7917 GB, free: 7.148 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.21e-07/0.904, allocations: 0 / 0.7917 GB, free: 7.148 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003916/0.9079, allocations: 1.051 MB / 0.7927 GB, free: 6.094 MB / 0.6042 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.008659/0.9165, allocations: 4.117 MB / 0.7967 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003261/0.9198, allocations: 1.397 MB / 0.7981 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.9198, allocations: 0 / 0.7981 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.9213, allocations: 0.8633 MB / 0.7989 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.9237, allocations: 0.5696 MB / 0.7995 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/0.9458, allocations: 10.66 MB / 0.8099 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.9464, allocations: 0.6109 MB / 0.8105 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001761/0.9481, allocations: 0.6882 MB / 0.8111 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009259/0.9491, allocations: 0.5862 MB / 0.8117 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of SimCode: time 2.745e-06/0.9491, allocations: 0 / 0.8117 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/1.078, allocations: 56.82 MB / 0.8672 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.986/11.06, allocations: 4.062 kB / 0.8672 GB, free: 10.2 MB / 0.6823 GB " [Timeout remaining time 649] (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/jenkins/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: 13.949587302282453]