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.000799/0.000799, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.001977, allocations: 440 kB / 10.41 MB, free: 284 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.0007198/0.0007198, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009798/0.0017, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8963/0.8963, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09052/0.9868, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.6838/0.6838, allocations: 118.8 MB / 362.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07051/0.7543, allocations: 35.85 MB / 398.8 MB, free: 13.2 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 / 400 MB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.361e-05, allocations: 2.312 kB / 400.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3255/0.3255, allocations: 129.2 MB / 0.5168 GB, free: 2.855 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.3264, allocations: 0.782 MB / 0.5176 GB, free: 2.074 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3265, allocations: 27.75 kB / 0.5176 GB, free: 2.047 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.3267, allocations: 86.23 kB / 0.5177 GB, free: 1.965 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.3269, allocations: 170.7 kB / 0.5179 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3271, allocations: 129.7 kB / 0.518 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.3275, allocations: 469.7 kB / 0.5184 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3276, allocations: 63.86 kB / 0.5185 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.328, allocations: 292 kB / 0.5188 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.3281, allocations: 159.6 kB / 0.5189 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.3282, allocations: 23.94 kB / 0.519 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3283, allocations: 83.88 kB / 0.519 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.3283, allocations: 35.81 kB / 0.5191 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.3284, allocations: 87.75 kB / 0.5192 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.3287, allocations: 293.1 kB / 0.5194 GB, free: 212 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.3287, allocations: 0 / 0.5194 GB, free: 212 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3287, allocations: 0 / 0.5194 GB, free: 212 kB / 490.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3287, allocations: 0 / 0.5194 GB, free: 212 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.0006033/0.3293, allocations: 0.6817 MB / 0.5201 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.3293, allocations: 20.02 kB / 0.5201 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.3294, allocations: 36.91 kB / 0.5202 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3297, allocations: 337.5 kB / 0.5205 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3297, allocations: 16.73 kB / 0.5205 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3297, allocations: 20.38 kB / 0.5205 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.3299, allocations: 157.2 kB / 0.5207 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.3299, allocations: 192 / 0.5207 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3299, allocations: 12.31 kB / 0.5207 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3299, allocations: 7.938 kB / 0.5207 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.33, allocations: 62.38 kB / 0.5207 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.3305, allocations: 494.5 kB / 0.5212 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3306, allocations: 98.41 kB / 0.5213 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.3307, allocations: 28.86 kB / 0.5213 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.3307, allocations: 15.98 kB / 0.5214 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.3307, allocations: 30.56 kB / 0.5214 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.3307, allocations: 0 / 0.5214 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007268/0.3315, allocations: 461.3 kB / 0.5218 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.3315, allocations: 59.34 kB / 0.5219 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3316, allocations: 263 kB / 0.5221 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3316, allocations: 37.69 kB / 0.5222 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.3317, allocations: 145.1 kB / 0.5223 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.3317, allocations: 67.41 kB / 0.5224 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.3318, allocations: 37.7 kB / 0.5224 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.3319, allocations: 342.7 kB / 0.5227 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.3319, allocations: 15.98 kB / 0.5227 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.3319, allocations: 41.69 kB / 0.5228 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.116e-05/0.332, allocations: 55.36 kB / 0.5228 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.332, allocations: 4 kB / 0.5228 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001692/0.3321, allocations: 160.2 kB / 0.523 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.3321, allocations: 4 kB / 0.523 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3322, allocations: 0 / 0.523 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.3323, allocations: 82.91 kB / 0.5231 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.3324, allocations: 19.98 kB / 0.5231 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008594/0.3332, allocations: 1.46 MB / 0.5245 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.3333, allocations: 0 / 0.5245 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3333, allocations: 8 kB / 0.5245 GB, free: 10.68 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 6.611e-05/0.3333, allocations: 120.6 kB / 0.5246 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3334, allocations: 19.98 kB / 0.5247 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.3336, allocations: 198.4 kB / 0.5249 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3336, allocations: 4 kB / 0.5249 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.3336, allocations: 0 / 0.5249 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3336, allocations: 0 / 0.5249 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.3339, allocations: 427.3 kB / 0.5253 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3339, allocations: 1.062 kB / 0.5253 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.334, allocations: 19.98 kB / 0.5253 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.334, allocations: 27.81 kB / 0.5253 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.3341, allocations: 88.8 kB / 0.5254 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3341, allocations: 8 kB / 0.5254 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007792/0.3349, allocations: 1.453 MB / 0.5268 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3349, allocations: 0.5625 kB / 0.5268 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.3351, allocations: 312.3 kB / 0.5271 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3352, allocations: 8 kB / 0.5271 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-05/0.3352, allocations: 3.938 kB / 0.5271 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.3352, allocations: 23.91 kB / 0.5272 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3353, allocations: 4.688 kB / 0.5272 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.3353, allocations: 112.7 kB / 0.5273 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-08/0.3353, allocations: 0 / 0.5273 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001856/0.3355, allocations: 68 kB / 0.5273 GB, free: 7.621 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.0001116/0.3356, allocations: 92.39 kB / 0.5274 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.3359, allocations: 265.7 kB / 0.5277 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.3359, allocations: 4 kB / 0.5277 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.3361, allocations: 239.5 kB / 0.5279 GB, free: 7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3365, allocations: 0.5578 MB / 0.5285 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.3402, allocations: 0.6187 MB / 0.5291 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.967e-05/0.3402, allocations: 97.22 kB / 0.5291 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.151e-05/0.3403, allocations: 26.97 kB / 0.5292 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.3404, allocations: 95.34 kB / 0.5293 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.3404, allocations: 0 / 0.5293 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.00544/0.3458, allocations: 4.295 MB / 0.5335 GB, free: 1.246 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.452148991636932]