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.002192/0.002192, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001962/0.001962, allocations: 210 kB / 22.24 MB, free: 5.262 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.852/1.852, allocations: 230.6 MB / 256 MB, free: 7.777 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 1.044/1.044, allocations: 94.62 MB / 407.1 MB, free: 8.824 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.002853/0.002853, allocations: 82.3 kB / 0.5549 GB, free: 38.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2746, allocations: 73.06 MB / 0.6263 GB, free: 168 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 1.183/1.458, allocations: 226.8 MB / 0.8477 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02424/1.482, allocations: 11.76 MB / 0.8592 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003079/1.485, allocations: 105.2 kB / 0.8593 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003932/1.489, allocations: 0.88 MB / 0.8602 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02602/1.515, allocations: 5.496 MB / 0.8655 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01203/1.527, allocations: 2.471 MB / 0.8679 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005697/1.533, allocations: 2.064 MB / 0.87 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009037/1.534, allocations: 232 kB / 0.8702 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005027/1.539, allocations: 1.397 MB / 0.8715 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/1.54, allocations: 0.7735 MB / 0.8723 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/1.541, allocations: 100 kB / 0.8724 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02961/1.57, allocations: 8.755 MB / 0.881 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009905/1.571, allocations: 406.4 kB / 0.8813 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/1.573, allocations: 0.5635 MB / 0.8819 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02705/1.6, allocations: 5.822 MB / 0.8876 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/1.6, allocations: 0 / 0.8876 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of FrontEnd: time 5.04e-06/1.6, allocations: 0 / 0.8876 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.184e-05/1.6, allocations: 0 / 0.8876 GB, free: 13.22 MB / 0.6387 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.009802/1.609, allocations: 2.748 MB / 0.8903 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.802e-05/1.61, allocations: 8.031 kB / 0.8903 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/1.61, allocations: 152.3 kB / 0.8904 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/1.61, allocations: 182.9 kB / 0.8906 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/1.613, allocations: 0.978 MB / 0.8915 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.613, allocations: 77.92 kB / 0.8916 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/1.613, allocations: 91.98 kB / 0.8917 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/1.616, allocations: 1.424 MB / 0.8931 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/1.616, allocations: 4 kB / 0.8931 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/1.616, allocations: 36 kB / 0.8931 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/1.616, allocations: 89.95 kB / 0.8932 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/1.619, allocations: 1.554 MB / 0.8947 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009057/1.628, allocations: 3.881 MB / 0.8985 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/1.63, allocations: 0.7854 MB / 0.8993 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/1.631, allocations: 0.5941 MB / 0.8999 GB, free: 412 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/1.633, allocations: 316.7 kB / 0.9002 GB, free: 96 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.666e-05/1.633, allocations: 43.56 kB / 0.9002 GB, free: 40 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 7.153e-06/1.633, allocations: 0 / 0.9002 GB, free: 40 kB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.005609/1.638, allocations: 1.954 MB / 0.9021 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002532/1.639, allocations: 90.11 kB / 0.9022 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/1.641, allocations: 0.9197 MB / 0.9031 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/1.641, allocations: 53.55 kB / 0.9032 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/1.641, allocations: 0.5338 MB / 0.9037 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/1.642, allocations: 412.4 kB / 0.9041 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/1.642, allocations: 182.6 kB / 0.9042 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002951/1.643, allocations: 349.9 kB / 0.9046 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009578/1.644, allocations: 457.8 kB / 0.905 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/1.645, allocations: 0.5239 MB / 0.9055 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/1.647, allocations: 1.044 MB / 0.9065 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.647, allocations: 0 / 0.9065 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003251/1.65, allocations: 1.385 MB / 0.9079 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/1.65, allocations: 11.92 kB / 0.9079 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.65, allocations: 4 kB / 0.9079 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/1.651, allocations: 122.5 kB / 0.908 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/1.652, allocations: 191.7 kB / 0.9082 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/1.656, allocations: 3.119 MB / 0.9113 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/1.657, allocations: 87.3 kB / 0.9113 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/1.658, allocations: 63.97 kB / 0.9114 GB, free: 4.258 MB / 0.6544 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.0008912/1.658, allocations: 273.8 kB / 0.9117 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005379/1.659, allocations: 147 kB / 0.9118 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/1.664, allocations: 2.036 MB / 0.9138 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/1.664, allocations: 12 kB / 0.9138 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.664, allocations: 0 / 0.9138 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/1.664, allocations: 7.922 kB / 0.9138 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006222/1.67, allocations: 2.79 MB / 0.9165 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.67, allocations: 0 / 0.9165 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/1.671, allocations: 171.8 kB / 0.9167 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/1.671, allocations: 125.6 kB / 0.9168 GB, free: 14.59 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.671, allocations: 44.03 kB / 0.9169 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/1.675, allocations: 3.134 MB / 0.9199 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.675, allocations: 4.156 kB / 0.9199 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/1.68, allocations: 2.24 MB / 0.9221 GB, free: 8.918 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/1.68, allocations: 142.8 kB / 0.9223 GB, free: 8.777 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/1.68, allocations: 20 kB / 0.9223 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/1.681, allocations: 23.98 kB / 0.9223 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/1.681, allocations: 100.7 kB / 0.9224 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.681, allocations: 59.97 kB / 0.9224 GB, free: 8.578 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001179/1.682, allocations: 0.6741 MB / 0.9231 GB, free: 7.898 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.682, allocations: 0 / 0.9231 GB, free: 7.898 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004359/1.687, allocations: 1.028 MB / 0.9241 GB, free: 6.867 MB / 0.67 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.009293/1.696, allocations: 4.002 MB / 0.928 GB, free: 2.824 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003494/1.7, allocations: 1.388 MB / 0.9294 GB, free: 1.414 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.7, allocations: 0 / 0.9294 GB, free: 1.414 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/1.701, allocations: 0.8581 MB / 0.9302 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/1.704, allocations: 439.5 kB / 0.9306 GB, free: 120 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/1.727, allocations: 10.38 MB / 0.9408 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009239/1.728, allocations: 0.6135 MB / 0.9414 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001906/1.73, allocations: 0.6749 MB / 0.942 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.731, allocations: 0.5618 MB / 0.9426 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of SimCode: time 3.146e-06/1.731, allocations: 3.938 kB / 0.9426 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1624/1.893, allocations: 52.58 MB / 0.9939 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.87, allocations: 11.86 kB / 0.9939 GB, free: 15.56 MB / 0.7481 GB " [Timeout remaining time 641] (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: 24.08103500213474]