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.001339/0.001339, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001632/0.001632, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.7912/0.7912, allocations: 100.3 MB / 413.6 MB, free: 3.402 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_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.00262/0.00262, allocations: 87.81 kB / 0.564 GB, free: 35.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1426, allocations: 74.46 MB / 0.6367 GB, free: 7.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6423/0.7848, allocations: 226.6 MB / 0.858 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.8015, allocations: 11.75 MB / 0.8694 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.8031, allocations: 107.3 kB / 0.8695 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.8058, allocations: 0.8786 MB / 0.8704 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01634/0.8222, allocations: 5.494 MB / 0.8758 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008518/0.8307, allocations: 2.463 MB / 0.8782 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003947/0.8347, allocations: 2.079 MB / 0.8802 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.8353, allocations: 248 kB / 0.8804 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.839, allocations: 1.413 MB / 0.8818 GB, free: 380 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.8406, allocations: 0.836 MB / 0.8826 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004318/0.841, allocations: 104 kB / 0.8827 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0203/0.8614, allocations: 8.998 MB / 0.8915 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007871/0.8621, allocations: 390.5 kB / 0.8919 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.8632, allocations: 0.5751 MB / 0.8925 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01715/0.8804, allocations: 5.826 MB / 0.8982 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8804, allocations: 0 / 0.8982 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8804, allocations: 3.938 kB / 0.8982 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.202e-05/0.8804, allocations: 0 / 0.8982 GB, free: 15.61 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.006838/0.8873, allocations: 2.752 MB / 0.9008 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.8873, allocations: 8.031 kB / 0.9009 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.517e-05/0.8874, allocations: 26 kB / 0.9009 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001876/0.8875, allocations: 148.3 kB / 0.901 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004177/0.888, allocations: 178.9 kB / 0.9012 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.8905, allocations: 0.9824 MB / 0.9021 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.8905, allocations: 73.98 kB / 0.9022 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.8907, allocations: 95.94 kB / 0.9023 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.8933, allocations: 1.43 MB / 0.9037 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.8934, allocations: 4 kB / 0.9037 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.8935, allocations: 39.98 kB / 0.9037 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.8936, allocations: 85.95 kB / 0.9038 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.8961, allocations: 1.566 MB / 0.9054 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008472/0.9046, allocations: 3.874 MB / 0.9091 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.9063, allocations: 0.7753 MB / 0.9099 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.9074, allocations: 0.5903 MB / 0.9105 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.9085, allocations: 316.7 kB / 0.9108 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.9086, allocations: 51.5 kB / 0.9108 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=114): time 4.248e-06/0.9086, allocations: 0 / 0.9108 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114): time 0.004845/0.9134, allocations: 1.953 MB / 0.9127 GB, free: 432 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.9135, allocations: 90.09 kB / 0.9128 GB, free: 324 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.915, allocations: 0.912 MB / 0.9137 GB, free: 15.39 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.9151, allocations: 45.7 kB / 0.9138 GB, free: 15.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/0.9157, allocations: 0.5377 MB / 0.9143 GB, free: 14.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005326/0.9162, allocations: 412.4 kB / 0.9147 GB, free: 14.39 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.9166, allocations: 182.6 kB / 0.9148 GB, free: 14.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.9168, allocations: 349.9 kB / 0.9152 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000844/0.9176, allocations: 461.8 kB / 0.9156 GB, free: 13.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009646/0.9186, allocations: 0.5161 MB / 0.9161 GB, free: 12.89 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.9204, allocations: 1.052 MB / 0.9172 GB, free: 11.83 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.9204, allocations: 0 / 0.9172 GB, free: 11.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002908/0.9233, allocations: 1.392 MB / 0.9185 GB, free: 10.42 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.9234, allocations: 6.031 kB / 0.9185 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.9234, allocations: 4 kB / 0.9185 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.9239, allocations: 129.5 kB / 0.9186 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008209/0.9247, allocations: 187.7 kB / 0.9188 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/0.9282, allocations: 3.12 MB / 0.9219 GB, free: 6.754 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/0.9291, allocations: 75.39 kB / 0.9219 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.9293, allocations: 67.91 kB / 0.922 GB, free: 6.613 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.0006405/0.9299, allocations: 269.8 kB / 0.9223 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/0.9304, allocations: 148.2 kB / 0.9224 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.9348, allocations: 2.047 MB / 0.9244 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/0.9348, allocations: 12 kB / 0.9244 GB, free: 4.105 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.9348, allocations: 4 kB / 0.9244 GB, free: 4.102 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.9349, allocations: 7.922 kB / 0.9244 GB, free: 4.094 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005881/0.9407, allocations: 2.786 MB / 0.9271 GB, free: 1.242 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.9408, allocations: 4 kB / 0.9272 GB, free: 1.238 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/0.9415, allocations: 171.7 kB / 0.9273 GB, free: 1.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005331/0.942, allocations: 129.5 kB / 0.9274 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.9422, allocations: 40.05 kB / 0.9275 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.9458, allocations: 3.126 MB / 0.9305 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9458, allocations: 4.125 kB / 0.9305 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/0.9503, allocations: 2.236 MB / 0.9327 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.9507, allocations: 142.9 kB / 0.9329 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.9509, allocations: 27.92 kB / 0.9329 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.9515, allocations: 20 kB / 0.9329 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.9517, allocations: 92.77 kB / 0.933 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.9519, allocations: 60.16 kB / 0.933 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001028/0.9529, allocations: 0.6741 MB / 0.9337 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.9529, allocations: 0 / 0.9337 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003517/0.9565, allocations: 1.032 MB / 0.9347 GB, free: 9.23 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.008595/0.965, allocations: 4.006 MB / 0.9386 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003591/0.9686, allocations: 1.396 MB / 0.94 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/0.9686, allocations: 0 / 0.94 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.9705, allocations: 0.8658 MB / 0.9408 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.9731, allocations: 439.6 kB / 0.9413 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/0.9939, allocations: 10.38 MB / 0.9514 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.9946, allocations: 0.6096 MB / 0.952 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001775/0.9964, allocations: 0.6792 MB / 0.9526 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.9974, allocations: 0.5656 MB / 0.9532 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of SimCode: time 1.332e-06/0.9974, allocations: 0 / 0.9532 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/1.128, allocations: 52.46 MB / 1.004 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.57, allocations: 11.61 kB / 1.004 GB, free: 2.055 MB / 0.7481 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.648829968995415]