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.001583/0.001583, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002169/0.002169, allocations: 219.9 kB / 23.05 MB, free: 5.074 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.7945/0.7945, allocations: 100.3 MB / 413.5 MB, free: 3.699 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.002458/0.002458, allocations: 83.53 kB / 0.564 GB, free: 35.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1407, allocations: 74.47 MB / 0.6367 GB, free: 7.699 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6773/0.818, allocations: 260.8 MB / 0.8915 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.8367, allocations: 13.07 MB / 0.9042 GB, free: 500 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.8384, allocations: 107.1 kB / 0.9043 GB, free: 392 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.841, allocations: 1.037 MB / 0.9053 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01646/0.8575, allocations: 5.57 MB / 0.9108 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007219/0.8647, allocations: 2.49 MB / 0.9132 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003741/0.8684, allocations: 2.075 MB / 0.9152 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006097/0.8691, allocations: 248 kB / 0.9155 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.8727, allocations: 1.417 MB / 0.9168 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.8738, allocations: 0.8321 MB / 0.9177 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.874, allocations: 100 kB / 0.9178 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02223/0.8962, allocations: 11.16 MB / 0.9287 GB, free: 7.371 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006742/0.8969, allocations: 394.5 kB / 0.929 GB, free: 6.984 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009733/0.8979, allocations: 0.707 MB / 0.9297 GB, free: 6.273 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01882/0.9167, allocations: 6.115 MB / 0.9357 GB, free: 144 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.9167, allocations: 4 kB / 0.9357 GB, free: 140 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9167, allocations: 0 / 0.9357 GB, free: 140 kB / 0.67 GB Notification: Performance of Transformations before backend: time 2.931e-05/0.9167, allocations: 0 / 0.9357 GB, free: 140 kB / 0.67 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.007447/0.9242, allocations: 2.748 MB / 0.9384 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.563e-05/0.9243, allocations: 15.97 kB / 0.9384 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.625e-05/0.9243, allocations: 30 kB / 0.9384 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002127/0.9245, allocations: 152.3 kB / 0.9386 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.925, allocations: 176.6 kB / 0.9387 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.9275, allocations: 0.9745 MB / 0.9397 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/0.9276, allocations: 73.92 kB / 0.9398 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.9277, allocations: 103.9 kB / 0.9399 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.93, allocations: 1.424 MB / 0.9412 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.9301, allocations: 0 / 0.9412 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.9302, allocations: 39.98 kB / 0.9413 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.9303, allocations: 81.95 kB / 0.9414 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.9326, allocations: 1.569 MB / 0.9429 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008623/0.9412, allocations: 5.814 MB / 0.9486 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.9429, allocations: 0.7753 MB / 0.9493 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009606/0.9439, allocations: 0.5981 MB / 0.9499 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.945, allocations: 316.7 kB / 0.9502 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.945, allocations: 51.5 kB / 0.9503 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.987e-06/0.945, allocations: 0 / 0.9503 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004387/0.9494, allocations: 1.946 MB / 0.9522 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.9495, allocations: 90.11 kB / 0.9523 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.9508, allocations: 0.9198 MB / 0.9531 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.419e-05/0.9509, allocations: 41.7 kB / 0.9532 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/0.9515, allocations: 0.5416 MB / 0.9537 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.9519, allocations: 412.4 kB / 0.9541 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.9522, allocations: 186.6 kB / 0.9543 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002217/0.9524, allocations: 345.9 kB / 0.9546 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007726/0.9532, allocations: 453.8 kB / 0.9551 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008671/0.9541, allocations: 0.5239 MB / 0.9556 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.9558, allocations: 1.044 MB / 0.9566 GB, free: 10 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9558, allocations: 0 / 0.9566 GB, free: 10 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003014/0.9589, allocations: 1.388 MB / 0.9579 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.9589, allocations: 4 kB / 0.9579 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.9589, allocations: 0 / 0.9579 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/0.9595, allocations: 129.6 kB / 0.9581 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.9602, allocations: 179.8 kB / 0.9582 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.9637, allocations: 3.156 MB / 0.9613 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/0.9645, allocations: 75.39 kB / 0.9614 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.9647, allocations: 66.88 kB / 0.9615 GB, free: 4.773 MB / 0.7012 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.0006149/0.9653, allocations: 277.7 kB / 0.9617 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/0.9656, allocations: 147 kB / 0.9619 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/0.9696, allocations: 2.042 MB / 0.9639 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/0.9697, allocations: 12 kB / 0.9639 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.9697, allocations: 0 / 0.9639 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.9697, allocations: 7.922 kB / 0.9639 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005275/0.975, allocations: 2.966 MB / 0.9668 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.975, allocations: 3.984 kB / 0.9668 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/0.9757, allocations: 171.9 kB / 0.9669 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/0.9761, allocations: 125.5 kB / 0.9671 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-05/0.9762, allocations: 43.97 kB / 0.9671 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003363/0.9796, allocations: 3.161 MB / 0.9702 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.9796, allocations: 4.031 kB / 0.9702 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/0.9835, allocations: 2.236 MB / 0.9724 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.9839, allocations: 142.9 kB / 0.9725 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.9841, allocations: 31.91 kB / 0.9725 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.9846, allocations: 20.25 kB / 0.9726 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.9848, allocations: 88.78 kB / 0.9726 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.9849, allocations: 63.97 kB / 0.9727 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009936/0.9859, allocations: 0.674 MB / 0.9734 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.9859, allocations: 0 / 0.9734 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003608/0.9895, allocations: 1.028 MB / 0.9744 GB, free: 7.172 MB / 0.7169 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.007497/0.997, allocations: 4.009 MB / 0.9783 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002751/0.9998, allocations: 1.392 MB / 0.9796 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.9998, allocations: 0 / 0.9796 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/1.001, allocations: 0.8582 MB / 0.9805 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/1.004, allocations: 435.1 kB / 0.9809 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/1.022, allocations: 10.38 MB / 0.991 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.023, allocations: 1.207 MB / 0.9922 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001604/1.025, allocations: 0.6831 MB / 0.9929 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009369/1.025, allocations: 0.5618 MB / 0.9934 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.025, allocations: 0 / 0.9934 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/1.138, allocations: 51.05 MB / 1.043 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.44, allocations: 5.938 kB / 1.043 GB, free: 0.6133 MB / 0.7794 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.52988559298683]