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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) Running command: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008881/0.00888, allocations: 170.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009729/0.0009729, allocations: 94.14 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01301/0.01301, allocations: 1.558 MB / 342.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9598/0.9598, allocations: 90.31 MB / 484.7 MB, free: 38.26 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005359/0.0005359, allocations: 19.98 kB / 0.5526 GB, free: 4.965 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.4733, allocations: 69.35 MB / 0.6203 GB, free: 20.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.83/11.31, allocations: 4.586 GB / 5.207 GB, free: 239.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/11.31, allocations: 88.61 kB / 5.207 GB, free: 239.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.781/15.09, allocations: 0.7738 GB / 5.981 GB, free: 57.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/15.09, allocations: 0 / 5.981 GB, free: 57.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.396e-05/15.09, allocations: 31.2 kB / 5.981 GB, free: 57.45 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.02272/15.11, allocations: 4.545 MB / 5.985 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.767e-05/15.11, allocations: 17.17 kB / 5.985 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/15.11, allocations: 124 kB / 5.985 GB, free: 55.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/15.11, allocations: 0.5887 MB / 5.986 GB, free: 55.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/15.11, allocations: 65.5 kB / 5.986 GB, free: 55.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/15.11, allocations: 93.53 kB / 5.986 GB, free: 55.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/15.11, allocations: 1.355 MB / 5.987 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/15.12, allocations: 1.375 kB / 5.987 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/15.12, allocations: 39.31 kB / 5.987 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/15.12, allocations: 82.45 kB / 5.987 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/15.12, allocations: 1.498 MB / 5.989 GB, free: 55.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006219/15.12, allocations: 5.223 MB / 5.994 GB, free: 52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/15.13, allocations: 0.9654 MB / 5.995 GB, free: 51.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/15.13, allocations: 1.432 MB / 5.996 GB, free: 50.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/15.13, allocations: 49.19 kB / 5.996 GB, free: 50.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 5.24e-06/15.13, allocations: 3.531 kB / 5.996 GB, free: 50.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.004331/15.13, allocations: 2.555 MB / 5.999 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/15.13, allocations: 92.83 kB / 5.999 GB, free: 49.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/15.13, allocations: 433.8 kB / 5.999 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/15.13, allocations: 43.36 kB / 5.999 GB, free: 49.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/15.13, allocations: 356.9 kB / 6 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/15.13, allocations: 417.4 kB / 6 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/15.13, allocations: 21.17 kB / 6 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001542/15.13, allocations: 394.8 kB / 6 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007545/15.13, allocations: 0.5552 MB / 6.001 GB, free: 48.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/15.13, allocations: 0.632 MB / 6.002 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008495/15.14, allocations: 0.6222 MB / 6.002 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/15.14, allocations: 0 / 6.002 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002515/15.14, allocations: 1.565 MB / 6.004 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/15.14, allocations: 9.766 kB / 6.004 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/15.14, allocations: 0 / 6.004 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/15.14, allocations: 122.1 kB / 6.004 GB, free: 48.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/15.14, allocations: 174.5 kB / 6.004 GB, free: 48.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/15.14, allocations: 3.142 MB / 6.007 GB, free: 46.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/15.14, allocations: 96.48 kB / 6.007 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/15.14, allocations: 65.98 kB / 6.007 GB, free: 46.18 MB / 0.6355 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): 96 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006048/15.14, allocations: 260.9 kB / 6.008 GB, free: 46.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/15.14, allocations: 91.28 kB / 6.008 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/15.15, allocations: 2.171 MB / 6.01 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-05/15.15, allocations: 25.38 kB / 6.01 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/15.15, allocations: 3.594 kB / 6.01 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/15.15, allocations: 4.766 kB / 6.01 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/15.15, allocations: 3.252 MB / 6.013 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/15.15, allocations: 3.469 kB / 6.013 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/15.15, allocations: 180.5 kB / 6.013 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/15.15, allocations: 128.2 kB / 6.013 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/15.15, allocations: 46.14 kB / 6.013 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/15.16, allocations: 3.157 MB / 6.016 GB, free: 42.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/15.16, allocations: 4.188 kB / 6.016 GB, free: 42.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/15.16, allocations: 2.719 MB / 6.019 GB, free: 42.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/15.16, allocations: 175.9 kB / 6.019 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/15.16, allocations: 21.52 kB / 6.019 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/15.16, allocations: 57.14 kB / 6.019 GB, free: 42.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/15.16, allocations: 89.86 kB / 6.019 GB, free: 42.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/15.16, allocations: 76.27 kB / 6.019 GB, free: 42.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004456/15.16, allocations: 349 kB / 6.02 GB, free: 42.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.402e-06/15.16, allocations: 0 / 6.02 GB, free: 42.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007144/15.17, allocations: 1.28 MB / 6.021 GB, free: 41.96 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (110): * Single equations (assignments): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008411/15.18, allocations: 2.449 MB / 6.023 GB, free: 41.42 MB / 0.6355 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source1_24outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source_24outlet_Medium_ThermodynamicState72.X Notification: Performance of simCode: created initialization part: time 0.004238/15.18, allocations: 2.038 MB / 6.025 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/15.18, allocations: 0 / 6.025 GB, free: 41.1 MB / 0.6355 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source_24outlet_Medium_ThermodynamicState145.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source1_24outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created simulation system equations: time 0.001851/15.18, allocations: 1.3 MB / 6.027 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/15.19, allocations: 319.6 kB / 6.027 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/15.19, allocations: 2.474 MB / 6.029 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/15.19, allocations: 1.094 MB / 6.03 GB, free: 39.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001264/15.19, allocations: 460.8 kB / 6.031 GB, free: 39.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/15.19, allocations: 96.7 kB / 6.031 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of SimCode: time 1.342e-06/15.19, allocations: 0 / 6.031 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.08336/15.28, allocations: 49.68 MB / 6.08 GB, free: 37 MB / 0.6355 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile (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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches