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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 111.3 kB / 17.6 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 186.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.784/0.784, allocations: 94.6 MB / 399.1 MB, free: 15.74 MB / 334.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-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_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 75.88 kB / 0.5444 GB, free: 12.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5592, allocations: 71.85 MB / 0.6145 GB, free: 3.828 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.9005/1.46, allocations: 260.7 MB / 0.8691 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01666/1.476, allocations: 13.05 MB / 0.8818 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/1.478, allocations: 77.59 kB / 0.8819 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002946/1.481, allocations: 1.035 MB / 0.8829 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01851/1.5, allocations: 5.551 MB / 0.8883 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00888/1.509, allocations: 2.427 MB / 0.8907 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004874/1.514, allocations: 2.063 MB / 0.8927 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008256/1.515, allocations: 247 kB / 0.893 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00468/1.519, allocations: 1.342 MB / 0.8943 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/1.521, allocations: 0.8377 MB / 0.8951 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002379/1.521, allocations: 101.7 kB / 0.8952 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02433/1.545, allocations: 10.96 MB / 0.9059 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000804/1.546, allocations: 394.7 kB / 0.9063 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/1.547, allocations: 0.7071 MB / 0.907 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01937/1.567, allocations: 6.083 MB / 0.9129 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.567, allocations: 0 / 0.9129 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.808e-06/1.567, allocations: 1.094 kB / 0.9129 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.522e-05/1.567, allocations: 2.125 kB / 0.9129 GB, free: 1.406 MB / 0.6856 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.006797/1.573, allocations: 2.832 MB / 0.9157 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.573, allocations: 9.5 kB / 0.9157 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/1.574, allocations: 159 kB / 0.9158 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/1.574, allocations: 174.6 kB / 0.916 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/1.576, allocations: 1.073 MB / 0.917 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/1.576, allocations: 77.22 kB / 0.9171 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/1.576, allocations: 97.77 kB / 0.9172 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/1.578, allocations: 1.402 MB / 0.9186 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/1.578, allocations: 0 / 0.9186 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-05/1.579, allocations: 37.84 kB / 0.9186 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/1.579, allocations: 90.3 kB / 0.9187 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/1.581, allocations: 1.53 MB / 0.9202 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008829/1.59, allocations: 5.845 MB / 0.9259 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/1.591, allocations: 0.7854 MB / 0.9267 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008748/1.592, allocations: 0.5974 MB / 0.9272 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002802/1.595, allocations: 2.4 MB / 0.9296 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/1.595, allocations: 46.86 kB / 0.9296 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=114): time 4.128e-06/1.595, allocations: 0 / 0.9296 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114): time 0.004798/1.6, allocations: 2.111 MB / 0.9317 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/1.6, allocations: 91.77 kB / 0.9318 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/1.601, allocations: 0.9128 MB / 0.9327 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.757e-05/1.602, allocations: 50.64 kB / 0.9327 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/1.602, allocations: 0.5371 MB / 0.9332 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/1.602, allocations: 409.5 kB / 0.9336 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/1.603, allocations: 188.3 kB / 0.9338 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.603, allocations: 340.8 kB / 0.9341 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/1.604, allocations: 459 kB / 0.9346 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008465/1.604, allocations: 0.5209 MB / 0.9351 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/1.606, allocations: 1.052 MB / 0.9361 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.606, allocations: 0.9062 kB / 0.9361 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002437/1.609, allocations: 1.386 MB / 0.9375 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.609, allocations: 6.094 kB / 0.9375 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.609, allocations: 3 kB / 0.9375 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/1.609, allocations: 120.3 kB / 0.9376 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/1.61, allocations: 183.3 kB / 0.9378 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/1.614, allocations: 3.362 MB / 0.941 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/1.615, allocations: 74.08 kB / 0.9411 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/1.615, allocations: 63.05 kB / 0.9412 GB, free: 5.199 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.0006839/1.616, allocations: 297.7 kB / 0.9415 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/1.616, allocations: 135.4 kB / 0.9416 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/1.62, allocations: 2.048 MB / 0.9436 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/1.62, allocations: 11.69 kB / 0.9436 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.62, allocations: 5.438 kB / 0.9436 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.62, allocations: 5.109 kB / 0.9436 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/1.625, allocations: 3.001 MB / 0.9465 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/1.625, allocations: 0 / 0.9465 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/1.626, allocations: 175.2 kB / 0.9467 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004409/1.626, allocations: 126.9 kB / 0.9468 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/1.626, allocations: 52.22 kB / 0.9469 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/1.63, allocations: 3.357 MB / 0.9502 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.63, allocations: 6.562 kB / 0.9502 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/1.633, allocations: 2.228 MB / 0.9523 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/1.634, allocations: 219.6 kB / 0.9526 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/1.634, allocations: 26.48 kB / 0.9526 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/1.634, allocations: 23.14 kB / 0.9526 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.635, allocations: 84.83 kB / 0.9527 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.635, allocations: 67.38 kB / 0.9527 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009291/1.636, allocations: 0.6765 MB / 0.9534 GB, free: 284 kB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.636, allocations: 0 / 0.9534 GB, free: 284 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0036/1.639, allocations: 1.01 MB / 0.9544 GB, free: 52 kB / 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.007524/1.647, allocations: 4.02 MB / 0.9583 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002587/1.649, allocations: 1.397 MB / 0.9597 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.649, allocations: 0 / 0.9597 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/1.651, allocations: 0.8652 MB / 0.9605 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/1.653, allocations: 418.9 kB / 0.9609 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/1.671, allocations: 10.4 MB / 0.9711 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009573/1.672, allocations: 1.195 MB / 0.9722 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00169/1.674, allocations: 0.6741 MB / 0.9729 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000993/1.675, allocations: 0.5658 MB / 0.9735 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2.535e-06/1.675, allocations: 0 / 0.9735 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/1.822, allocations: 50.26 MB / 1.023 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/16.83, allocations: 14.28 kB / 1.023 GB, free: 2.453 MB / 0.7637 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 --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_2/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.93505995598389]