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.000983/0.000983, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.0009916/0.0009916, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 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.9318/0.9318, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6867/0.6867, allocations: 118.7 MB / 379.7 MB, free: 1.352 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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="Time|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="Time|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.483e-06/1.483e-06, allocations: 0 / 484.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.36e-05, allocations: 2.312 kB / 484.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.142/0.142, allocations: 151.9 MB / 0.6218 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.006682/0.1486, allocations: 4.301 MB / 0.626 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.15, allocations: 134.7 kB / 0.6262 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.000903/0.1509, allocations: 495.9 kB / 0.6266 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.1554, allocations: 2.621 MB / 0.6292 GB, free: 436 kB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.1573, allocations: 1.001 MB / 0.6302 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003573/0.1608, allocations: 4.589 MB / 0.6347 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006811/0.1615, allocations: 0.6419 MB / 0.6353 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.164, allocations: 2.669 MB / 0.6379 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.1656, allocations: 1.71 MB / 0.6396 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.1658, allocations: 244 kB / 0.6398 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.1686, allocations: 1.836 MB / 0.6416 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.1691, allocations: 0.9579 MB / 0.6425 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008231/0.17, allocations: 1.087 MB / 0.6436 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2373/0.4072, allocations: 3.666 MB / 0.6472 GB, free: 23.51 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4072, allocations: 0.5312 kB / 0.6472 GB, free: 23.51 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4072, allocations: 0 / 0.6472 GB, free: 23.51 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001285/0.4073, allocations: 1.688 kB / 0.6472 GB, free: 23.51 MB / 0.5573 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.00713/0.4145, allocations: 3.848 MB / 0.6509 GB, free: 21.87 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4145, allocations: 9.344 kB / 0.6509 GB, free: 21.87 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.4159, allocations: 0.5938 MB / 0.6515 GB, free: 21.65 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.4184, allocations: 1.793 MB / 0.6533 GB, free: 21.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.4185, allocations: 144.7 kB / 0.6534 GB, free: 21.08 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.4187, allocations: 207.7 kB / 0.6536 GB, free: 21.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.4207, allocations: 1.606 MB / 0.6552 GB, free: 20.77 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.4208, allocations: 6.188 kB / 0.6552 GB, free: 20.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.4209, allocations: 83.66 kB / 0.6553 GB, free: 20.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.4211, allocations: 188 kB / 0.6554 GB, free: 20.76 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.4223, allocations: 0.9467 MB / 0.6564 GB, free: 20.73 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008085/0.4304, allocations: 7.038 MB / 0.6632 GB, free: 18.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.4315, allocations: 0.7377 MB / 0.664 GB, free: 18.03 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/0.4322, allocations: 0.5083 MB / 0.6644 GB, free: 18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.4325, allocations: 133 kB / 0.6646 GB, free: 18 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.4325, allocations: 55.09 kB / 0.6646 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 5.19e-06/0.4325, allocations: 2.125 kB / 0.6646 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.007183/0.4397, allocations: 3.752 MB / 0.6683 GB, free: 17.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.4398, allocations: 100.2 kB / 0.6684 GB, free: 17.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.4412, allocations: 1.399 MB / 0.6698 GB, free: 16.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.4413, allocations: 59.8 kB / 0.6698 GB, free: 16.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006415/0.4419, allocations: 1.127 MB / 0.6709 GB, free: 16.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.4424, allocations: 0.723 MB / 0.6716 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/0.4429, allocations: 364.9 kB / 0.672 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.443, allocations: 486.1 kB / 0.6724 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.4435, allocations: 316.3 kB / 0.6727 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006601/0.4442, allocations: 0.5471 MB / 0.6733 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.4456, allocations: 1.028 MB / 0.6743 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4456, allocations: 0.5938 kB / 0.6743 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002477/0.448, allocations: 1.691 MB / 0.6759 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4481, allocations: 8 kB / 0.6759 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4481, allocations: 6.406 kB / 0.6759 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4491, allocations: 440.1 kB / 0.6764 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.4498, allocations: 342.2 kB / 0.6767 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.4538, allocations: 5.7 MB / 0.6822 GB, free: 26.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.4551, allocations: 43.22 kB / 0.6823 GB, free: 26.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.4553, allocations: 105.7 kB / 0.6824 GB, free: 26.81 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.0009176/0.4562, allocations: 248.1 kB / 0.6826 GB, free: 26.65 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.4566, allocations: 292.2 kB / 0.6829 GB, free: 26.53 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/0.4601, allocations: 3.138 MB / 0.686 GB, free: 26.06 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/0.4601, allocations: 20.88 kB / 0.686 GB, free: 26.06 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.4601, allocations: 5.562 kB / 0.686 GB, free: 26.06 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4601, allocations: 9.578 kB / 0.686 GB, free: 26.06 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.4651, allocations: 3.639 MB / 0.6896 GB, free: 25.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4651, allocations: 2.406 kB / 0.6896 GB, free: 25.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.4657, allocations: 262 kB / 0.6898 GB, free: 25.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.4668, allocations: 488 kB / 0.6903 GB, free: 25.21 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.4669, allocations: 75.33 kB / 0.6903 GB, free: 25.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.4711, allocations: 5.715 MB / 0.6959 GB, free: 21.24 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4711, allocations: 1.906 kB / 0.6959 GB, free: 21.24 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/0.4744, allocations: 2.274 MB / 0.6982 GB, free: 20.61 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007993/0.4752, allocations: 412.5 kB / 0.6985 GB, free: 20.48 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.4754, allocations: 46.73 kB / 0.6986 GB, free: 20.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.476, allocations: 32.91 kB / 0.6986 GB, free: 20.48 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.4762, allocations: 156.4 kB / 0.6988 GB, free: 20.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.4764, allocations: 82 kB / 0.6988 GB, free: 20.47 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008082/0.4772, allocations: 0.8892 MB / 0.6997 GB, free: 20.28 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/0.4772, allocations: 0 / 0.6997 GB, free: 20.28 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00231/0.4795, allocations: 0.826 MB / 0.7005 GB, free: 20.25 MB / 0.573 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.0008275/0.4803, allocations: 393 kB / 0.7009 GB, free: 20.13 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.4826, allocations: 1.741 MB / 0.7026 GB, free: 19.67 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4826, allocations: 0.9688 kB / 0.7026 GB, free: 19.67 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.4839, allocations: 1.268 MB / 0.7038 GB, free: 19.24 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/0.4868, allocations: 1.086 MB / 0.7049 GB, free: 19.09 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.4929, allocations: 4.398 MB / 0.7092 GB, free: 17.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.4933, allocations: 0.5331 MB / 0.7097 GB, free: 17.11 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001906/0.4952, allocations: 0.8932 MB / 0.7106 GB, free: 16.92 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/0.4968, allocations: 0.8777 MB / 0.7114 GB, free: 16.86 MB / 0.573 GB Notification: Performance of SimCode: time 1.733e-06/0.4968, allocations: 0 / 0.7114 GB, free: 16.86 MB / 0.573 GB Notification: Performance of Templates: time 0.06509/0.5619, allocations: 58.13 MB / 0.7682 GB, free: 5.68 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.503152037039399]