Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001195/0.001195, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001888/0.003083, 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.001187/0.001187, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002683, 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.9482/0.9482, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0944/1.043, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.667/0.667, allocations: 118.7 MB / 362.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05813/0.7251, allocations: 35.83 MB / 398.5 MB, free: 13.37 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-main/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_dev_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_dev_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 399.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.271e-05, allocations: 2.312 kB / 399.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.338/0.338, allocations: 129.2 MB / 0.5166 GB, free: 3.137 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.339, allocations: 0.7975 MB / 0.5173 GB, free: 2.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.3392, allocations: 23.75 kB / 0.5174 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.3395, allocations: 86.19 kB / 0.5174 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.3397, allocations: 178.8 kB / 0.5176 GB, free: 2.059 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.34, allocations: 113.8 kB / 0.5177 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.3404, allocations: 474.2 kB / 0.5182 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3405, allocations: 63.92 kB / 0.5182 GB, free: 1.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.3409, allocations: 303.5 kB / 0.5185 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.3411, allocations: 147.6 kB / 0.5187 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.3411, allocations: 20 kB / 0.5187 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.3412, allocations: 79.88 kB / 0.5188 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.3413, allocations: 43.75 kB / 0.5188 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.3413, allocations: 83.75 kB / 0.5189 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005678/0.3419, allocations: 292.8 kB / 0.5192 GB, free: 500 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.3419, allocations: 3.938 kB / 0.5192 GB, free: 496 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3419, allocations: 0 / 0.5192 GB, free: 496 kB / 490.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.3419, allocations: 0 / 0.5192 GB, free: 496 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.0006701/0.3426, allocations: 0.6934 MB / 0.5198 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.3426, allocations: 8.031 kB / 0.5198 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.3427, allocations: 40.89 kB / 0.5199 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.343, allocations: 341.5 kB / 0.5202 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3431, allocations: 8.75 kB / 0.5202 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.3431, allocations: 32.36 kB / 0.5203 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3433, allocations: 160.6 kB / 0.5204 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3433, allocations: 1.438 kB / 0.5204 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3433, allocations: 8.375 kB / 0.5204 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3433, allocations: 7.938 kB / 0.5204 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.3434, allocations: 54.34 kB / 0.5205 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.3439, allocations: 489.3 kB / 0.5209 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.3441, allocations: 98.47 kB / 0.521 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.3441, allocations: 36.84 kB / 0.5211 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-05/0.3442, allocations: 7.984 kB / 0.5211 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.3442, allocations: 34.5 kB / 0.5211 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.3442, allocations: 0 / 0.5211 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007228/0.3449, allocations: 449 kB / 0.5215 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.345, allocations: 51.41 kB / 0.5216 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3451, allocations: 267 kB / 0.5218 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.3451, allocations: 29.7 kB / 0.5219 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.3452, allocations: 153.1 kB / 0.522 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.3452, allocations: 67.42 kB / 0.5221 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.3453, allocations: 29.7 kB / 0.5221 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.3453, allocations: 354.7 kB / 0.5224 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.3454, allocations: 19.92 kB / 0.5225 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.3454, allocations: 41.62 kB / 0.5225 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.3455, allocations: 55.64 kB / 0.5226 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3455, allocations: 4 kB / 0.5226 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001816/0.3456, allocations: 154.8 kB / 0.5227 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.3457, allocations: 4 kB / 0.5227 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3457, allocations: 4 kB / 0.5227 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.3458, allocations: 76.72 kB / 0.5228 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.3459, allocations: 27.98 kB / 0.5228 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009397/0.3468, allocations: 1.443 MB / 0.5242 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.3469, allocations: 4 kB / 0.5242 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.3469, allocations: 7.984 kB / 0.5242 GB, free: 10.98 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.431e-05/0.347, allocations: 120.6 kB / 0.5244 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.347, allocations: 23.98 kB / 0.5244 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.3472, allocations: 192 kB / 0.5246 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3472, allocations: 4 kB / 0.5246 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3472, allocations: 0 / 0.5246 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3472, allocations: 0 / 0.5246 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.3476, allocations: 431.3 kB / 0.525 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3476, allocations: 3.938 kB / 0.525 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.3477, allocations: 16.98 kB / 0.525 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.3477, allocations: 27.81 kB / 0.525 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.3479, allocations: 84.86 kB / 0.5251 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3479, allocations: 8 kB / 0.5251 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.349, allocations: 1.461 MB / 0.5265 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.349, allocations: 0 / 0.5265 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.3492, allocations: 304.2 kB / 0.5268 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3492, allocations: 8 kB / 0.5268 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.3493, allocations: 16.48 kB / 0.5269 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.3493, allocations: 15.97 kB / 0.5269 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3493, allocations: 7.938 kB / 0.5269 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.938e-05/0.3494, allocations: 108.7 kB / 0.527 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.3494, allocations: 0 / 0.527 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002184/0.3496, allocations: 72 kB / 0.527 GB, free: 7.91 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.000144/0.3498, allocations: 96.34 kB / 0.5271 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.3501, allocations: 256 kB / 0.5274 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.3501, allocations: 4 kB / 0.5274 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.3503, allocations: 231.4 kB / 0.5276 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3506, allocations: 89.25 kB / 0.5277 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.3547, allocations: 0.6335 MB / 0.5283 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.3548, allocations: 97.22 kB / 0.5284 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.475e-05/0.3549, allocations: 31.14 kB / 0.5284 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.355, allocations: 95.34 kB / 0.5285 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/0.355, allocations: 0 / 0.5285 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of Templates: time 0.007403/0.3624, allocations: 4.328 MB / 0.5327 GB, free: 2.082 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.7364866184070706]