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.001517/0.001517, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001842/0.001842, allocations: 173 kB / 23.49 MB, free: 1.055 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.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.7231/0.7231, allocations: 118.6 MB / 378.9 MB, free: 1.504 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 2.294e-06/2.294e-06, allocations: 1.312 kB / 483.6 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.662e-05, allocations: 8.984 kB / 483.6 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.4969/0.4969, allocations: 262.2 MB / 0.7284 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006973/0.5039, allocations: 6.206 MB / 0.7344 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.5055, allocations: 116.7 kB / 0.7346 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.5075, allocations: 0.8979 MB / 0.7354 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.5203, allocations: 5.732 MB / 0.741 GB, free: 9.984 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005027/0.5253, allocations: 2.539 MB / 0.7435 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00253/0.5278, allocations: 2.336 MB / 0.7458 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006098/0.5285, allocations: 249.2 kB / 0.746 GB, free: 23.14 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.531, allocations: 1.777 MB / 0.7478 GB, free: 22.23 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008352/0.5319, allocations: 0.7015 MB / 0.7485 GB, free: 21.93 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.532, allocations: 99.16 kB / 0.7485 GB, free: 21.93 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/0.5471, allocations: 8.838 MB / 0.7572 GB, free: 18.27 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005746/0.5477, allocations: 422.7 kB / 0.7576 GB, free: 17.98 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000961/0.5487, allocations: 0.504 MB / 0.7581 GB, free: 17.77 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/0.566, allocations: 6.271 MB / 0.7642 GB, free: 14.74 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.566, allocations: 0 / 0.7642 GB, free: 14.74 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.566, allocations: 0 / 0.7642 GB, free: 14.74 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.86e-05/0.5661, allocations: 0 / 0.7642 GB, free: 14.74 MB / 0.573 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.00687/0.573, allocations: 2.947 MB / 0.7671 GB, free: 12.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.573, allocations: 9.906 kB / 0.7671 GB, free: 12.66 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005641/0.5736, allocations: 275.3 kB / 0.7673 GB, free: 12.52 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.5755, allocations: 1.144 MB / 0.7685 GB, free: 11.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.5756, allocations: 74.22 kB / 0.7685 GB, free: 11.76 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.5757, allocations: 104 kB / 0.7686 GB, free: 11.73 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.5772, allocations: 0.8822 MB / 0.7695 GB, free: 11.23 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.5772, allocations: 0 / 0.7695 GB, free: 11.23 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.857e-05/0.5773, allocations: 39.56 kB / 0.7695 GB, free: 11.2 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.5774, allocations: 90.17 kB / 0.7696 GB, free: 11.18 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.5786, allocations: 0.6586 MB / 0.7703 GB, free: 10.98 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005521/0.5841, allocations: 3.805 MB / 0.774 GB, free: 8.254 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.5852, allocations: 0.5388 MB / 0.7745 GB, free: 8.031 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.5857, allocations: 366.9 kB / 0.7749 GB, free: 7.895 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/0.5864, allocations: 307.8 kB / 0.7751 GB, free: 7.762 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.5865, allocations: 48.36 kB / 0.7752 GB, free: 7.711 MB / 0.573 GB Notification: Performance of pre-optimization done (n=114): time 3.957e-06/0.5865, allocations: 0 / 0.7752 GB, free: 7.711 MB / 0.573 GB Notification: Performance of matching and sorting (n=114): time 0.002922/0.5894, allocations: 1.363 MB / 0.7765 GB, free: 6.445 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.5894, allocations: 94.09 kB / 0.7766 GB, free: 6.332 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.5904, allocations: 0.8809 MB / 0.7775 GB, free: 5.438 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.5905, allocations: 42.8 kB / 0.7775 GB, free: 5.391 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.5909, allocations: 0.6306 MB / 0.7781 GB, free: 4.754 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.5912, allocations: 412.2 kB / 0.7785 GB, free: 4.359 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.5915, allocations: 191.2 kB / 0.7787 GB, free: 4.168 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5916, allocations: 0.5121 MB / 0.7792 GB, free: 3.648 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.5921, allocations: 240.4 kB / 0.7794 GB, free: 3.414 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.5926, allocations: 335.9 kB / 0.7798 GB, free: 3.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.5937, allocations: 0.6456 MB / 0.7804 GB, free: 2.41 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5937, allocations: 0 / 0.7804 GB, free: 2.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001882/0.5956, allocations: 1.019 MB / 0.7814 GB, free: 1.391 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5956, allocations: 4 kB / 0.7814 GB, free: 1.387 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5956, allocations: 0 / 0.7814 GB, free: 1.387 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/0.5961, allocations: 126 kB / 0.7815 GB, free: 1.258 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.5967, allocations: 194 kB / 0.7817 GB, free: 1.078 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.5988, allocations: 3.823 MB / 0.7854 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.5993, allocations: 73.53 kB / 0.7855 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5995, allocations: 64.05 kB / 0.7856 GB, free: 12.91 MB / 0.5886 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.000391/0.5998, allocations: 208.7 kB / 0.7858 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.6002, allocations: 186.9 kB / 0.7859 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.6022, allocations: 1.595 MB / 0.7875 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.6023, allocations: 12 kB / 0.7875 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6023, allocations: 0 / 0.7875 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6023, allocations: 7.969 kB / 0.7875 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.605, allocations: 2.251 MB / 0.7897 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.605, allocations: 4 kB / 0.7897 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.6054, allocations: 174.1 kB / 0.7899 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.6057, allocations: 131.3 kB / 0.79 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/0.6058, allocations: 47.91 kB / 0.79 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.6077, allocations: 3.827 MB / 0.7938 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6077, allocations: 2.625 kB / 0.7938 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.6098, allocations: 1.599 MB / 0.7954 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.6102, allocations: 258.7 kB / 0.7956 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.6103, allocations: 20 kB / 0.7956 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.6106, allocations: 25.5 kB / 0.7956 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.6107, allocations: 95.42 kB / 0.7957 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/0.6108, allocations: 59.72 kB / 0.7958 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005395/0.6113, allocations: 0.58 MB / 0.7964 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.6113, allocations: 0 / 0.7964 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002583/0.6139, allocations: 1.063 MB / 0.7974 GB, free: 0.5195 MB / 0.5886 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.002746/0.6167, allocations: 1.36 MB / 0.7987 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.6184, allocations: 1.114 MB / 0.7998 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6184, allocations: 0 / 0.7998 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007972/0.6192, allocations: 0.804 MB / 0.8006 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.6208, allocations: 0.5588 MB / 0.8011 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.6246, allocations: 2.328 MB / 0.8034 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.6248, allocations: 282.5 kB / 0.8037 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001044/0.6258, allocations: 0.5467 MB / 0.8042 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.6261, allocations: 148.4 kB / 0.8044 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of SimCode: time 1.733e-06/0.6261, allocations: 4 kB / 0.8044 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of Templates: time 0.04171/0.6678, allocations: 38.45 MB / 0.8419 GB, free: 3.5 MB / 0.6355 GB " [Timeout remaining time 659] 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 -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: 5.365508639020845]