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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 176.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 222.3 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 92.36 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8196/0.8196, allocations: 89.59 MB / 408.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003945, allocations: 16 kB / 485.2 MB, free: 7.668 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3692, allocations: 66 MB / 0.5382 GB, free: 34.46 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.71/11.08, allocations: 4.901 GB / 5.439 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/11.08, allocations: 88.7 kB / 5.439 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.932/15.02, allocations: 0.8301 GB / 6.269 GB, free: 57.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.216e-06/15.02, allocations: 0 / 6.269 GB, free: 57.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001915/15.02, allocations: 28.81 kB / 6.269 GB, free: 57.22 MB / 0.6198 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.02493/15.04, allocations: 4.904 MB / 6.274 GB, free: 55.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/15.04, allocations: 9.125 kB / 6.274 GB, free: 55.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/15.04, allocations: 121.8 kB / 6.274 GB, free: 55.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/15.04, allocations: 0.6306 MB / 6.275 GB, free: 54.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/15.04, allocations: 75.58 kB / 6.275 GB, free: 54.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/15.04, allocations: 85.88 kB / 6.275 GB, free: 54.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/15.05, allocations: 1.398 MB / 6.276 GB, free: 54.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/15.05, allocations: 0 / 6.276 GB, free: 54.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/15.05, allocations: 44.22 kB / 6.276 GB, free: 54.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/15.05, allocations: 83.58 kB / 6.276 GB, free: 54.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/15.05, allocations: 1.517 MB / 6.278 GB, free: 54.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009129/15.06, allocations: 5.223 MB / 6.283 GB, free: 51.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/15.06, allocations: 0.977 MB / 6.284 GB, free: 51.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/15.06, allocations: 0.806 MB / 6.285 GB, free: 51.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005084/15.07, allocations: 4.112 MB / 6.289 GB, free: 48.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/15.07, allocations: 46.33 kB / 6.289 GB, free: 48.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=122): time 8.807e-06/15.07, allocations: 2.094 kB / 6.289 GB, free: 48.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=122): time 0.005697/15.07, allocations: 2.453 MB / 6.291 GB, free: 47.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/15.07, allocations: 93.83 kB / 6.291 GB, free: 47.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009877/15.08, allocations: 0.4915 MB / 6.292 GB, free: 47.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/15.08, allocations: 42.7 kB / 6.292 GB, free: 47.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/15.08, allocations: 360.5 kB / 6.292 GB, free: 47.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/15.08, allocations: 416.4 kB / 6.293 GB, free: 47.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/15.08, allocations: 20.12 kB / 6.293 GB, free: 47.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001909/15.08, allocations: 389.8 kB / 6.293 GB, free: 46.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009121/15.08, allocations: 0.5706 MB / 6.294 GB, free: 46.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/15.08, allocations: 0.6393 MB / 6.294 GB, free: 46.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/15.08, allocations: 1.299 MB / 6.295 GB, free: 46.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/15.08, allocations: 0 / 6.295 GB, free: 46.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002859/15.08, allocations: 1.605 MB / 6.297 GB, free: 46.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/15.08, allocations: 6.062 kB / 6.297 GB, free: 46.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/15.08, allocations: 2.156 kB / 6.297 GB, free: 46.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/15.08, allocations: 126.8 kB / 6.297 GB, free: 46.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/15.08, allocations: 187.1 kB / 6.297 GB, free: 46.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/15.09, allocations: 3.125 MB / 6.3 GB, free: 44.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/15.09, allocations: 90.45 kB / 6.3 GB, free: 44.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/15.09, allocations: 96.77 kB / 6.301 GB, free: 44.02 MB / 0.6198 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.0006364/15.09, allocations: 256.3 kB / 6.301 GB, free: 43.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/15.09, allocations: 94.67 kB / 6.301 GB, free: 43.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/15.09, allocations: 2.031 MB / 6.303 GB, free: 43.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.684e-05/15.09, allocations: 30.7 kB / 6.303 GB, free: 43.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/15.09, allocations: 5.156 kB / 6.303 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/15.09, allocations: 5.531 kB / 6.303 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005531/15.1, allocations: 3.298 MB / 6.306 GB, free: 43.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/15.1, allocations: 0 / 6.306 GB, free: 43.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/15.1, allocations: 194.5 kB / 6.306 GB, free: 43.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003913/15.1, allocations: 126.7 kB / 6.306 GB, free: 43.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/15.1, allocations: 51.31 kB / 6.306 GB, free: 43.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/15.1, allocations: 3.128 MB / 6.31 GB, free: 40.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/15.1, allocations: 3.656 kB / 6.31 GB, free: 40.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/15.11, allocations: 2.733 MB / 6.312 GB, free: 40.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/15.11, allocations: 175.9 kB / 6.312 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/15.11, allocations: 20.66 kB / 6.312 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006989/15.11, allocations: 58.55 kB / 6.312 GB, free: 40.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/15.11, allocations: 108 kB / 6.313 GB, free: 40.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/15.11, allocations: 101.2 kB / 6.313 GB, free: 40.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004424/15.11, allocations: 342.5 kB / 6.313 GB, free: 40.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/15.11, allocations: 4.547 kB / 6.313 GB, free: 40.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006603/15.12, allocations: 1.664 MB / 6.315 GB, free: 39.75 MB / 0.6198 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.01059/15.13, allocations: 3.127 MB / 6.318 GB, free: 39.06 MB / 0.6198 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_ThermodynamicState76.X Notification: Performance of simCode: created initialization part: time 0.004007/15.13, allocations: 1.952 MB / 6.32 GB, free: 38.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/15.13, allocations: 2.25 kB / 6.32 GB, free: 38.75 MB / 0.6198 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_ThermodynamicState153.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_ThermodynamicState228.X Notification: Performance of simCode: created simulation system equations: time 0.002424/15.13, allocations: 1.266 MB / 6.321 GB, free: 38.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/15.14, allocations: 334.6 kB / 6.321 GB, free: 38.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006123/15.14, allocations: 2.503 MB / 6.324 GB, free: 37.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/15.14, allocations: 1.098 MB / 6.325 GB, free: 36.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001747/15.14, allocations: 336.2 kB / 6.325 GB, free: 36.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/15.15, allocations: 147.9 kB / 6.325 GB, free: 36.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/15.15, allocations: 0 / 6.325 GB, free: 36.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.09108/15.24, allocations: 58.19 MB / 6.382 GB, free: 33.94 MB / 0.6198 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