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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.0008326/0.0008327, allocations: 172.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.28/1.28, allocations: 205.4 MB / 222.3 MB, free: 9.035 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.0007069/0.0007069, allocations: 88.92 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.6869/0.6869, allocations: 89.62 MB / 408.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 12.22 kB / 485.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2658, allocations: 66.01 MB / 0.5383 GB, free: 34.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.372/8.638, allocations: 4.901 GB / 5.439 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/8.638, allocations: 87.94 kB / 5.439 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.205/11.84, allocations: 0.8301 GB / 6.269 GB, free: 57.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/11.84, allocations: 0 / 6.269 GB, free: 57.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001263/11.84, allocations: 31.03 kB / 6.269 GB, free: 57.07 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.0184/11.86, allocations: 4.902 MB / 6.274 GB, free: 55.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/11.86, allocations: 9.406 kB / 6.274 GB, free: 55.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/11.86, allocations: 122.8 kB / 6.274 GB, free: 55.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/11.86, allocations: 0.617 MB / 6.275 GB, free: 54.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-05/11.86, allocations: 71.22 kB / 6.275 GB, free: 54.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003162/11.86, allocations: 99.41 kB / 6.275 GB, free: 54.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/11.87, allocations: 1.395 MB / 6.276 GB, free: 54.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/11.87, allocations: 0.8438 kB / 6.276 GB, free: 54.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/11.87, allocations: 37.98 kB / 6.276 GB, free: 54.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/11.87, allocations: 90.11 kB / 6.276 GB, free: 54.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/11.87, allocations: 1.518 MB / 6.278 GB, free: 54.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00603/11.87, allocations: 5.232 MB / 6.283 GB, free: 51.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/11.88, allocations: 0.9777 MB / 6.284 GB, free: 51.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009466/11.88, allocations: 0.8102 MB / 6.285 GB, free: 51.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003265/11.88, allocations: 4.109 MB / 6.289 GB, free: 47.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/11.88, allocations: 47.41 kB / 6.289 GB, free: 47.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=122): time 4.558e-06/11.88, allocations: 2.031 kB / 6.289 GB, free: 47.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=122): time 0.00401/11.88, allocations: 2.451 MB / 6.291 GB, free: 47.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/11.88, allocations: 90.05 kB / 6.291 GB, free: 47.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/11.88, allocations: 0.489 MB / 6.292 GB, free: 47.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/11.89, allocations: 44.67 kB / 6.292 GB, free: 47.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/11.89, allocations: 361.3 kB / 6.292 GB, free: 47.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/11.89, allocations: 417.5 kB / 6.293 GB, free: 46.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/11.89, allocations: 18.7 kB / 6.293 GB, free: 46.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000118/11.89, allocations: 394.9 kB / 6.293 GB, free: 46.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/11.89, allocations: 0.5647 MB / 6.294 GB, free: 46.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/11.89, allocations: 0.6446 MB / 6.294 GB, free: 46.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/11.89, allocations: 1.295 MB / 6.295 GB, free: 46.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/11.89, allocations: 0 / 6.295 GB, free: 46.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002347/11.89, allocations: 1.608 MB / 6.297 GB, free: 46.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/11.89, allocations: 6.219 kB / 6.297 GB, free: 46.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/11.89, allocations: 0 / 6.297 GB, free: 46.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/11.89, allocations: 125.5 kB / 6.297 GB, free: 46.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/11.89, allocations: 184.5 kB / 6.297 GB, free: 46.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/11.89, allocations: 3.122 MB / 6.3 GB, free: 43.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/11.9, allocations: 87.56 kB / 6.3 GB, free: 43.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/11.9, allocations: 97.27 kB / 6.301 GB, free: 43.85 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.0005306/11.9, allocations: 261.1 kB / 6.301 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/11.9, allocations: 90.47 kB / 6.301 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/11.9, allocations: 2.036 MB / 6.303 GB, free: 43.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.512e-05/11.9, allocations: 26.92 kB / 6.303 GB, free: 43.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/11.9, allocations: 3.938 kB / 6.303 GB, free: 43.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/11.9, allocations: 10.11 kB / 6.303 GB, free: 43.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/11.9, allocations: 3.293 MB / 6.306 GB, free: 43.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/11.9, allocations: 0 / 6.306 GB, free: 43.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/11.91, allocations: 199 kB / 6.306 GB, free: 43.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/11.91, allocations: 124.9 kB / 6.306 GB, free: 43.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/11.91, allocations: 58.12 kB / 6.307 GB, free: 43.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/11.91, allocations: 3.124 MB / 6.31 GB, free: 40.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/11.91, allocations: 0 / 6.31 GB, free: 40.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/11.91, allocations: 2.739 MB / 6.312 GB, free: 40.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/11.91, allocations: 173 kB / 6.312 GB, free: 40.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/11.91, allocations: 23.5 kB / 6.312 GB, free: 40.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/11.91, allocations: 54.81 kB / 6.312 GB, free: 40.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/11.91, allocations: 112.9 kB / 6.313 GB, free: 40.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/11.91, allocations: 96.62 kB / 6.313 GB, free: 40.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004056/11.91, allocations: 347.3 kB / 6.313 GB, free: 39.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/11.91, allocations: 1.656 kB / 6.313 GB, free: 39.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005558/11.92, allocations: 1.666 MB / 6.315 GB, free: 39.58 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.009324/11.93, allocations: 3.131 MB / 6.318 GB, free: 38.86 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.003372/11.93, allocations: 1.946 MB / 6.32 GB, free: 38.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/11.93, allocations: 0 / 6.32 GB, free: 38.55 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.001799/11.93, allocations: 1.275 MB / 6.321 GB, free: 38.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/11.94, allocations: 339.8 kB / 6.321 GB, free: 38.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/11.94, allocations: 2.502 MB / 6.324 GB, free: 37.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/11.94, allocations: 1.098 MB / 6.325 GB, free: 36.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001539/11.94, allocations: 331.2 kB / 6.325 GB, free: 36.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/11.94, allocations: 147.9 kB / 6.325 GB, free: 36.48 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/11.94, allocations: 0 / 6.325 GB, free: 36.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.08073/12.02, allocations: 58.2 MB / 6.382 GB, free: 33.66 MB / 0.6198 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