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.001301/0.001301, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001372/0.001372, allocations: 218.5 kB / 23.03 MB, free: 4.949 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 0.7637/0.7637, allocations: 94.62 MB / 407.8 MB, free: 8.852 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="cs",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.002444/0.002444, allocations: 83.62 kB / 0.5557 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.132, allocations: 73.06 MB / 0.627 GB, free: 328 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6244/0.7565, allocations: 226.5 MB / 0.8483 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.7742, allocations: 11.75 MB / 0.8598 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.7758, allocations: 109.7 kB / 0.8599 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.7784, allocations: 0.8795 MB / 0.8607 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01492/0.7933, allocations: 5.492 MB / 0.8661 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007486/0.8008, allocations: 2.472 MB / 0.8685 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003509/0.8043, allocations: 2.072 MB / 0.8705 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.8049, allocations: 244 kB / 0.8708 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.8083, allocations: 1.405 MB / 0.8721 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.8098, allocations: 0.8321 MB / 0.8729 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.81, allocations: 100 kB / 0.873 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01988/0.8299, allocations: 9.002 MB / 0.8818 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.8306, allocations: 398.5 kB / 0.8822 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009878/0.8316, allocations: 0.5712 MB / 0.8828 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.8479, allocations: 5.818 MB / 0.8884 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8479, allocations: 0 / 0.8884 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8479, allocations: 0 / 0.8884 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.8479, allocations: 0 / 0.8884 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.006143/0.8541, allocations: 2.748 MB / 0.8911 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8541, allocations: 8.031 kB / 0.8911 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.144e-05/0.8542, allocations: 30 kB / 0.8912 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.8544, allocations: 148.3 kB / 0.8913 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.8547, allocations: 186.9 kB / 0.8915 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.8567, allocations: 0.974 MB / 0.8924 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/0.8567, allocations: 77.98 kB / 0.8925 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.8569, allocations: 96 kB / 0.8926 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.8592, allocations: 1.42 MB / 0.894 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.8592, allocations: 0 / 0.894 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/0.8593, allocations: 36 kB / 0.894 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.8594, allocations: 85.95 kB / 0.8941 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.8617, allocations: 1.566 MB / 0.8956 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007267/0.869, allocations: 3.878 MB / 0.8994 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.8706, allocations: 0.7854 MB / 0.9002 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009263/0.8715, allocations: 0.5942 MB / 0.9008 GB, free: 380 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.8725, allocations: 316.7 kB / 0.9011 GB, free: 64 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.8725, allocations: 51.5 kB / 0.9011 GB, free: 0 / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.396e-06/0.8726, allocations: 0 / 0.9011 GB, free: 0 / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004198/0.8767, allocations: 1.954 MB / 0.903 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.8768, allocations: 94.05 kB / 0.9031 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.878, allocations: 0.9081 MB / 0.904 GB, free: 13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.583e-05/0.8781, allocations: 49.69 kB / 0.904 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.8786, allocations: 0.5454 MB / 0.9046 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/0.879, allocations: 412.4 kB / 0.905 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/0.8793, allocations: 182.6 kB / 0.9051 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8795, allocations: 345.9 kB / 0.9055 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007761/0.8802, allocations: 465.8 kB / 0.9059 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008917/0.8811, allocations: 0.5161 MB / 0.9064 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.8829, allocations: 1.044 MB / 0.9074 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8829, allocations: 0 / 0.9074 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002717/0.8856, allocations: 1.4 MB / 0.9088 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.8856, allocations: 4 kB / 0.9088 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8857, allocations: 0 / 0.9088 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/0.8861, allocations: 121.6 kB / 0.9089 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.8869, allocations: 183.8 kB / 0.9091 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.8902, allocations: 3.12 MB / 0.9122 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.8909, allocations: 79.38 kB / 0.9122 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.891, allocations: 67.8 kB / 0.9123 GB, free: 4.23 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.0005342/0.8916, allocations: 277.7 kB / 0.9126 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.8919, allocations: 147 kB / 0.9127 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.896, allocations: 2.04 MB / 0.9147 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/0.896, allocations: 12 kB / 0.9147 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.896, allocations: 4 kB / 0.9147 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.896, allocations: 7.922 kB / 0.9147 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005064/0.9011, allocations: 2.782 MB / 0.9174 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.9011, allocations: 0 / 0.9174 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/0.9018, allocations: 167.8 kB / 0.9176 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.9023, allocations: 133.6 kB / 0.9177 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.9024, allocations: 43.95 kB / 0.9178 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003363/0.9057, allocations: 3.134 MB / 0.9208 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9057, allocations: 3.938 kB / 0.9208 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.9099, allocations: 2.244 MB / 0.923 GB, free: 8.883 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.9103, allocations: 138.9 kB / 0.9231 GB, free: 8.746 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.9105, allocations: 23.94 kB / 0.9232 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/0.911, allocations: 20 kB / 0.9232 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.9111, allocations: 96.89 kB / 0.9233 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.9113, allocations: 63.95 kB / 0.9233 GB, free: 8.547 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000946/0.9122, allocations: 0.6701 MB / 0.924 GB, free: 7.871 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.9122, allocations: 4 kB / 0.924 GB, free: 7.867 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003066/0.9153, allocations: 1.02 MB / 0.925 GB, free: 6.844 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.007338/0.9226, allocations: 4.01 MB / 0.9289 GB, free: 2.793 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002767/0.9254, allocations: 1.384 MB / 0.9303 GB, free: 1.383 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.9254, allocations: 4 kB / 0.9303 GB, free: 1.379 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.9269, allocations: 0.866 MB / 0.9311 GB, free: 500 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.9289, allocations: 427.7 kB / 0.9315 GB, free: 84 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/0.9463, allocations: 10.39 MB / 0.9417 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.947, allocations: 0.6096 MB / 0.9423 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001542/0.9485, allocations: 0.6748 MB / 0.9429 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008903/0.9494, allocations: 0.5618 MB / 0.9435 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/0.9494, allocations: 0 / 0.9435 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/1.067, allocations: 52.48 MB / 0.9947 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.68, allocations: 15.03 kB / 0.9947 GB, free: 15.65 MB / 0.7481 GB " [Timeout remaining time 643] (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 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.7374970150413]