Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.001079/0.001079, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002535, 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.00107/0.00107, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001335/0.002405, 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.9423/0.9423, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09966/1.042, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.6417/0.6417, allocations: 118.6 MB / 362.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06055/0.7023, allocations: 35.84 MB / 398.5 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.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 399.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/1.089e-05, allocations: 6.109 kB / 399.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3475/0.3475, allocations: 129.2 MB / 0.5165 GB, free: 2.941 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.3483, allocations: 0.7897 MB / 0.5173 GB, free: 2.152 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.3485, allocations: 31.69 kB / 0.5173 GB, free: 2.121 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.3487, allocations: 82.3 kB / 0.5174 GB, free: 2.043 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.349, allocations: 170.7 kB / 0.5176 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.3492, allocations: 126.7 kB / 0.5177 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.3496, allocations: 462.3 kB / 0.5181 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3497, allocations: 71.72 kB / 0.5182 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.3501, allocations: 296.6 kB / 0.5185 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.3502, allocations: 155.6 kB / 0.5186 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.3503, allocations: 20 kB / 0.5186 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.3504, allocations: 85.7 kB / 0.5187 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.3504, allocations: 43.75 kB / 0.5188 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.3505, allocations: 83.81 kB / 0.5188 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.3508, allocations: 289 kB / 0.5191 GB, free: 300 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.3509, allocations: 0 / 0.5191 GB, free: 300 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3509, allocations: 0 / 0.5191 GB, free: 300 kB / 490.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.3509, allocations: 0 / 0.5191 GB, free: 300 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009282/0.3518, allocations: 0.6817 MB / 0.5198 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.3518, allocations: 16.03 kB / 0.5198 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.3519, allocations: 36.91 kB / 0.5198 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.3522, allocations: 341.4 kB / 0.5202 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3522, allocations: 12.75 kB / 0.5202 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.3523, allocations: 20.38 kB / 0.5202 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3524, allocations: 172.5 kB / 0.5203 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3524, allocations: 4.188 kB / 0.5204 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3525, allocations: 9.609 kB / 0.5204 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.3525, allocations: 7.938 kB / 0.5204 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.85e-05/0.3525, allocations: 50.41 kB / 0.5204 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.353, allocations: 493.3 kB / 0.5209 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3532, allocations: 98.41 kB / 0.521 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.3532, allocations: 36.84 kB / 0.521 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/0.3533, allocations: 4 kB / 0.521 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.3533, allocations: 34.56 kB / 0.5211 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.3533, allocations: 0 / 0.5211 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0006977/0.354, allocations: 438.7 kB / 0.5215 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.354, allocations: 63.34 kB / 0.5215 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3542, allocations: 275 kB / 0.5218 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.3542, allocations: 25.7 kB / 0.5218 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.3542, allocations: 153.1 kB / 0.522 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.3543, allocations: 67.42 kB / 0.522 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.3543, allocations: 29.7 kB / 0.5221 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.3544, allocations: 354.7 kB / 0.5224 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.3544, allocations: 12 kB / 0.5224 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.3545, allocations: 35.92 kB / 0.5224 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.07e-05/0.3545, allocations: 59.5 kB / 0.5225 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3545, allocations: 4 kB / 0.5225 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001823/0.3547, allocations: 158.2 kB / 0.5227 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3547, allocations: 8 kB / 0.5227 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3547, allocations: 0.5 kB / 0.5227 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.3549, allocations: 68.73 kB / 0.5227 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.3549, allocations: 28.03 kB / 0.5228 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009036/0.3558, allocations: 1.453 MB / 0.5242 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.3559, allocations: 10.12 kB / 0.5242 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.3559, allocations: 4 kB / 0.5242 GB, free: 10.79 MB / 0.4948 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.181e-05/0.356, allocations: 120.7 kB / 0.5243 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.356, allocations: 19.98 kB / 0.5243 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.3562, allocations: 200.8 kB / 0.5245 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3562, allocations: 0 / 0.5245 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3562, allocations: 4 kB / 0.5245 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3562, allocations: 0 / 0.5245 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.3566, allocations: 431.3 kB / 0.5249 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3566, allocations: 4 kB / 0.5249 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.3566, allocations: 8 kB / 0.5249 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.3566, allocations: 31.8 kB / 0.525 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.3568, allocations: 84.83 kB / 0.525 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3568, allocations: 11.98 kB / 0.5251 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.3579, allocations: 1.45 MB / 0.5265 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3579, allocations: 0 / 0.5265 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3581, allocations: 305.4 kB / 0.5268 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3581, allocations: 8.141 kB / 0.5268 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.823e-05/0.3582, allocations: 4.5 kB / 0.5268 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.3582, allocations: 27.89 kB / 0.5268 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.3582, allocations: 11.98 kB / 0.5268 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.825e-05/0.3583, allocations: 116.7 kB / 0.5269 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.3583, allocations: 0 / 0.5269 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002028/0.3585, allocations: 64 kB / 0.527 GB, free: 7.723 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.3586, allocations: 88.36 kB / 0.5271 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.3589, allocations: 266.7 kB / 0.5273 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.3589, allocations: 8 kB / 0.5273 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.3591, allocations: 224.4 kB / 0.5276 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3594, allocations: 98.89 kB / 0.5276 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.3634, allocations: 0.6274 MB / 0.5283 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.542e-05/0.3635, allocations: 101.2 kB / 0.5284 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.771e-05/0.3635, allocations: 26.97 kB / 0.5284 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.3636, allocations: 95.34 kB / 0.5285 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.3636, allocations: 0 / 0.5285 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of Templates: time 0.005838/0.3695, allocations: 4.306 MB / 0.5327 GB, free: 1.902 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_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: 3.4799668891355395]