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.0007251/0.0007251, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001771, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007075/0.0007075, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008629/0.00157, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.967/0.967, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08902/1.056, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.7751/0.7751, allocations: 118.6 MB / 362.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06136/0.8364, allocations: 35.84 MB / 398.4 MB, free: 13.25 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="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="nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 399.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.268e-05, allocations: 2.312 kB / 399.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.3966/0.3967, allocations: 149.9 MB / 0.5368 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004468/0.4011, allocations: 2.771 MB / 0.5395 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009143/0.402, allocations: 114.9 kB / 0.5396 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.4026, allocations: 300.3 kB / 0.5399 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.4061, allocations: 1.708 MB / 0.5416 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.4076, allocations: 0.6854 MB / 0.5422 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.4098, allocations: 2.327 MB / 0.5445 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.4102, allocations: 258.3 kB / 0.5448 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.4125, allocations: 1.568 MB / 0.5463 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/0.4133, allocations: 0.6696 MB / 0.5469 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.4135, allocations: 100 kB / 0.547 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.4167, allocations: 1.739 MB / 0.5487 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.417, allocations: 350.8 kB / 0.5491 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004648/0.4175, allocations: 439 kB / 0.5495 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.4208, allocations: 2.098 MB / 0.5515 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.072e-05/0.4208, allocations: 0 / 0.5515 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4208, allocations: 4 kB / 0.5515 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.217e-05/0.4209, allocations: 3.938 kB / 0.5515 GB, free: 15.3 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.003298/0.4242, allocations: 2.627 MB / 0.5541 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4242, allocations: 12.03 kB / 0.5541 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.4245, allocations: 204.6 kB / 0.5543 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.426, allocations: 1.044 MB / 0.5553 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.4261, allocations: 75.23 kB / 0.5554 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.4262, allocations: 99.92 kB / 0.5555 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.4269, allocations: 0.7917 MB / 0.5563 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.427, allocations: 4 kB / 0.5563 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.427, allocations: 39.98 kB / 0.5563 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.241e-05/0.4271, allocations: 89.95 kB / 0.5564 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.4276, allocations: 463.3 kB / 0.5568 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003365/0.431, allocations: 2.87 MB / 0.5596 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.4316, allocations: 0.5162 MB / 0.5602 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.4318, allocations: 251 kB / 0.5604 GB, free: 6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/0.4321, allocations: 129.5 kB / 0.5605 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.4322, allocations: 47.5 kB / 0.5606 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=114): time 3.306e-06/0.4322, allocations: 0 / 0.5606 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=114): time 0.001359/0.4335, allocations: 0.9212 MB / 0.5615 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.4336, allocations: 90.11 kB / 0.5615 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/0.4342, allocations: 0.7848 MB / 0.5623 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.4343, allocations: 45.69 kB / 0.5624 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.4345, allocations: 408.7 kB / 0.5627 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.4347, allocations: 416.2 kB / 0.5631 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.435, allocations: 182.5 kB / 0.5633 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4351, allocations: 349.8 kB / 0.5636 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.4354, allocations: 148.8 kB / 0.5638 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.4357, allocations: 226.2 kB / 0.564 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.4364, allocations: 499.4 kB / 0.5645 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4364, allocations: 0 / 0.5645 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001102/0.4375, allocations: 0.6507 MB / 0.5651 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4375, allocations: 8 kB / 0.5651 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.4375, allocations: 3.984 kB / 0.5651 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.4379, allocations: 110.6 kB / 0.5652 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.4383, allocations: 239.7 kB / 0.5655 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.4399, allocations: 2.618 MB / 0.568 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.4402, allocations: 67.41 kB / 0.5681 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.4403, allocations: 55.97 kB / 0.5681 GB, free: 13.77 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.0002479/0.4406, allocations: 160.5 kB / 0.5683 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.4407, allocations: 123.8 kB / 0.5684 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.4423, allocations: 1.275 MB / 0.5697 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.4423, allocations: 8 kB / 0.5697 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.4423, allocations: 8 kB / 0.5697 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4423, allocations: 11.97 kB / 0.5697 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.4442, allocations: 1.612 MB / 0.5713 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4442, allocations: 0 / 0.5713 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.4447, allocations: 215.8 kB / 0.5715 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.4449, allocations: 198.8 kB / 0.5717 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.4452, allocations: 121.5 kB / 0.5718 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.4453, allocations: 39.95 kB / 0.5718 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.4467, allocations: 2.624 MB / 0.5744 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4467, allocations: 0 / 0.5744 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.4478, allocations: 1.174 MB / 0.5755 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.4481, allocations: 28.17 kB / 0.5755 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.4483, allocations: 20 kB / 0.5756 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.4484, allocations: 84.84 kB / 0.5756 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/0.4485, allocations: 51.95 kB / 0.5757 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003012/0.4488, allocations: 424.8 kB / 0.5761 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-08/0.4488, allocations: 4.031 kB / 0.5761 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001068/0.4499, allocations: 0.5573 MB / 0.5766 GB, free: 4.77 MB / 0.5417 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.0006509/0.4505, allocations: 422.5 kB / 0.577 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009443/0.4515, allocations: 0.8166 MB / 0.5778 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.887e-05/0.4515, allocations: 26.69 kB / 0.5779 GB, free: 3.477 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.452, allocations: 0.6107 MB / 0.5785 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.4532, allocations: 0.6458 MB / 0.5791 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.4665, allocations: 2.374 MB / 0.5814 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.4667, allocations: 274.6 kB / 0.5817 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001087/0.4678, allocations: 0.536 MB / 0.5822 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008886/0.4687, allocations: 435.1 kB / 0.5826 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of SimCode: time 2.094e-06/0.4687, allocations: 0 / 0.5826 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of Templates: time 0.03439/0.5031, allocations: 28.69 MB / 0.6106 GB, free: 2.387 MB / 0.573 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 -ignoreHideResult -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.559392738156021]