Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00107/0.00107, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001655/0.002725, 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.001036/0.001036, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002519, allocations: 475.6 kB / 11.8 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.902/0.902, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08103/0.9831, allocations: 53.67 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.7817/0.7817, allocations: 118.8 MB / 362.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09953/0.8812, allocations: 35.84 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.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_dev_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_dev_ThermofluidStream.Topology.Tests.TestJunctionNM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.692e-05, allocations: 2.312 kB / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.3732/0.3732, allocations: 154.5 MB / 0.5416 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007981/0.3812, allocations: 4.471 MB / 0.546 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.3835, allocations: 130.8 kB / 0.5461 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.385, allocations: 0.4958 MB / 0.5466 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.3907, allocations: 2.562 MB / 0.5491 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.3931, allocations: 0.9696 MB / 0.55 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005863/0.3989, allocations: 4.615 MB / 0.5545 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000995/0.3999, allocations: 0.6662 MB / 0.5552 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005442/0.4054, allocations: 2.9 MB / 0.558 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.4079, allocations: 1.64 MB / 0.5596 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.00073/0.4086, allocations: 248 kB / 0.5598 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.4125, allocations: 1.899 MB / 0.5617 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0006894/0.4131, allocations: 0.8024 MB / 0.5625 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.4144, allocations: 0.9162 MB / 0.5634 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00525/0.4196, allocations: 3.367 MB / 0.5667 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.4196, allocations: 3.938 kB / 0.5667 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.604e-06/0.4196, allocations: 0 / 0.5667 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000143/0.4198, allocations: 0 / 0.5667 GB, free: 15.98 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.006715/0.4265, allocations: 4.441 MB / 0.571 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4265, allocations: 8.031 kB / 0.571 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.4278, allocations: 0.4999 MB / 0.5715 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.43, allocations: 1.573 MB / 0.573 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.4301, allocations: 143.8 kB / 0.5732 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.4303, allocations: 195.9 kB / 0.5734 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.4321, allocations: 1.615 MB / 0.5749 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.4321, allocations: 4 kB / 0.5749 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4323, allocations: 83.91 kB / 0.575 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.4324, allocations: 175.9 kB / 0.5752 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.4335, allocations: 0.9344 MB / 0.5761 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007621/0.4412, allocations: 5.429 MB / 0.5814 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009726/0.4421, allocations: 0.7626 MB / 0.5821 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.4426, allocations: 446.8 kB / 0.5826 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/0.443, allocations: 162.5 kB / 0.5827 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.443, allocations: 56.5 kB / 0.5828 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 6.833e-06/0.4431, allocations: 3.938 kB / 0.5828 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.00781/0.4509, allocations: 3.922 MB / 0.5866 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.4509, allocations: 99.11 kB / 0.5867 GB, free: 11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.452, allocations: 1.32 MB / 0.588 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.4521, allocations: 57.7 kB / 0.5881 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.4524, allocations: 0.7368 MB / 0.5888 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/0.4529, allocations: 0.7124 MB / 0.5895 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.4533, allocations: 335.3 kB / 0.5898 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.4533, allocations: 313 kB / 0.5901 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.4537, allocations: 270.7 kB / 0.5903 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.4542, allocations: 447.9 kB / 0.5908 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009711/0.4552, allocations: 0.951 MB / 0.5917 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4552, allocations: 0 / 0.5917 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001935/0.4571, allocations: 1.255 MB / 0.5929 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4571, allocations: 4 kB / 0.5929 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.4572, allocations: 4 kB / 0.5929 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009817/0.4581, allocations: 446.9 kB / 0.5934 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008428/0.459, allocations: 436.1 kB / 0.5938 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00404/0.463, allocations: 4.198 MB / 0.5979 GB, free: 15.22 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.4641, allocations: 43.94 kB / 0.5979 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.4642, allocations: 95.95 kB / 0.598 GB, free: 15.08 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.4648, allocations: 200.3 kB / 0.5982 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.4651, allocations: 197.6 kB / 0.5984 GB, free: 14.68 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.4684, allocations: 2.676 MB / 0.601 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/0.4684, allocations: 20 kB / 0.601 GB, free: 11.95 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.4684, allocations: 7.938 kB / 0.601 GB, free: 11.94 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4684, allocations: 7.969 kB / 0.601 GB, free: 11.93 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.4726, allocations: 3.003 MB / 0.604 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.4726, allocations: 4 kB / 0.604 GB, free: 8.836 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/0.4732, allocations: 331.5 kB / 0.6043 GB, free: 8.512 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006316/0.4739, allocations: 302.3 kB / 0.6046 GB, free: 8.215 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.4749, allocations: 480 kB / 0.605 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.475, allocations: 71.92 kB / 0.6051 GB, free: 7.672 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003837/0.4788, allocations: 4.222 MB / 0.6092 GB, free: 3.27 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.4788, allocations: 4 kB / 0.6092 GB, free: 3.266 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.4811, allocations: 1.89 MB / 0.6111 GB, free: 1.332 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.4813, allocations: 43.94 kB / 0.6111 GB, free: 1.289 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.4819, allocations: 35.98 kB / 0.6112 GB, free: 1.254 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.4821, allocations: 153.7 kB / 0.6113 GB, free: 1.105 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.4822, allocations: 67.94 kB / 0.6114 GB, free: 1.039 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006893/0.4829, allocations: 0.7598 MB / 0.6121 GB, free: 260 kB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4829, allocations: 3.938 kB / 0.6121 GB, free: 256 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.00186/0.4848, allocations: 0.8159 MB / 0.6129 GB, free: 15.43 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.0007171/0.4855, allocations: 397.4 kB / 0.6133 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.4877, allocations: 1.517 MB / 0.6148 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.307e-05/0.4878, allocations: 34.81 kB / 0.6148 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.4891, allocations: 1.199 MB / 0.616 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004655/0.4937, allocations: 7.024 MB / 0.6228 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02751/0.5213, allocations: 4.385 MB / 0.6271 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.5218, allocations: 0.5216 MB / 0.6276 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002185/0.524, allocations: 0.8866 MB / 0.6285 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/0.5255, allocations: 0.7605 MB / 0.6292 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.343e-06/0.5255, allocations: 0 / 0.6292 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.3034/0.8289, allocations: 59.2 MB / 0.687 GB, free: 87.24 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.345087052322924]