Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.001146/0.001146, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001915/0.003061, 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.001143/0.001143, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001506/0.00265, 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.9359/0.9359, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08837/1.024, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.7067/0.7067, allocations: 118.8 MB / 362.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06021/0.7669, 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.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 400 MB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.333e-05, allocations: 6.312 kB / 400.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.3177/0.3177, allocations: 129.6 MB / 0.5172 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3192, allocations: 1.378 MB / 0.5185 GB, free: 1.117 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.3194, allocations: 39.62 kB / 0.5186 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.3197, allocations: 117.1 kB / 0.5187 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.3201, allocations: 322 kB / 0.519 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.3205, allocations: 227.1 kB / 0.5192 GB, free: 444 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.321, allocations: 0.8216 MB / 0.52 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3212, allocations: 71.52 kB / 0.5201 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004882/0.3216, allocations: 473.5 kB / 0.5205 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.322, allocations: 359.2 kB / 0.5209 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.322, allocations: 32 kB / 0.5209 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.3223, allocations: 167.6 kB / 0.5211 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.3223, allocations: 92.28 kB / 0.5212 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.3224, allocations: 127.7 kB / 0.5213 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.3229, allocations: 466.3 kB / 0.5217 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.3229, allocations: 7.984 kB / 0.5217 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3229, allocations: 0 / 0.5217 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3229, allocations: 0 / 0.5217 GB, free: 13.84 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009504/0.3238, allocations: 0.8996 MB / 0.5226 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.3239, allocations: 8.031 kB / 0.5226 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.3239, allocations: 52.89 kB / 0.5227 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.3244, allocations: 439.5 kB / 0.5231 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3244, allocations: 24.81 kB / 0.5231 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.3244, allocations: 40.3 kB / 0.5231 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.3247, allocations: 257 kB / 0.5234 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3247, allocations: 0 / 0.5234 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3247, allocations: 11.94 kB / 0.5234 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.3247, allocations: 20.48 kB / 0.5234 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.325, allocations: 142.1 kB / 0.5236 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.3268, allocations: 0.8722 MB / 0.5244 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.3271, allocations: 114.5 kB / 0.5245 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.3272, allocations: 77.36 kB / 0.5246 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.676e-05/0.3273, allocations: 35.95 kB / 0.5246 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.3273, allocations: 34.56 kB / 0.5247 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.3273, allocations: 0 / 0.5247 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0012/0.3285, allocations: 0.7206 MB / 0.5254 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.3285, allocations: 59.41 kB / 0.5254 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3287, allocations: 335.3 kB / 0.5257 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3287, allocations: 29.7 kB / 0.5258 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.3287, allocations: 173.6 kB / 0.5259 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.3288, allocations: 114.9 kB / 0.526 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.249e-05/0.3289, allocations: 61.66 kB / 0.5261 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.329, allocations: 362.7 kB / 0.5264 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.3291, allocations: 36.88 kB / 0.5265 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.3291, allocations: 55.69 kB / 0.5265 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3293, allocations: 136.1 kB / 0.5267 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3293, allocations: 0 / 0.5267 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002816/0.3296, allocations: 260.7 kB / 0.5269 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3296, allocations: 4 kB / 0.5269 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3296, allocations: 0 / 0.5269 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.3298, allocations: 89.27 kB / 0.527 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.3299, allocations: 67.86 kB / 0.5271 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.331, allocations: 1.759 MB / 0.5288 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.3311, allocations: 4 kB / 0.5288 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.3311, allocations: 11.98 kB / 0.5288 GB, free: 6.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.419e-05/0.3312, allocations: 124.6 kB / 0.5289 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3313, allocations: 39.91 kB / 0.529 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.3317, allocations: 450.6 kB / 0.5294 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3317, allocations: 4.5 kB / 0.5294 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3317, allocations: 7.984 kB / 0.5294 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3317, allocations: 0 / 0.5294 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3319, allocations: 213.6 kB / 0.5296 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3319, allocations: 1.5 kB / 0.5296 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.365e-05/0.332, allocations: 39.92 kB / 0.5296 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.3321, allocations: 51.7 kB / 0.5297 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/0.3322, allocations: 98.22 kB / 0.5298 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3323, allocations: 7.984 kB / 0.5298 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.3335, allocations: 1.724 MB / 0.5315 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3335, allocations: 0 / 0.5315 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3338, allocations: 325.2 kB / 0.5318 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.3339, allocations: 11.94 kB / 0.5318 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.3339, allocations: 4 kB / 0.5318 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.334, allocations: 28.08 kB / 0.5318 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.334, allocations: 3.984 kB / 0.5318 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.531e-05/0.3341, allocations: 156.7 kB / 0.532 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.3341, allocations: 0 / 0.532 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002744/0.3344, allocations: 112 kB / 0.5321 GB, free: 2.727 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.3345, allocations: 108.3 kB / 0.5322 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.3349, allocations: 336.5 kB / 0.5325 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.3349, allocations: 12 kB / 0.5325 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.3351, allocations: 286.9 kB / 0.5328 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.3357, allocations: 0.9626 MB / 0.5337 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.3401, allocations: 0.7702 MB / 0.5345 GB, free: 32 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.814e-05/0.3402, allocations: 129.2 kB / 0.5346 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.3404, allocations: 63.27 kB / 0.5347 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.3406, allocations: 137.3 kB / 0.5348 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/0.3406, allocations: 0 / 0.5348 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.009274/0.3499, allocations: 7.651 MB / 0.5423 GB, free: 8.219 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_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.6987711135298014]