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.001761/0.001761, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001991/0.001991, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.678/1.678, allocations: 230.6 MB / 256 MB, free: 7.996 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.9398/0.9398, allocations: 94.56 MB / 407 MB, free: 9.168 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",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.003111/0.003111, allocations: 91.83 kB / 0.5549 GB, free: 38.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2128, allocations: 73.05 MB / 0.6263 GB, free: 488 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 1.208/1.42, allocations: 260.8 MB / 0.881 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02231/1.443, allocations: 13.06 MB / 0.8938 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/1.445, allocations: 107.1 kB / 0.8939 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003925/1.449, allocations: 1.037 MB / 0.8949 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02249/1.472, allocations: 5.57 MB / 0.9003 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0114/1.483, allocations: 2.49 MB / 0.9028 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005313/1.488, allocations: 2.068 MB / 0.9048 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/1.489, allocations: 248 kB / 0.905 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004517/1.494, allocations: 1.393 MB / 0.9064 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/1.496, allocations: 0.8322 MB / 0.9072 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004574/1.496, allocations: 104 kB / 0.9073 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02921/1.526, allocations: 11.16 MB / 0.9182 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009375/1.526, allocations: 394.5 kB / 0.9186 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001842/1.528, allocations: 0.707 MB / 0.9192 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0254/1.554, allocations: 6.103 MB / 0.9252 GB, free: 12.85 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.554, allocations: 0 / 0.9252 GB, free: 12.85 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.763e-06/1.554, allocations: 0 / 0.9252 GB, free: 12.85 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.973e-05/1.554, allocations: 3.938 kB / 0.9252 GB, free: 12.84 MB / 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.009867/1.564, allocations: 2.763 MB / 0.9279 GB, free: 10.04 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.564, allocations: 8.031 kB / 0.9279 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005374/1.564, allocations: 152.3 kB / 0.9281 GB, free: 9.871 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006441/1.565, allocations: 174.9 kB / 0.9282 GB, free: 9.699 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/1.568, allocations: 0.9779 MB / 0.9292 GB, free: 8.672 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-05/1.568, allocations: 73.98 kB / 0.9293 GB, free: 8.598 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/1.568, allocations: 92 kB / 0.9293 GB, free: 8.508 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/1.571, allocations: 1.42 MB / 0.9307 GB, free: 7.07 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/1.571, allocations: 0 / 0.9307 GB, free: 7.07 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/1.571, allocations: 43.98 kB / 0.9308 GB, free: 7.027 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/1.571, allocations: 89.95 kB / 0.9309 GB, free: 6.941 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/1.574, allocations: 1.569 MB / 0.9324 GB, free: 5.367 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/1.586, allocations: 5.803 MB / 0.9381 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/1.587, allocations: 0.7825 MB / 0.9388 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/1.589, allocations: 0.5941 MB / 0.9394 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.59, allocations: 320.6 kB / 0.9397 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/1.59, allocations: 44.31 kB / 0.9398 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.477e-06/1.59, allocations: 0 / 0.9398 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004623/1.594, allocations: 1.954 MB / 0.9417 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/1.595, allocations: 86.11 kB / 0.9417 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/1.596, allocations: 0.9236 MB / 0.9426 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.59e-05/1.596, allocations: 49.69 kB / 0.9427 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/1.597, allocations: 0.5376 MB / 0.9432 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006695/1.597, allocations: 416.4 kB / 0.9436 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/1.598, allocations: 186.6 kB / 0.9438 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.598, allocations: 345.8 kB / 0.9441 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009124/1.599, allocations: 457.8 kB / 0.9446 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/1.6, allocations: 0.52 MB / 0.9451 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/1.602, allocations: 1.048 MB / 0.9461 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.602, allocations: 0 / 0.9461 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002817/1.604, allocations: 1.385 MB / 0.9474 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.605, allocations: 11.94 kB / 0.9475 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.605, allocations: 4 kB / 0.9475 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/1.605, allocations: 117 kB / 0.9476 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/1.606, allocations: 183.8 kB / 0.9477 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/1.609, allocations: 3.147 MB / 0.9508 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/1.61, allocations: 83.38 kB / 0.9509 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/1.61, allocations: 68.03 kB / 0.951 GB, free: 1.492 MB / 0.6856 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.0005528/1.611, allocations: 277.5 kB / 0.9512 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/1.611, allocations: 139 kB / 0.9514 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/1.616, allocations: 2.036 MB / 0.9533 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/1.616, allocations: 12 kB / 0.9534 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.616, allocations: 4 kB / 0.9534 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.616, allocations: 11.86 kB / 0.9534 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/1.622, allocations: 2.969 MB / 0.9563 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.622, allocations: 0 / 0.9563 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/1.623, allocations: 167.8 kB / 0.9564 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/1.623, allocations: 133.5 kB / 0.9566 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.623, allocations: 44.03 kB / 0.9566 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/1.627, allocations: 3.162 MB / 0.9597 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.627, allocations: 3.984 kB / 0.9597 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003893/1.631, allocations: 2.24 MB / 0.9619 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/1.631, allocations: 138.8 kB / 0.962 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/1.631, allocations: 31.92 kB / 0.962 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/1.632, allocations: 16 kB / 0.9621 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/1.632, allocations: 96.77 kB / 0.9622 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002576/1.633, allocations: 60.03 kB / 0.9622 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001103/1.634, allocations: 0.6779 MB / 0.9629 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.634, allocations: 0 / 0.9629 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003711/1.637, allocations: 1.02 MB / 0.9639 GB, free: 3.902 MB / 0.7012 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.008895/1.646, allocations: 4.002 MB / 0.9678 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003246/1.649, allocations: 1.396 MB / 0.9691 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.649, allocations: 0 / 0.9691 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.651, allocations: 0.8542 MB / 0.97 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.654, allocations: 436.8 kB / 0.9704 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02508/1.679, allocations: 10.39 MB / 0.9805 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/1.681, allocations: 1.203 MB / 0.9817 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00199/1.683, allocations: 0.6718 MB / 0.9824 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/1.684, allocations: 0.5618 MB / 0.9829 GB, free: 136 kB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/1.684, allocations: 0 / 0.9829 GB, free: 136 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/1.822, allocations: 51.04 MB / 1.033 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.71/19.54, allocations: 12.03 kB / 1.033 GB, free: 13.35 MB / 0.7794 GB " [Timeout remaining time 640] (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: 24.61366104707122]