Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_dev_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_dev_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 105 kB / 15.98 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 194.2 kB / 16.91 MB, free: 6.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7634/0.7634, allocations: 93.71 MB / 384.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003059/0.003058, allocations: 78.84 kB / 463.6 MB, free: 22.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1547, allocations: 68.28 MB / 0.5194 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6062/0.761, allocations: 257 MB / 0.7703 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.7791, allocations: 13.02 MB / 0.7831 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.7807, allocations: 87.44 kB / 0.7831 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.7833, allocations: 0.8982 MB / 0.784 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.797, allocations: 5.011 MB / 0.7889 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006126/0.8032, allocations: 2.225 MB / 0.7911 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00322/0.8064, allocations: 2.056 MB / 0.7931 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006454/0.8071, allocations: 397.5 kB / 0.7935 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.8098, allocations: 1.327 MB / 0.7948 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.8109, allocations: 0.8439 MB / 0.7956 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.8111, allocations: 100 kB / 0.7957 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01992/0.831, allocations: 11.02 MB / 0.8064 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007235/0.8318, allocations: 390.5 kB / 0.8068 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.8332, allocations: 0.707 MB / 0.8075 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009317/0.8426, allocations: 4.191 MB / 0.8116 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8426, allocations: 0 / 0.8116 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8426, allocations: 0 / 0.8116 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.496e-05/0.8427, allocations: 0 / 0.8116 GB, free: 15.64 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.007121/0.8498, allocations: 2.738 MB / 0.8143 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.8499, allocations: 12.03 kB / 0.8143 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005026/0.8504, allocations: 162 kB / 0.8144 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.8524, allocations: 0.9513 MB / 0.8154 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.8525, allocations: 73.98 kB / 0.8154 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.8526, allocations: 91.98 kB / 0.8155 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.8551, allocations: 1.404 MB / 0.8169 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.8551, allocations: 3.984 kB / 0.8169 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.2e-05/0.8552, allocations: 39.98 kB / 0.8169 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.8553, allocations: 93.94 kB / 0.817 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.8576, allocations: 1.523 MB / 0.8185 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008373/0.866, allocations: 5.849 MB / 0.8242 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.8677, allocations: 0.866 MB / 0.8251 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.8687, allocations: 0.677 MB / 0.8257 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2344/1.103, allocations: 2.398 MB / 0.8281 GB, free: 235.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.103, allocations: 46.88 kB / 0.8281 GB, free: 235.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 5.13e-06/1.103, allocations: 1.219 kB / 0.8281 GB, free: 235.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.004444/1.108, allocations: 2.095 MB / 0.8302 GB, free: 235.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/1.108, allocations: 100.3 kB / 0.8303 GB, free: 235.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/1.109, allocations: 0.9226 MB / 0.8312 GB, free: 235.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/1.109, allocations: 44.77 kB / 0.8312 GB, free: 235 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/1.109, allocations: 0.534 MB / 0.8317 GB, free: 234.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/1.11, allocations: 390.3 kB / 0.8321 GB, free: 234.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/1.11, allocations: 185.3 kB / 0.8323 GB, free: 234.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/1.11, allocations: 342 kB / 0.8326 GB, free: 234 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006932/1.111, allocations: 457.4 kB / 0.833 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/1.112, allocations: 0.5258 MB / 0.8336 GB, free: 233.6 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/1.113, allocations: 1.049 MB / 0.8346 GB, free: 233.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.113, allocations: 0 / 0.8346 GB, free: 233.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0023/1.115, allocations: 1.386 MB / 0.8359 GB, free: 232.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.115, allocations: 4.969 kB / 0.8359 GB, free: 232.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.116, allocations: 1 kB / 0.8359 GB, free: 232.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004339/1.116, allocations: 127.8 kB / 0.8361 GB, free: 232.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/1.117, allocations: 185.4 kB / 0.8362 GB, free: 232.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/1.119, allocations: 3.357 MB / 0.8395 GB, free: 229.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/1.12, allocations: 92.8 kB / 0.8396 GB, free: 229.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.12, allocations: 63.77 kB / 0.8397 GB, free: 229.3 MB / 0.6231 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): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004317/1.12, allocations: 283.7 kB / 0.8399 GB, free: 229.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/1.12, allocations: 133.8 kB / 0.8401 GB, free: 229 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/1.123, allocations: 2.052 MB / 0.8421 GB, free: 228.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/1.124, allocations: 13.81 kB / 0.8421 GB, free: 228.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.124, allocations: 3.375 kB / 0.8421 GB, free: 228.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/1.124, allocations: 8.766 kB / 0.8421 GB, free: 228.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/1.128, allocations: 2.998 MB / 0.845 GB, free: 226.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.128, allocations: 0 / 0.845 GB, free: 226.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/1.129, allocations: 173.9 kB / 0.8452 GB, free: 226.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004075/1.129, allocations: 132 kB / 0.8453 GB, free: 226.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/1.129, allocations: 40.39 kB / 0.8454 GB, free: 226.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/1.131, allocations: 3.38 MB / 0.8487 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.131, allocations: 3.828 kB / 0.8487 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/1.134, allocations: 2.226 MB / 0.8508 GB, free: 222.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/1.135, allocations: 209.5 kB / 0.851 GB, free: 222.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/1.135, allocations: 23.53 kB / 0.8511 GB, free: 222.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/1.136, allocations: 51.12 kB / 0.8511 GB, free: 222.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.136, allocations: 93.2 kB / 0.8512 GB, free: 222.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.136, allocations: 60.58 kB / 0.8512 GB, free: 222.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008198/1.137, allocations: 0.6756 MB / 0.8519 GB, free: 221.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.61e-07/1.137, allocations: 0 / 0.8519 GB, free: 221.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002491/1.139, allocations: 1.007 MB / 0.8529 GB, free: 221.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.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 (102): * Single equations (assignments): 92 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003214/1.142, allocations: 1.275 MB / 0.8541 GB, free: 221.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003129/1.146, allocations: 1.565 MB / 0.8557 GB, free: 220.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.146, allocations: 1.094 kB / 0.8557 GB, free: 220.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/1.147, allocations: 0.9271 MB / 0.8566 GB, free: 220.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/1.149, allocations: 421.3 kB / 0.857 GB, free: 220.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/1.153, allocations: 3.019 MB / 0.8599 GB, free: 218.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/1.154, allocations: 1.196 MB / 0.8611 GB, free: 217.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/1.154, allocations: 164.6 kB / 0.8612 GB, free: 217.7 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/1.154, allocations: 0 / 0.8612 GB, free: 217.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.04082/1.195, allocations: 42.08 MB / 0.9023 GB, free: 184.5 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches