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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 192 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6404/0.6404, allocations: 89.51 MB / 379.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 85.75 kB / 457.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1115, allocations: 67.31 MB / 0.5127 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5158/0.6273, allocations: 259.3 MB / 0.7659 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.6433, allocations: 13.11 MB / 0.7787 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.6443, allocations: 19.94 kB / 0.7788 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.6466, allocations: 0.8945 MB / 0.7796 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.6586, allocations: 4.685 MB / 0.7842 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005222/0.6639, allocations: 2.096 MB / 0.7862 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002731/0.6666, allocations: 2.579 MB / 0.7888 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.6671, allocations: 310.5 kB / 0.7891 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.669, allocations: 1.078 MB / 0.7901 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.6698, allocations: 0.7664 MB / 0.7909 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.6699, allocations: 68 kB / 0.7909 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/0.6894, allocations: 11.85 MB / 0.8025 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007206/0.6902, allocations: 334.8 kB / 0.8028 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001/0.6912, allocations: 0.5869 MB / 0.8034 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.7058, allocations: 6.134 MB / 0.8094 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.7058, allocations: 3.984 kB / 0.8094 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7058, allocations: 0 / 0.8094 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.56e-05/0.7059, allocations: 4 kB / 0.8094 GB, free: 3.199 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006772/0.7127, allocations: 2.423 MB / 0.8118 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7127, allocations: 8.031 kB / 0.8118 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000222/0.713, allocations: 144.1 kB / 0.8119 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.7133, allocations: 130.5 kB / 0.812 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.7143, allocations: 0.6149 MB / 0.8126 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.7144, allocations: 73.92 kB / 0.8127 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.7145, allocations: 88 kB / 0.8128 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.7166, allocations: 1.381 MB / 0.8141 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.7167, allocations: 0 / 0.8141 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/0.7168, allocations: 39.98 kB / 0.8142 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.7169, allocations: 81.95 kB / 0.8142 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.719, allocations: 1.511 MB / 0.8157 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00612/0.7251, allocations: 5.107 MB / 0.8207 GB, free: 7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.7266, allocations: 0.8528 MB / 0.8215 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009043/0.7275, allocations: 0.6766 MB / 0.8222 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/0.7293, allocations: 2.398 MB / 0.8245 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.7293, allocations: 47.69 kB / 0.8246 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 3.075e-06/0.7294, allocations: 4 kB / 0.8246 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.003729/0.7331, allocations: 2.061 MB / 0.8266 GB, free: 376 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.7332, allocations: 94.23 kB / 0.8267 GB, free: 260 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2122/0.9453, allocations: 0.609 MB / 0.8273 GB, free: 243.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002343/0.9456, allocations: 50.36 kB / 0.8273 GB, free: 243.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.9459, allocations: 388.8 kB / 0.8277 GB, free: 243.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.9462, allocations: 388.8 kB / 0.8281 GB, free: 243.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.9465, allocations: 181.8 kB / 0.8283 GB, free: 243.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.9466, allocations: 346.9 kB / 0.8286 GB, free: 243.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008086/0.9474, allocations: 461.1 kB / 0.829 GB, free: 243.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.9484, allocations: 0.5223 MB / 0.8295 GB, free: 243 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.9503, allocations: 1.05 MB / 0.8306 GB, free: 242.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.9503, allocations: 0 / 0.8306 GB, free: 242.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003198/0.9535, allocations: 1.352 MB / 0.8319 GB, free: 241.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.9536, allocations: 8.266 kB / 0.8319 GB, free: 241.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.9536, allocations: 1.094 kB / 0.8319 GB, free: 241.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.9541, allocations: 119.3 kB / 0.832 GB, free: 241.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.9549, allocations: 189.1 kB / 0.8322 GB, free: 241.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.9573, allocations: 3.124 MB / 0.8352 GB, free: 239 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.9579, allocations: 88.81 kB / 0.8353 GB, free: 238.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.958, allocations: 65.38 kB / 0.8354 GB, free: 238.9 MB / 0.6231 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.0003992/0.9584, allocations: 261.7 kB / 0.8356 GB, free: 238.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.9587, allocations: 103.4 kB / 0.8357 GB, free: 238.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/0.9617, allocations: 2.028 MB / 0.8377 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.9617, allocations: 16 kB / 0.8377 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9617, allocations: 1.219 kB / 0.8377 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.9617, allocations: 4.266 kB / 0.8377 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.9654, allocations: 2.886 MB / 0.8406 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.9654, allocations: 0 / 0.8406 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.966, allocations: 176.3 kB / 0.8407 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.9664, allocations: 129 kB / 0.8408 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/0.9665, allocations: 43.39 kB / 0.8409 GB, free: 236.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.9684, allocations: 3.126 MB / 0.8439 GB, free: 233.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.9684, allocations: 2.016 kB / 0.8439 GB, free: 233.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.9712, allocations: 2.19 MB / 0.8461 GB, free: 232.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.9714, allocations: 179.5 kB / 0.8462 GB, free: 232.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.9715, allocations: 27.17 kB / 0.8463 GB, free: 232.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.972, allocations: 48.61 kB / 0.8463 GB, free: 232.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.9722, allocations: 92.03 kB / 0.8464 GB, free: 232.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.9723, allocations: 63.94 kB / 0.8465 GB, free: 232.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005047/0.9728, allocations: 480.3 kB / 0.8469 GB, free: 231.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9728, allocations: 0 / 0.8469 GB, free: 231.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002297/0.9751, allocations: 0.9819 MB / 0.8479 GB, free: 231.7 MB / 0.6231 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.00588/0.981, allocations: 3.956 MB / 0.8518 GB, free: 230 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002379/0.9834, allocations: 1.47 MB / 0.8532 GB, free: 229.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9834, allocations: 0 / 0.8532 GB, free: 229.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.9847, allocations: 0.9286 MB / 0.8541 GB, free: 228.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.9865, allocations: 370.8 kB / 0.8544 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.9986, allocations: 9.812 MB / 0.864 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.999, allocations: 1.089 MB / 0.8651 GB, free: 222.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001219/1, allocations: 0.6458 MB / 0.8657 GB, free: 222.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/1.001, allocations: 435.1 kB / 0.8661 GB, free: 222.4 MB / 0.6231 GB Notification: Performance of SimCode: time 8.22e-07/1.001, allocations: 0 / 0.8661 GB, free: 222.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/1.052, allocations: 44.47 MB / 0.9096 GB, free: 183.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.052, allocations: 267.6 kB / 0.9098 GB, free: 183.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/4.13, allocations: 7.875 kB / 0.9098 GB, free: 183.1 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/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) Reference file matches