Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.000985/0.0009851, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.3 MB / 213.4 MB, free: 13.71 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.0008611/0.0008611, allocations: 92.47 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7151/0.7151, allocations: 90.35 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.976e-05, allocations: 4 kB / 472.2 MB, free: 3.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3509, allocations: 66.25 MB / 0.5258 GB, free: 28.96 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.51/10.86, allocations: 4.9 GB / 5.426 GB, free: 48.38 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/10.86, allocations: 80.14 kB / 5.426 GB, free: 48.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.559/14.42, allocations: 0.8263 GB / 6.252 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/14.42, allocations: 0 / 6.252 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001116/14.42, allocations: 23.12 kB / 6.252 GB, free: 48 MB / 0.6042 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.01879/14.44, allocations: 4.793 MB / 6.257 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/14.44, allocations: 11.19 kB / 6.257 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/14.44, allocations: 118 kB / 6.257 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/14.44, allocations: 0.5882 MB / 6.258 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/14.44, allocations: 32.47 kB / 6.258 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/14.44, allocations: 64.52 kB / 6.258 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002336/14.44, allocations: 1.42 MB / 6.259 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/14.45, allocations: 1.252 MB / 6.26 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/14.45, allocations: 0 / 6.26 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/14.45, allocations: 0 / 6.26 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/14.45, allocations: 89.41 kB / 6.261 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006203/14.45, allocations: 5.058 MB / 6.265 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/14.45, allocations: 0.9253 MB / 6.266 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008311/14.45, allocations: 0.754 MB / 6.267 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/14.46, allocations: 1.498 MB / 6.269 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/14.46, allocations: 51.69 kB / 6.269 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=122): time 4.238e-06/14.46, allocations: 2.953 kB / 6.269 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=122): time 0.004284/14.46, allocations: 1.662 MB / 6.27 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/14.46, allocations: 88.67 kB / 6.27 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/14.46, allocations: 350.1 kB / 6.271 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.723e-05/14.46, allocations: 28.27 kB / 6.271 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/14.46, allocations: 370.2 kB / 6.271 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/14.46, allocations: 402 kB / 6.271 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/14.46, allocations: 0 / 6.271 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001073/14.46, allocations: 382 kB / 6.272 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006663/14.46, allocations: 0.5429 MB / 6.272 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/14.46, allocations: 0.6071 MB / 6.273 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/14.47, allocations: 0.7554 MB / 6.274 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/14.47, allocations: 0 / 6.274 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003899/14.47, allocations: 1.663 MB / 6.275 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/14.47, allocations: 3.75 kB / 6.275 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/14.47, allocations: 3.75 kB / 6.275 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/14.47, allocations: 113.8 kB / 6.275 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/14.47, allocations: 197 kB / 6.276 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/14.47, allocations: 3.015 MB / 6.279 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/14.47, allocations: 59.69 kB / 6.279 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/14.47, allocations: 100.3 kB / 6.279 GB, free: 36.93 MB / 0.6042 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 () * 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.0002368/14.47, allocations: 116.6 kB / 6.279 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/14.47, allocations: 85.28 kB / 6.279 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/14.48, allocations: 2.084 MB / 6.281 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.627e-05/14.48, allocations: 26.22 kB / 6.281 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/14.48, allocations: 2.969 kB / 6.281 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/14.48, allocations: 7.5 kB / 6.281 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00692/14.49, allocations: 3.229 MB / 6.284 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/14.49, allocations: 3.375 kB / 6.284 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/14.49, allocations: 196.3 kB / 6.284 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000351/14.49, allocations: 125.9 kB / 6.284 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/14.49, allocations: 40.56 kB / 6.284 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/14.49, allocations: 3.023 MB / 6.287 GB, free: 33.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/14.49, allocations: 0 / 6.287 GB, free: 33.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/14.5, allocations: 2.814 MB / 6.29 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/14.5, allocations: 160.6 kB / 6.29 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/14.5, allocations: 7.5 kB / 6.29 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/14.5, allocations: 39.86 kB / 6.29 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/14.5, allocations: 103.3 kB / 6.29 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/14.5, allocations: 106.6 kB / 6.291 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003102/14.5, allocations: 275.6 kB / 6.291 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/14.5, allocations: 0 / 6.291 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005223/14.5, allocations: 1.594 MB / 6.292 GB, free: 32.71 MB / 0.6042 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 () * 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.008969/14.51, allocations: 3.383 MB / 6.296 GB, free: 32 MB / 0.6042 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source1$outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source$outlet_Medium_ThermodynamicState72.X Notification: Performance of simCode: created initialization part: time 0.003468/14.51, allocations: 1.968 MB / 6.298 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/14.51, allocations: 3.844 kB / 6.298 GB, free: 31.71 MB / 0.6042 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source$outlet_Medium_ThermodynamicState145.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source1$outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created simulation system equations: time 0.001885/14.52, allocations: 1.263 MB / 6.299 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/14.52, allocations: 279.3 kB / 6.299 GB, free: 31.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/14.52, allocations: 1.598 MB / 6.301 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/14.52, allocations: 1.095 MB / 6.302 GB, free: 30.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001762/14.52, allocations: 320.8 kB / 6.302 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/14.53, allocations: 137.3 kB / 6.302 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.474e-06/14.53, allocations: 3.906 kB / 6.302 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.06294/14.59, allocations: 44 MB / 6.345 GB, free: 26.84 MB / 0.6042 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches