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.001159/0.001159, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.416/1.416, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.000861/0.0008611, allocations: 95.08 kB / 266.6 MB, free: 9.277 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.7521/0.7521, allocations: 90.34 MB / 405 MB, free: 8.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.118e-05, allocations: 4 kB / 479.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3547, allocations: 66.25 MB / 0.5326 GB, free: 28.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/11.02, allocations: 4.901 GB / 5.433 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/11.02, allocations: 79.95 kB / 5.433 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.57/14.59, allocations: 0.8332 GB / 6.267 GB, free: 52.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/14.59, allocations: 0 / 6.267 GB, free: 52.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.949e-05/14.59, allocations: 27.77 kB / 6.267 GB, free: 52.41 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.0211/14.61, allocations: 4.782 MB / 6.271 GB, free: 50.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/14.61, allocations: 10.03 kB / 6.271 GB, free: 50.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/14.61, allocations: 123 kB / 6.271 GB, free: 50.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/14.61, allocations: 0.5917 MB / 6.272 GB, free: 50.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/14.61, allocations: 68.33 kB / 6.272 GB, free: 50.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/14.61, allocations: 94.94 kB / 6.272 GB, free: 50.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/14.61, allocations: 1.365 MB / 6.274 GB, free: 50.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/14.61, allocations: 3.844 kB / 6.274 GB, free: 50.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/14.61, allocations: 43.33 kB / 6.274 GB, free: 50.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/14.61, allocations: 91.42 kB / 6.274 GB, free: 50.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/14.62, allocations: 1.495 MB / 6.275 GB, free: 50.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006547/14.62, allocations: 5.237 MB / 6.28 GB, free: 47.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/14.63, allocations: 0.962 MB / 6.281 GB, free: 47.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/14.63, allocations: 0.7957 MB / 6.282 GB, free: 47.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/14.63, allocations: 1.496 MB / 6.283 GB, free: 45.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/14.63, allocations: 48.75 kB / 6.283 GB, free: 45.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=122): time 4.92e-06/14.63, allocations: 0 / 6.283 GB, free: 45.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=122): time 0.003924/14.63, allocations: 1.576 MB / 6.285 GB, free: 45.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/14.63, allocations: 94.28 kB / 6.285 GB, free: 45.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/14.63, allocations: 424.3 kB / 6.286 GB, free: 45.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/14.63, allocations: 48.52 kB / 6.286 GB, free: 45.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/14.63, allocations: 352 kB / 6.286 GB, free: 45.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/14.63, allocations: 419.6 kB / 6.286 GB, free: 45.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/14.63, allocations: 22.2 kB / 6.286 GB, free: 45.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001396/14.63, allocations: 394 kB / 6.287 GB, free: 44.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009708/14.63, allocations: 0.5568 MB / 6.287 GB, free: 44.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009933/14.64, allocations: 0.626 MB / 6.288 GB, free: 44.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/14.64, allocations: 0.6272 MB / 6.288 GB, free: 44.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/14.64, allocations: 2.156 kB / 6.288 GB, free: 44.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002551/14.64, allocations: 1.575 MB / 6.29 GB, free: 44.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/14.64, allocations: 11.48 kB / 6.29 GB, free: 44.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/14.64, allocations: 0 / 6.29 GB, free: 44.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/14.64, allocations: 116.4 kB / 6.29 GB, free: 44.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/14.64, allocations: 193.2 kB / 6.29 GB, free: 44.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/14.64, allocations: 3.116 MB / 6.293 GB, free: 42.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007502/14.64, allocations: 92.16 kB / 6.293 GB, free: 42.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/14.64, allocations: 98.84 kB / 6.294 GB, free: 42.07 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 () * 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.0002229/14.64, allocations: 161.3 kB / 6.294 GB, free: 41.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/14.64, allocations: 88.77 kB / 6.294 GB, free: 41.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/14.65, allocations: 2.023 MB / 6.296 GB, free: 41.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.593e-05/14.65, allocations: 26.86 kB / 6.296 GB, free: 41.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/14.65, allocations: 1.531 kB / 6.296 GB, free: 41.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/14.65, allocations: 6.969 kB / 6.296 GB, free: 41.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00629/14.66, allocations: 3.28 MB / 6.299 GB, free: 41.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/14.66, allocations: 1.438 kB / 6.299 GB, free: 41.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/14.66, allocations: 198.5 kB / 6.299 GB, free: 41.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004388/14.66, allocations: 124.3 kB / 6.299 GB, free: 41.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/14.66, allocations: 57.52 kB / 6.299 GB, free: 41.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/14.66, allocations: 3.114 MB / 6.302 GB, free: 38.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/14.66, allocations: 1.375 kB / 6.302 GB, free: 38.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/14.66, allocations: 2.744 MB / 6.305 GB, free: 38.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/14.66, allocations: 166.6 kB / 6.305 GB, free: 38.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/14.66, allocations: 30.61 kB / 6.305 GB, free: 38.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/14.66, allocations: 54.75 kB / 6.305 GB, free: 38.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/14.67, allocations: 99.23 kB / 6.305 GB, free: 38.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/14.67, allocations: 110.9 kB / 6.306 GB, free: 38.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004136/14.67, allocations: 335.2 kB / 6.306 GB, free: 38.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.423e-06/14.67, allocations: 3.281 kB / 6.306 GB, free: 38.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006682/14.67, allocations: 1.665 MB / 6.307 GB, free: 37.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 () * 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.007504/14.68, allocations: 3.122 MB / 6.311 GB, free: 37.07 MB / 0.6198 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source124outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source24outlet_Medium_ThermodynamicState72.X Notification: Performance of simCode: created initialization part: time 0.0035/14.68, allocations: 2.042 MB / 6.313 GB, free: 36.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/14.68, allocations: 0 / 6.313 GB, free: 36.77 MB / 0.6198 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source24outlet_Medium_ThermodynamicState145.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source124outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created simulation system equations: time 0.001868/14.69, allocations: 1.309 MB / 6.314 GB, free: 36.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/14.69, allocations: 320.7 kB / 6.314 GB, free: 36.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/14.69, allocations: 1.657 MB / 6.316 GB, free: 36.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/14.69, allocations: 1.089 MB / 6.317 GB, free: 35.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00145/14.69, allocations: 322.8 kB / 6.317 GB, free: 35.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/14.69, allocations: 144 kB / 6.317 GB, free: 35.52 MB / 0.6198 GB Notification: Performance of SimCode: time 8.81e-07/14.69, allocations: 0 / 6.317 GB, free: 35.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.08048/14.77, allocations: 61.24 MB / 6.377 GB, free: 33.56 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