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.00203/0.00203, 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.002856/0.002856, allocations: 211.4 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.83/0.83, allocations: 100.9 MB / 413.3 MB, free: 2.848 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.002592/0.002592, allocations: 85.31 kB / 0.5641 GB, free: 35.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1511, allocations: 74.62 MB / 0.6369 GB, free: 6.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6792/0.8304, allocations: 226.7 MB / 0.8584 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.85, allocations: 11.78 MB / 0.8699 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.8519, allocations: 107.6 kB / 0.87 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.8547, allocations: 0.8785 MB / 0.8708 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01632/0.871, allocations: 5.498 MB / 0.8762 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007943/0.879, allocations: 2.463 MB / 0.8786 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00417/0.8831, allocations: 2.071 MB / 0.8806 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005466/0.8837, allocations: 240 kB / 0.8809 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.8872, allocations: 1.401 MB / 0.8822 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.8884, allocations: 0.7735 MB / 0.883 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.8885, allocations: 100 kB / 0.8831 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01996/0.9085, allocations: 8.764 MB / 0.8916 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007188/0.9092, allocations: 394.5 kB / 0.892 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.9102, allocations: 0.5673 MB / 0.8926 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.928, allocations: 5.818 MB / 0.8982 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.928, allocations: 0 / 0.8982 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.963e-06/0.928, allocations: 0 / 0.8982 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.928, allocations: 3.938 kB / 0.8983 GB, free: 14.38 MB / 0.6544 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.006402/0.9344, allocations: 2.759 MB / 0.9009 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.9344, allocations: 13.47 kB / 0.901 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.9346, allocations: 156.3 kB / 0.9011 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.935, allocations: 182.9 kB / 0.9013 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.9372, allocations: 0.9629 MB / 0.9022 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.9372, allocations: 73.98 kB / 0.9023 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.9374, allocations: 107.9 kB / 0.9024 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.9397, allocations: 1.428 MB / 0.9038 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.9397, allocations: 0 / 0.9038 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.9398, allocations: 36 kB / 0.9038 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.9399, allocations: 85.95 kB / 0.9039 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.9421, allocations: 1.562 MB / 0.9054 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007285/0.9494, allocations: 3.867 MB / 0.9092 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.951, allocations: 0.7702 MB / 0.91 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/0.952, allocations: 0.5902 MB / 0.9105 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.953, allocations: 320.7 kB / 0.9108 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.9531, allocations: 43.56 kB / 0.9109 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=114): time 5.901e-06/0.9531, allocations: 3.984 kB / 0.9109 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114): time 0.004228/0.9573, allocations: 1.953 MB / 0.9128 GB, free: 15.24 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.9574, allocations: 90.11 kB / 0.9129 GB, free: 15.13 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.9587, allocations: 0.9237 MB / 0.9138 GB, free: 14.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-05/0.9588, allocations: 45.69 kB / 0.9138 GB, free: 14.14 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.9593, allocations: 0.5338 MB / 0.9143 GB, free: 13.61 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.9597, allocations: 412.4 kB / 0.9147 GB, free: 13.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.96, allocations: 186.6 kB / 0.9149 GB, free: 13.01 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.9602, allocations: 349.9 kB / 0.9153 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/0.9609, allocations: 462.6 kB / 0.9157 GB, free: 12.21 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/0.9618, allocations: 0.5161 MB / 0.9162 GB, free: 11.69 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.9636, allocations: 1.048 MB / 0.9172 GB, free: 10.63 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9636, allocations: 4 kB / 0.9172 GB, free: 10.63 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002646/0.9662, allocations: 1.388 MB / 0.9186 GB, free: 9.227 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.9663, allocations: 8 kB / 0.9186 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9663, allocations: 4 kB / 0.9186 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004789/0.9668, allocations: 117.2 kB / 0.9187 GB, free: 9.098 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/0.9675, allocations: 187.7 kB / 0.9189 GB, free: 8.914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/0.9709, allocations: 3.118 MB / 0.9219 GB, free: 5.566 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/0.9714, allocations: 79.38 kB / 0.922 GB, free: 5.488 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.9716, allocations: 63.97 kB / 0.9221 GB, free: 5.426 MB / 0.67 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.0005465/0.9721, allocations: 285.7 kB / 0.9223 GB, free: 5.137 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/0.9725, allocations: 143 kB / 0.9225 GB, free: 4.996 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.9763, allocations: 2.04 MB / 0.9245 GB, free: 2.926 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/0.9763, allocations: 15.98 kB / 0.9245 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.9763, allocations: 4 kB / 0.9245 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.9763, allocations: 11.91 kB / 0.9245 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.9813, allocations: 2.782 MB / 0.9272 GB, free: 48 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.9813, allocations: 0 / 0.9272 GB, free: 48 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/0.982, allocations: 175.7 kB / 0.9274 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.9824, allocations: 121.7 kB / 0.9275 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-05/0.9825, allocations: 47.95 kB / 0.9275 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.986, allocations: 3.134 MB / 0.9306 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.986, allocations: 4.125 kB / 0.9306 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/0.99, allocations: 2.236 MB / 0.9328 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/0.9904, allocations: 138.9 kB / 0.9329 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.9906, allocations: 31.94 kB / 0.933 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.9911, allocations: 16 kB / 0.933 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.9912, allocations: 96.75 kB / 0.9331 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.9914, allocations: 64.03 kB / 0.9331 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009774/0.9924, allocations: 0.674 MB / 0.9338 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.9924, allocations: 4 kB / 0.9338 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002956/0.9953, allocations: 1.02 MB / 0.9348 GB, free: 8.035 MB / 0.6856 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.007519/1.003, allocations: 4.01 MB / 0.9387 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002706/1.006, allocations: 1.396 MB / 0.9401 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.006, allocations: 7.938 kB / 0.9401 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/1.007, allocations: 0.8542 MB / 0.9409 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.009, allocations: 435.2 kB / 0.9413 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/1.028, allocations: 10.39 MB / 0.9515 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/1.029, allocations: 0.6057 MB / 0.9521 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001718/1.031, allocations: 0.6784 MB / 0.9527 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.032, allocations: 0.5656 MB / 0.9533 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of SimCode: time 1.463e-06/1.032, allocations: 0 / 0.9533 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/1.151, allocations: 52.6 MB / 1.005 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.21, allocations: 2.812 kB / 1.005 GB, free: 0.7031 MB / 0.7481 GB " [Timeout remaining time 644] (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/jenkins1/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: 20.231414834037423]