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.008567/0.008567, allocations: 170.2 kB / 15.11 MB, free: 6.039 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.737/1.737, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0008648/0.0008645, allocations: 90.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8553/0.8553, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 12 kB / 485.2 MB, free: 2.078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4384, allocations: 66.27 MB / 0.5386 GB, free: 45.69 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.12/12.56, allocations: 4.901 GB / 5.439 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/12.56, allocations: 80.08 kB / 5.44 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.045/16.6, allocations: 0.8347 GB / 6.274 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.449e-06/16.6, allocations: 2.281 kB / 6.274 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001795/16.6, allocations: 27.36 kB / 6.274 GB, free: 47.29 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.03037/16.63, allocations: 4.914 MB / 6.279 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 9.607e-05/16.63, allocations: 10.88 kB / 6.279 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/16.64, allocations: 132.6 kB / 6.279 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/16.64, allocations: 0.59 MB / 6.28 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/16.64, allocations: 67.02 kB / 6.28 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005855/16.64, allocations: 94.09 kB / 6.28 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/16.64, allocations: 1.384 MB / 6.281 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/16.64, allocations: 0 / 6.281 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/16.64, allocations: 41.56 kB / 6.281 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/16.64, allocations: 86.47 kB / 6.281 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/16.64, allocations: 1.524 MB / 6.283 GB, free: 44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009391/16.65, allocations: 5.221 MB / 6.288 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/16.66, allocations: 0.9861 MB / 6.289 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/16.66, allocations: 1.495 MB / 6.29 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/16.66, allocations: 49.05 kB / 6.29 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=122): time 8.586e-06/16.66, allocations: 0 / 6.29 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=122): time 0.00587/16.66, allocations: 2.612 MB / 6.293 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/16.66, allocations: 89.61 kB / 6.293 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/16.67, allocations: 427.4 kB / 6.294 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/16.67, allocations: 49.03 kB / 6.294 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/16.67, allocations: 361.6 kB / 6.294 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005547/16.67, allocations: 410.7 kB / 6.294 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/16.67, allocations: 21.81 kB / 6.294 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000201/16.67, allocations: 395.9 kB / 6.295 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009603/16.67, allocations: 0.5672 MB / 6.295 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009854/16.67, allocations: 0.6358 MB / 6.296 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/16.67, allocations: 0.632 MB / 6.297 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/16.67, allocations: 3.969 kB / 6.297 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003064/16.67, allocations: 1.603 MB / 6.298 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/16.67, allocations: 7.219 kB / 6.298 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/16.67, allocations: 0 / 6.298 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/16.67, allocations: 118.6 kB / 6.298 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/16.67, allocations: 189.7 kB / 6.298 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/16.68, allocations: 3.158 MB / 6.301 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/16.68, allocations: 93.62 kB / 6.302 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/16.68, allocations: 97.66 kB / 6.302 GB, free: 35.07 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 () * 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.000833/16.68, allocations: 264.1 kB / 6.302 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/16.68, allocations: 92.3 kB / 6.302 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005209/16.68, allocations: 2.044 MB / 6.304 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.444e-05/16.68, allocations: 25.95 kB / 6.304 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/16.69, allocations: 3.688 kB / 6.304 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/16.69, allocations: 7.5 kB / 6.304 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006891/16.69, allocations: 3.295 MB / 6.307 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/16.69, allocations: 3.812 kB / 6.307 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/16.69, allocations: 191.7 kB / 6.307 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/16.69, allocations: 129 kB / 6.308 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/16.69, allocations: 59.14 kB / 6.308 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/16.7, allocations: 3.16 MB / 6.311 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/16.7, allocations: 0 / 6.311 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004406/16.7, allocations: 2.779 MB / 6.313 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/16.7, allocations: 168.2 kB / 6.314 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/16.7, allocations: 32.47 kB / 6.314 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008523/16.7, allocations: 49.38 kB / 6.314 GB, free: 27.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/16.7, allocations: 105.2 kB / 6.314 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/16.7, allocations: 108.8 kB / 6.314 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005174/16.7, allocations: 343.5 kB / 6.314 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.624e-06/16.7, allocations: 0 / 6.314 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007769/16.71, allocations: 1.664 MB / 6.316 GB, free: 27.18 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 () * 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.01216/16.72, allocations: 3.135 MB / 6.319 GB, free: 26.34 MB / 0.6042 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.005153/16.73, allocations: 2.052 MB / 6.321 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/16.73, allocations: 0 / 6.321 GB, free: 25.44 MB / 0.6042 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.002677/16.73, allocations: 1.319 MB / 6.322 GB, free: 24.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/16.73, allocations: 313.3 kB / 6.322 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/16.74, allocations: 2.486 MB / 6.325 GB, free: 23.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/16.74, allocations: 1.094 MB / 6.326 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001902/16.74, allocations: 317.6 kB / 6.326 GB, free: 22.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005948/16.74, allocations: 140.2 kB / 6.326 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of SimCode: time 1.603e-06/16.74, allocations: 0 / 6.326 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.08872/16.83, allocations: 56.6 MB / 6.382 GB, free: 7.082 MB / 0.6355 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