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.001072/0.001072, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001092/0.001092, allocations: 177 kB / 23.36 MB, free: 1.133 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.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.7266/0.7266, allocations: 118.6 MB / 378.9 MB, free: 1.332 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|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.033e-06/2.033e-06, allocations: 0 / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.796e-05, allocations: 5.266 kB / 430.8 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.3674/0.3674, allocations: 149.5 MB / 0.5668 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.3705, allocations: 2.751 MB / 0.5695 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.3709, allocations: 118.9 kB / 0.5696 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.3715, allocations: 291.3 kB / 0.5699 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.3742, allocations: 1.719 MB / 0.5715 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3754, allocations: 0.6971 MB / 0.5722 GB, free: 196 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.3772, allocations: 2.331 MB / 0.5745 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.3775, allocations: 258.3 kB / 0.5747 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.3791, allocations: 1.46 MB / 0.5762 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006801/0.3798, allocations: 0.6774 MB / 0.5768 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3799, allocations: 104 kB / 0.5769 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3823, allocations: 1.727 MB / 0.5786 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.3825, allocations: 430.4 kB / 0.579 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.3829, allocations: 0.4987 MB / 0.5795 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.3851, allocations: 2.344 MB / 0.5818 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3851, allocations: 0 / 0.5818 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3851, allocations: 0 / 0.5818 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.3851, allocations: 0 / 0.5818 GB, free: 6.312 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.002565/0.3877, allocations: 2.151 MB / 0.5839 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3877, allocations: 12.03 kB / 0.5839 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.388, allocations: 200.7 kB / 0.5841 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.3893, allocations: 1.046 MB / 0.5851 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.3894, allocations: 70 kB / 0.5852 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/0.3895, allocations: 99.92 kB / 0.5853 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.3902, allocations: 0.7878 MB / 0.5861 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.3903, allocations: 3.938 kB / 0.5861 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.3903, allocations: 40 kB / 0.5861 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.252e-05/0.3904, allocations: 89.95 kB / 0.5862 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.3909, allocations: 471.3 kB / 0.5866 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.3944, allocations: 2.867 MB / 0.5894 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.395, allocations: 0.5089 MB / 0.5899 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.3953, allocations: 257.7 kB / 0.5902 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/0.3956, allocations: 125.5 kB / 0.5903 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3956, allocations: 53.38 kB / 0.5904 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 2.575e-06/0.3956, allocations: 0 / 0.5904 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=114): time 0.001429/0.397, allocations: 0.9173 MB / 0.5912 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.3971, allocations: 94.09 kB / 0.5913 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.3977, allocations: 0.7848 MB / 0.5921 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.3977, allocations: 49.69 kB / 0.5922 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.3979, allocations: 400.7 kB / 0.5925 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.3981, allocations: 412.3 kB / 0.5929 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.3983, allocations: 182.5 kB / 0.5931 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.3984, allocations: 349.8 kB / 0.5934 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.3986, allocations: 152.7 kB / 0.5936 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.3989, allocations: 230.2 kB / 0.5938 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.3994, allocations: 495.5 kB / 0.5943 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3995, allocations: 0 / 0.5943 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0008605/0.4003, allocations: 0.6506 MB / 0.5949 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4003, allocations: 4 kB / 0.5949 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4003, allocations: 4.062 kB / 0.5949 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.4007, allocations: 102.3 kB / 0.595 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.4011, allocations: 219.7 kB / 0.5952 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.4027, allocations: 2.615 MB / 0.5978 GB, free: 5.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.4029, allocations: 71.38 kB / 0.5978 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.403, allocations: 51.97 kB / 0.5979 GB, free: 5.34 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.0001957/0.4032, allocations: 164.5 kB / 0.5981 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.4033, allocations: 127.7 kB / 0.5982 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.405, allocations: 1.269 MB / 0.5994 GB, free: 3.742 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.4051, allocations: 12 kB / 0.5994 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4051, allocations: 4 kB / 0.5994 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4051, allocations: 7.969 kB / 0.5994 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.4068, allocations: 1.612 MB / 0.601 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4068, allocations: 0 / 0.601 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.4071, allocations: 187.8 kB / 0.6012 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.4074, allocations: 129 kB / 0.6013 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.4074, allocations: 39.91 kB / 0.6014 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.4094, allocations: 2.618 MB / 0.6039 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4095, allocations: 7.922 kB / 0.6039 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.4108, allocations: 1.159 MB / 0.605 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.411, allocations: 194.8 kB / 0.6052 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.139e-05/0.4111, allocations: 35.88 kB / 0.6053 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4113, allocations: 20 kB / 0.6053 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4114, allocations: 88.83 kB / 0.6054 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.4115, allocations: 47.91 kB / 0.6054 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002906/0.4118, allocations: 428.8 kB / 0.6058 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4118, allocations: 0 / 0.6058 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007822/0.4126, allocations: 0.5612 MB / 0.6064 GB, free: 12.37 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.0005887/0.4132, allocations: 413.2 kB / 0.6068 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000826/0.414, allocations: 0.8166 MB / 0.6076 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.414, allocations: 12 kB / 0.6076 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.4145, allocations: 0.6032 MB / 0.6082 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4157, allocations: 0.5426 MB / 0.6087 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.4187, allocations: 2.299 MB / 0.6109 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.4189, allocations: 270.6 kB / 0.6112 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007254/0.4196, allocations: 0.536 MB / 0.6117 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007268/0.4203, allocations: 431.1 kB / 0.6121 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of SimCode: time 1.112e-06/0.4203, allocations: 0 / 0.6121 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of Templates: time 0.03383/0.4542, allocations: 27.8 MB / 0.6393 GB, free: 11.09 MB / 0.5886 GB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.571899503003806]