Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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.001141/0.001141, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001742/0.002883, 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.001094/0.001094, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002597, 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.9342/0.9342, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.089/1.023, allocations: 53.68 MB / 243.4 MB, free: 15.48 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.7321/0.7321, allocations: 118.7 MB / 362.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06366/0.7958, allocations: 35.84 MB / 398.7 MB, free: 13.09 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.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM") translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.886e-05, allocations: 2.312 kB / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.3898/0.3898, allocations: 154.5 MB / 0.5415 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008459/0.3983, allocations: 4.471 MB / 0.5459 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.4003, allocations: 130.8 kB / 0.546 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.4016, allocations: 499.7 kB / 0.5465 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005449/0.4071, allocations: 2.565 MB / 0.549 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.4093, allocations: 0.9734 MB / 0.55 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005228/0.4145, allocations: 4.61 MB / 0.5545 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009973/0.4155, allocations: 0.6726 MB / 0.5551 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005047/0.4206, allocations: 2.899 MB / 0.5579 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.4229, allocations: 1.64 MB / 0.5595 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005767/0.4235, allocations: 244 kB / 0.5598 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.4272, allocations: 1.907 MB / 0.5616 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0007021/0.4279, allocations: 0.7985 MB / 0.5624 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.4292, allocations: 0.9201 MB / 0.5633 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005482/0.4347, allocations: 3.371 MB / 0.5666 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.4347, allocations: 0 / 0.5666 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4347, allocations: 0 / 0.5666 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.383e-05/0.4348, allocations: 0 / 0.5666 GB, free: 15.8 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.006767/0.4416, allocations: 4.437 MB / 0.5709 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4416, allocations: 12.03 kB / 0.571 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.4431, allocations: 0.4922 MB / 0.5714 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/0.4457, allocations: 1.579 MB / 0.573 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.523e-05/0.4458, allocations: 143.8 kB / 0.5731 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.446, allocations: 195.9 kB / 0.5733 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.4477, allocations: 1.611 MB / 0.5749 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.4477, allocations: 3.938 kB / 0.5749 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.4478, allocations: 75.98 kB / 0.575 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.448, allocations: 179.9 kB / 0.5751 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4491, allocations: 0.9344 MB / 0.576 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006425/0.4555, allocations: 5.437 MB / 0.5813 GB, free: 372 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008885/0.4564, allocations: 0.7588 MB / 0.5821 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.4568, allocations: 451.5 kB / 0.5825 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/0.4572, allocations: 158.5 kB / 0.5827 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.4572, allocations: 56.55 kB / 0.5827 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 3.978e-06/0.4572, allocations: 0 / 0.5827 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.006788/0.464, allocations: 3.93 MB / 0.5866 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4641, allocations: 103 kB / 0.5867 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009553/0.465, allocations: 1.314 MB / 0.5879 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.339e-05/0.4651, allocations: 57.7 kB / 0.588 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.4654, allocations: 0.7407 MB / 0.5887 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003729/0.4658, allocations: 0.7085 MB / 0.5894 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.4662, allocations: 331.3 kB / 0.5897 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.247e-05/0.4662, allocations: 309.1 kB / 0.59 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.4666, allocations: 278.7 kB / 0.5903 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.4671, allocations: 444 kB / 0.5907 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009481/0.468, allocations: 0.9509 MB / 0.5916 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.468, allocations: 5 kB / 0.5916 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002037/0.4701, allocations: 1.251 MB / 0.5929 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4701, allocations: 8 kB / 0.5929 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.4701, allocations: 4 kB / 0.5929 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000972/0.4711, allocations: 439.9 kB / 0.5933 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009098/0.472, allocations: 435.5 kB / 0.5937 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/0.4754, allocations: 4.201 MB / 0.5978 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008288/0.4763, allocations: 43.94 kB / 0.5979 GB, free: 15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.4764, allocations: 103.9 kB / 0.598 GB, free: 14.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (182): * Single equations (assignments): 170 * Array equations: 10 * 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 {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005562/0.477, allocations: 200.4 kB / 0.5982 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.4772, allocations: 197.8 kB / 0.5983 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.4803, allocations: 2.669 MB / 0.6009 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.4804, allocations: 23.98 kB / 0.601 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.4804, allocations: 4 kB / 0.601 GB, free: 11.76 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.4804, allocations: 7.969 kB / 0.601 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/0.4843, allocations: 3.005 MB / 0.6039 GB, free: 8.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.4843, allocations: 5.812 kB / 0.6039 GB, free: 8.656 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.4849, allocations: 327.5 kB / 0.6042 GB, free: 8.336 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.4854, allocations: 306.3 kB / 0.6045 GB, free: 8.035 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009102/0.4863, allocations: 472 kB / 0.605 GB, free: 7.57 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.873e-05/0.4864, allocations: 71.92 kB / 0.605 GB, free: 7.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/0.4898, allocations: 4.224 MB / 0.6092 GB, free: 3.098 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4898, allocations: 7.938 kB / 0.6092 GB, free: 3.09 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.4919, allocations: 1.887 MB / 0.611 GB, free: 1.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.4921, allocations: 47.88 kB / 0.6111 GB, free: 1.113 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.4925, allocations: 32 kB / 0.6111 GB, free: 1.082 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.4928, allocations: 157.7 kB / 0.6112 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.4929, allocations: 67.94 kB / 0.6113 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005986/0.4935, allocations: 0.7637 MB / 0.6121 GB, free: 76 kB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4935, allocations: 0 / 0.6121 GB, free: 76 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.001736/0.4952, allocations: 0.8159 MB / 0.6129 GB, free: 15.26 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.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 (146): * Single equations (assignments): 134 * Array equations: 10 * 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 {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.4963, allocations: 397.5 kB / 0.6132 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.4983, allocations: 1.508 MB / 0.6147 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-05/0.4984, allocations: 30.62 kB / 0.6147 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.4997, allocations: 1.203 MB / 0.6159 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00508/0.5048, allocations: 7.023 MB / 0.6228 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/0.5327, allocations: 4.388 MB / 0.6271 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.5332, allocations: 0.5255 MB / 0.6276 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001828/0.535, allocations: 0.8895 MB / 0.6284 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.5365, allocations: 0.7566 MB / 0.6292 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/0.5365, allocations: 4 kB / 0.6292 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.2802/0.8167, allocations: 59.18 MB / 0.687 GB, free: 87.11 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_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: 5.404291300103068]