Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.064/1.064, allocations: 177.2 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7376/0.7376, allocations: 118.6 MB / 378.9 MB, free: 1.391 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.306e-05, allocations: 2.312 kB / 430.9 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.3519/0.3519, allocations: 149.5 MB / 0.5668 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00518/0.3571, allocations: 2.755 MB / 0.5695 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.3583, allocations: 115 kB / 0.5696 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.3591, allocations: 283.4 kB / 0.5699 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.3628, allocations: 1.731 MB / 0.5716 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.3644, allocations: 0.6932 MB / 0.5722 GB, free: 252 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002472/0.3668, allocations: 2.331 MB / 0.5745 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.3673, allocations: 262.3 kB / 0.5748 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.3698, allocations: 1.464 MB / 0.5762 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009167/0.3707, allocations: 0.6697 MB / 0.5768 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.3709, allocations: 100 kB / 0.5769 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.3738, allocations: 1.739 MB / 0.5786 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.3741, allocations: 426.4 kB / 0.579 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.3746, allocations: 0.4987 MB / 0.5795 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.3782, allocations: 2.336 MB / 0.5818 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3782, allocations: 3.938 kB / 0.5818 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3782, allocations: 4 kB / 0.5818 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.628e-05/0.3782, allocations: 0 / 0.5818 GB, free: 6.363 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003056/0.3813, allocations: 2.151 MB / 0.5839 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3813, allocations: 8.031 kB / 0.5839 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/0.3816, allocations: 205.7 kB / 0.5841 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.3831, allocations: 1.038 MB / 0.5851 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.3831, allocations: 70 kB / 0.5852 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.3832, allocations: 103.9 kB / 0.5853 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.3841, allocations: 0.7956 MB / 0.5861 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.3841, allocations: 0 / 0.5861 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.3841, allocations: 36 kB / 0.5861 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.842e-05/0.3842, allocations: 85.95 kB / 0.5862 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.3848, allocations: 475.3 kB / 0.5866 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.3885, allocations: 2.864 MB / 0.5894 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.3892, allocations: 0.513 MB / 0.5899 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.3894, allocations: 260.7 kB / 0.5902 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003563/0.3898, allocations: 121.5 kB / 0.5903 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.3898, allocations: 51.5 kB / 0.5904 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 3.947e-06/0.3898, allocations: 0 / 0.5904 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=114): time 0.001484/0.3913, allocations: 0.9212 MB / 0.5913 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3914, allocations: 90.11 kB / 0.5913 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.3919, allocations: 0.7892 MB / 0.5921 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.392, allocations: 45.7 kB / 0.5922 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.3922, allocations: 404.7 kB / 0.5925 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.3924, allocations: 408.3 kB / 0.5929 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.3926, allocations: 182.5 kB / 0.5931 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3927, allocations: 353.8 kB / 0.5934 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.3929, allocations: 152.8 kB / 0.5936 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.3932, allocations: 226.2 kB / 0.5938 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.3938, allocations: 491.5 kB / 0.5943 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3938, allocations: 4.438 kB / 0.5943 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0009262/0.3947, allocations: 0.6545 MB / 0.5949 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3947, allocations: 7.984 kB / 0.5949 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3947, allocations: 0 / 0.5949 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.395, allocations: 114.7 kB / 0.595 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.3955, allocations: 203.8 kB / 0.5952 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.3971, allocations: 2.614 MB / 0.5978 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.3975, allocations: 71.38 kB / 0.5979 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/0.3976, allocations: 51.97 kB / 0.5979 GB, free: 5.395 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 100 * 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.0002855/0.3979, allocations: 164.5 kB / 0.5981 GB, free: 5.223 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.3981, allocations: 131.7 kB / 0.5982 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.3996, allocations: 1.269 MB / 0.5994 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.3996, allocations: 12 kB / 0.5994 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3996, allocations: 7.938 kB / 0.5994 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3996, allocations: 3.984 kB / 0.5994 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.4017, allocations: 1.612 MB / 0.601 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4018, allocations: 3.375 kB / 0.601 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.4021, allocations: 187.8 kB / 0.6012 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003128/0.4024, allocations: 129.6 kB / 0.6013 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.4025, allocations: 39.91 kB / 0.6014 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.4042, allocations: 2.622 MB / 0.6039 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4042, allocations: 0 / 0.6039 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.4055, allocations: 1.163 MB / 0.6051 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.4058, allocations: 194.8 kB / 0.6052 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-05/0.4059, allocations: 35.88 kB / 0.6053 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.4061, allocations: 16 kB / 0.6053 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4062, allocations: 88.83 kB / 0.6054 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.03e-05/0.4063, allocations: 43.97 kB / 0.6054 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003725/0.4067, allocations: 428.8 kB / 0.6058 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4067, allocations: 3.969 kB / 0.6058 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001203/0.4079, allocations: 0.5728 MB / 0.6064 GB, free: 12.41 MB / 0.5573 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.0007155/0.4086, allocations: 401.3 kB / 0.6068 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.4097, allocations: 0.8204 MB / 0.6076 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/0.4097, allocations: 16.12 kB / 0.6076 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.4103, allocations: 0.5951 MB / 0.6082 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.4116, allocations: 0.5486 MB / 0.6087 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.415, allocations: 2.28 MB / 0.6109 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.4152, allocations: 274.6 kB / 0.6112 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000976/0.4162, allocations: 0.5476 MB / 0.6117 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/0.417, allocations: 431.1 kB / 0.6121 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of SimCode: time 1.673e-06/0.417, allocations: 0 / 0.6121 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of Templates: time 0.03543/0.4524, allocations: 27.8 MB / 0.6393 GB, free: 11.14 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.646131827030331]