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.001123/0.001123, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001358/0.001358, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6637/0.6637, allocations: 118.6 MB / 378.6 MB, free: 1.504 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 483.6 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.5e-05, allocations: 2.312 kB / 483.6 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.1501/0.1502, allocations: 150.7 MB / 0.6194 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003912/0.1541, allocations: 2.678 MB / 0.622 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006474/0.1547, allocations: 115 kB / 0.6221 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.1554, allocations: 297.3 kB / 0.6224 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.1586, allocations: 1.767 MB / 0.6241 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.16, allocations: 0.7321 MB / 0.6248 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001936/0.1619, allocations: 2.331 MB / 0.6271 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.1622, allocations: 244.3 kB / 0.6274 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.1643, allocations: 1.48 MB / 0.6288 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008343/0.1652, allocations: 0.7086 MB / 0.6295 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.1653, allocations: 100 kB / 0.6296 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.168, allocations: 1.653 MB / 0.6312 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.1683, allocations: 430.4 kB / 0.6316 GB, free: 13 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.1687, allocations: 0.4987 MB / 0.6321 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.1714, allocations: 2.332 MB / 0.6344 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1714, allocations: 4 kB / 0.6344 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1714, allocations: 0 / 0.6344 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.52e-05/0.1715, allocations: 3.938 kB / 0.6344 GB, free: 10.15 MB / 0.5573 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.003031/0.1745, allocations: 2.254 MB / 0.6366 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1745, allocations: 8.031 kB / 0.6366 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.1749, allocations: 279.6 kB / 0.6369 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.1761, allocations: 1.144 MB / 0.638 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.1762, allocations: 73.94 kB / 0.638 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.1763, allocations: 104 kB / 0.6381 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.1774, allocations: 0.8877 MB / 0.639 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1774, allocations: 0 / 0.639 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.1775, allocations: 39.98 kB / 0.639 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-05/0.1776, allocations: 85.95 kB / 0.6391 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008431/0.1784, allocations: 0.6596 MB / 0.6398 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.1825, allocations: 3.782 MB / 0.6435 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.1833, allocations: 0.553 MB / 0.644 GB, free: 32 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.242/0.4253, allocations: 357.4 kB / 0.6443 GB, free: 37.97 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/0.4257, allocations: 103 kB / 0.6444 GB, free: 37.97 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.4257, allocations: 48.09 kB / 0.6445 GB, free: 37.93 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=114): time 3.517e-06/0.4257, allocations: 0 / 0.6445 GB, free: 37.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=114): time 0.002615/0.4283, allocations: 1.37 MB / 0.6458 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.4284, allocations: 90.5 kB / 0.6459 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008764/0.4293, allocations: 0.8758 MB / 0.6468 GB, free: 37.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/0.4293, allocations: 43.39 kB / 0.6468 GB, free: 37.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.4296, allocations: 0.628 MB / 0.6474 GB, free: 37.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.4298, allocations: 412.3 kB / 0.6478 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.4301, allocations: 199.4 kB / 0.648 GB, free: 37.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.4301, allocations: 0.5146 MB / 0.6485 GB, free: 36.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.4305, allocations: 235.5 kB / 0.6487 GB, free: 36.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.431, allocations: 336.7 kB / 0.6491 GB, free: 36.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009135/0.4319, allocations: 0.6435 MB / 0.6497 GB, free: 36.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4319, allocations: 0 / 0.6497 GB, free: 36.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001198/0.4331, allocations: 1.019 MB / 0.6507 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4331, allocations: 5.906 kB / 0.6507 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4331, allocations: 2.375 kB / 0.6507 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/0.4335, allocations: 124.7 kB / 0.6508 GB, free: 36.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.4338, allocations: 193.3 kB / 0.651 GB, free: 36.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.4352, allocations: 3.818 MB / 0.6547 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.4355, allocations: 66.42 kB / 0.6548 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/0.4356, allocations: 64.7 kB / 0.6548 GB, free: 32.89 MB / 0.5573 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.0002072/0.4358, allocations: 206.4 kB / 0.655 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.436, allocations: 191.3 kB / 0.6552 GB, free: 32.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.4377, allocations: 1.592 MB / 0.6568 GB, free: 32.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.4377, allocations: 11.47 kB / 0.6568 GB, free: 32.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4377, allocations: 6.453 kB / 0.6568 GB, free: 32.43 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4377, allocations: 7.25 kB / 0.6568 GB, free: 32.43 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.4399, allocations: 2.246 MB / 0.659 GB, free: 31.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4399, allocations: 0 / 0.659 GB, free: 31.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.4403, allocations: 170.5 kB / 0.6592 GB, free: 31.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/0.4405, allocations: 138 kB / 0.6593 GB, free: 31.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.4406, allocations: 41.89 kB / 0.6593 GB, free: 31.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.4418, allocations: 3.836 MB / 0.6631 GB, free: 28.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4418, allocations: 0 / 0.6631 GB, free: 28.42 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.4434, allocations: 1.599 MB / 0.6646 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.4437, allocations: 253.6 kB / 0.6649 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.4438, allocations: 28.02 kB / 0.6649 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.444, allocations: 27.81 kB / 0.6649 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4441, allocations: 86.17 kB / 0.665 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/0.4442, allocations: 58.98 kB / 0.6651 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000456/0.4446, allocations: 0.5755 MB / 0.6656 GB, free: 27.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4446, allocations: 0.9062 kB / 0.6656 GB, free: 27.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001161/0.4458, allocations: 0.5636 MB / 0.6662 GB, free: 27.7 MB / 0.5573 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.0007194/0.4465, allocations: 428.9 kB / 0.6666 GB, free: 27.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.4479, allocations: 1.114 MB / 0.6677 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4479, allocations: 1.406 kB / 0.6677 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007341/0.4487, allocations: 0.8088 MB / 0.6685 GB, free: 26.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.4501, allocations: 0.5475 MB / 0.669 GB, free: 26.81 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.454, allocations: 2.334 MB / 0.6713 GB, free: 25.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.4543, allocations: 274.2 kB / 0.6716 GB, free: 25.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001262/0.4555, allocations: 0.5552 MB / 0.6721 GB, free: 25.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.4559, allocations: 146.1 kB / 0.6722 GB, free: 25.61 MB / 0.5573 GB Notification: Performance of SimCode: time 1.613e-06/0.4559, allocations: 0 / 0.6722 GB, free: 25.61 MB / 0.5573 GB Notification: Performance of Templates: time 0.03443/0.4903, allocations: 27.35 MB / 0.6989 GB, free: 19.61 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.985702579841018]