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.0007601/0.0007601, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002245, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001494/0.001494, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00182/0.003314, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.082/1.082, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09876/1.181, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.7213/0.7213, allocations: 118.8 MB / 362.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07376/0.795, allocations: 35.85 MB / 398.8 MB, free: 13.19 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 400.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.641e-05/3.847e-05, allocations: 2.312 kB / 400.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.3952/0.3952, allocations: 150 MB / 0.5371 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005238/0.4004, allocations: 2.764 MB / 0.5398 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.4013, allocations: 115 kB / 0.5399 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006865/0.402, allocations: 293.3 kB / 0.5402 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.4055, allocations: 1.718 MB / 0.5419 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.4071, allocations: 0.6893 MB / 0.5426 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.4093, allocations: 2.327 MB / 0.5448 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.4097, allocations: 254.3 kB / 0.5451 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.4123, allocations: 1.565 MB / 0.5466 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009211/0.4132, allocations: 0.6814 MB / 0.5473 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.4134, allocations: 100 kB / 0.5474 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.4164, allocations: 1.735 MB / 0.5491 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.4167, allocations: 354.8 kB / 0.5494 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.4173, allocations: 442.9 kB / 0.5498 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.4201, allocations: 2.095 MB / 0.5519 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.4202, allocations: 0 / 0.5519 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4202, allocations: 0 / 0.5519 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.4202, allocations: 0 / 0.5519 GB, free: 15.21 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003763/0.4239, allocations: 2.631 MB / 0.5544 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.424, allocations: 12.03 kB / 0.5545 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.4243, allocations: 208.6 kB / 0.5547 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.426, allocations: 1.037 MB / 0.5557 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.426, allocations: 77.98 kB / 0.5557 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.4261, allocations: 95.92 kB / 0.5558 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.4271, allocations: 0.7839 MB / 0.5566 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.4271, allocations: 7.938 kB / 0.5566 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.4272, allocations: 47.92 kB / 0.5567 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.4273, allocations: 85.95 kB / 0.5567 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.428, allocations: 479.3 kB / 0.5572 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/0.4323, allocations: 2.848 MB / 0.56 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/0.433, allocations: 0.5175 MB / 0.5605 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.4334, allocations: 254.8 kB / 0.5607 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/0.4338, allocations: 133.5 kB / 0.5609 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.4338, allocations: 55.48 kB / 0.5609 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=114): time 4.188e-06/0.4338, allocations: 0 / 0.5609 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=114): time 0.001706/0.4355, allocations: 0.9057 MB / 0.5618 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.4356, allocations: 90.11 kB / 0.5619 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/0.4362, allocations: 0.7931 MB / 0.5627 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.4363, allocations: 41.7 kB / 0.5627 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.4365, allocations: 408.7 kB / 0.5631 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.4368, allocations: 412.3 kB / 0.5635 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.437, allocations: 186.5 kB / 0.5637 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4371, allocations: 349.8 kB / 0.564 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.4373, allocations: 144.8 kB / 0.5641 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.4375, allocations: 234.2 kB / 0.5643 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.4381, allocations: 495.5 kB / 0.5648 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4381, allocations: 0 / 0.5648 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001037/0.4392, allocations: 0.6545 MB / 0.5655 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4392, allocations: 8.062 kB / 0.5655 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.4392, allocations: 4.562 kB / 0.5655 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/0.4396, allocations: 107 kB / 0.5656 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.44, allocations: 243.7 kB / 0.5658 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.4417, allocations: 2.614 MB / 0.5684 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.442, allocations: 75.41 kB / 0.5684 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.4421, allocations: 51.95 kB / 0.5685 GB, free: 13.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 100 * 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.0002312/0.4424, allocations: 156.5 kB / 0.5686 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4425, allocations: 131.7 kB / 0.5688 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.444, allocations: 1.269 MB / 0.57 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.444, allocations: 12 kB / 0.57 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.444, allocations: 0 / 0.57 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.444, allocations: 7.922 kB / 0.57 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.446, allocations: 1.62 MB / 0.5716 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.446, allocations: 4 kB / 0.5716 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.4464, allocations: 215.8 kB / 0.5718 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.4467, allocations: 194.8 kB / 0.572 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.447, allocations: 126.9 kB / 0.5721 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.447, allocations: 39.97 kB / 0.5721 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.4486, allocations: 2.621 MB / 0.5747 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4486, allocations: 0 / 0.5747 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.4498, allocations: 1.174 MB / 0.5759 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4499, allocations: 27.94 kB / 0.5759 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.4502, allocations: 19.98 kB / 0.5759 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.4503, allocations: 88.83 kB / 0.576 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.559e-05/0.4504, allocations: 47.97 kB / 0.576 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000307/0.4507, allocations: 424.8 kB / 0.5764 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.21e-07/0.4507, allocations: 0 / 0.5764 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001114/0.4518, allocations: 0.5612 MB / 0.577 GB, free: 4.668 MB / 0.5417 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.0006473/0.4524, allocations: 429.2 kB / 0.5774 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009177/0.4534, allocations: 0.8292 MB / 0.5782 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.748e-05/0.4534, allocations: 26.61 kB / 0.5782 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.454, allocations: 0.6755 MB / 0.5789 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.4563, allocations: 2.851 MB / 0.5817 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.4692, allocations: 2.377 MB / 0.584 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.4694, allocations: 278.6 kB / 0.5843 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001255/0.4707, allocations: 0.5321 MB / 0.5848 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/0.4715, allocations: 431 kB / 0.5852 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of SimCode: time 3.497e-06/0.4715, allocations: 0 / 0.5852 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of Templates: time 0.0395/0.511, allocations: 28.57 MB / 0.6131 GB, free: 15.56 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.568190468475223]