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.005733/0.005733, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001323/0.001323, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6538/0.6538, allocations: 91.19 MB / 381.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 79.89 kB / 0.5164 GB, free: 4.621 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.295, allocations: 67.69 MB / 0.5825 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5226/0.8176, allocations: 258.9 MB / 0.8353 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.8312, allocations: 12.92 MB / 0.8479 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.8327, allocations: 72.03 kB / 0.8479 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.8351, allocations: 0.9881 MB / 0.8489 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.8498, allocations: 5.447 MB / 0.8542 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005844/0.8557, allocations: 2.411 MB / 0.8566 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.8581, allocations: 2.012 MB / 0.8585 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.8585, allocations: 378 kB / 0.8589 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.8607, allocations: 1.308 MB / 0.8602 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007732/0.8615, allocations: 0.801 MB / 0.861 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.8616, allocations: 100 kB / 0.8611 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01641/0.878, allocations: 10.6 MB / 0.8714 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004338/0.8785, allocations: 386.6 kB / 0.8718 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008429/0.8794, allocations: 0.7071 MB / 0.8725 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.892, allocations: 6.033 MB / 0.8784 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.892, allocations: 0 / 0.8784 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.892, allocations: 0 / 0.8784 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.8921, allocations: 0 / 0.8784 GB, free: 9.812 MB / 0.6231 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.004822/0.8969, allocations: 2.718 MB / 0.881 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.8969, allocations: 12.03 kB / 0.881 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.8971, allocations: 152.3 kB / 0.8812 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.8973, allocations: 166 kB / 0.8813 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.8989, allocations: 1.045 MB / 0.8823 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.899, allocations: 69.98 kB / 0.8824 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.8991, allocations: 96 kB / 0.8825 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.9009, allocations: 1.397 MB / 0.8839 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.9009, allocations: 4 kB / 0.8839 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/0.901, allocations: 47.88 kB / 0.8839 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-05/0.9011, allocations: 85.89 kB / 0.884 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.903, allocations: 1.538 MB / 0.8855 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006523/0.9095, allocations: 5.833 MB / 0.8912 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.9108, allocations: 0.8595 MB / 0.892 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.9117, allocations: 0.6727 MB / 0.8927 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/0.9134, allocations: 2.41 MB / 0.895 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.9135, allocations: 47.62 kB / 0.8951 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.166e-06/0.9135, allocations: 3.938 kB / 0.8951 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.003615/0.9171, allocations: 2.099 MB / 0.8971 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.9172, allocations: 86.23 kB / 0.8972 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/0.9181, allocations: 0.9027 MB / 0.8981 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.9182, allocations: 45.69 kB / 0.8982 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.9185, allocations: 0.5253 MB / 0.8987 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.9188, allocations: 390.2 kB / 0.899 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.9191, allocations: 182.6 kB / 0.8992 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.9192, allocations: 341.9 kB / 0.8995 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000638/0.9198, allocations: 461.8 kB / 0.9 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/0.9206, allocations: 0.5239 MB / 0.9005 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.922, allocations: 1.047 MB / 0.9015 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.922, allocations: 4 kB / 0.9015 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00211/0.9241, allocations: 1.379 MB / 0.9029 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9242, allocations: 8 kB / 0.9029 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9242, allocations: 0 / 0.9029 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/0.9246, allocations: 133.5 kB / 0.903 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.9252, allocations: 179.8 kB / 0.9032 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.9278, allocations: 3.361 MB / 0.9065 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.9283, allocations: 79.05 kB / 0.9065 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.9284, allocations: 59.97 kB / 0.9066 GB, free: 11.28 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.0004223/0.9288, allocations: 280.8 kB / 0.9069 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.9291, allocations: 130.4 kB / 0.907 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.9323, allocations: 2.046 MB / 0.909 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/0.9323, allocations: 12 kB / 0.909 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9323, allocations: 4 kB / 0.909 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.9323, allocations: 7.969 kB / 0.909 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00398/0.9363, allocations: 3.004 MB / 0.9119 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.9363, allocations: 0 / 0.9119 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.9369, allocations: 171.8 kB / 0.9121 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003598/0.9373, allocations: 133.6 kB / 0.9122 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/0.9374, allocations: 43.95 kB / 0.9123 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.9398, allocations: 3.345 MB / 0.9155 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9398, allocations: 4.031 kB / 0.9155 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.9429, allocations: 2.236 MB / 0.9177 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.9432, allocations: 211.2 kB / 0.9179 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.9433, allocations: 23.94 kB / 0.9179 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.9438, allocations: 20 kB / 0.918 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.9439, allocations: 89.06 kB / 0.918 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.944, allocations: 59.88 kB / 0.9181 GB, free: 15.03 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007857/0.9448, allocations: 0.6655 MB / 0.9188 GB, free: 14.36 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.493e-06/0.9448, allocations: 0 / 0.9188 GB, free: 14.36 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002332/0.9472, allocations: 0.9987 MB / 0.9197 GB, free: 13.36 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.006004/0.9532, allocations: 3.996 MB / 0.9236 GB, free: 9.324 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002321/0.9555, allocations: 1.472 MB / 0.9251 GB, free: 7.828 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9556, allocations: 0 / 0.9251 GB, free: 7.828 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.9568, allocations: 0.9293 MB / 0.926 GB, free: 6.875 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.9586, allocations: 420.5 kB / 0.9264 GB, free: 6.477 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.9721, allocations: 10.24 MB / 0.9364 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/0.9727, allocations: 1.187 MB / 0.9375 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001277/0.974, allocations: 0.6782 MB / 0.9382 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006858/0.9747, allocations: 0.5578 MB / 0.9387 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of SimCode: time 7.22e-07/0.9747, allocations: 0 / 0.9387 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/1.09, allocations: 50.18 MB / 0.9878 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/14.01, allocations: 18.83 kB / 0.9878 GB, free: 7.668 MB / 0.7325 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