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.0009095/0.0009095, allocations: 73.88 kB / 20.66 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.001034/0.001034, allocations: 173 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.945/0.945, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8134/0.8134, allocations: 118.6 MB / 379.7 MB, free: 1.359 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="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_dev_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_dev_ThermofluidStream.Topology.Tests.TestJunctionNM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 484.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.818e-05, allocations: 2.312 kB / 484.8 MB, free: 8.109 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.1391/0.1392, allocations: 151.9 MB / 0.6218 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.005439/0.1446, allocations: 4.298 MB / 0.626 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007092/0.1453, allocations: 130.8 kB / 0.6262 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008732/0.1462, allocations: 495.8 kB / 0.6266 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.1503, allocations: 2.628 MB / 0.6292 GB, free: 416 kB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1517, allocations: 0.9968 MB / 0.6302 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002934/0.1546, allocations: 4.581 MB / 0.6346 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006302/0.1553, allocations: 0.6458 MB / 0.6353 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.1575, allocations: 2.665 MB / 0.6379 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.1591, allocations: 1.718 MB / 0.6396 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.1593, allocations: 244 kB / 0.6398 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.1614, allocations: 1.829 MB / 0.6416 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.1619, allocations: 0.9657 MB / 0.6425 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007647/0.1627, allocations: 1.083 MB / 0.6436 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2723/0.435, allocations: 3.662 MB / 0.6472 GB, free: 23.46 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.435, allocations: 0 / 0.6472 GB, free: 23.46 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.435, allocations: 0 / 0.6472 GB, free: 23.46 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001205/0.4351, allocations: 0.875 kB / 0.6472 GB, free: 23.46 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.00719/0.4423, allocations: 3.847 MB / 0.6509 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4424, allocations: 9.531 kB / 0.6509 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.4437, allocations: 0.5932 MB / 0.6515 GB, free: 21.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.4459, allocations: 1.798 MB / 0.6533 GB, free: 21.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/0.4459, allocations: 141.8 kB / 0.6534 GB, free: 21.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.4462, allocations: 211 kB / 0.6536 GB, free: 21.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.4481, allocations: 1.609 MB / 0.6552 GB, free: 20.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.4482, allocations: 3.188 kB / 0.6552 GB, free: 20.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.4483, allocations: 81.73 kB / 0.6552 GB, free: 20.71 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.4485, allocations: 184.4 kB / 0.6554 GB, free: 20.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.4498, allocations: 0.9529 MB / 0.6564 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006908/0.4567, allocations: 7.036 MB / 0.6632 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.4578, allocations: 0.7458 MB / 0.6639 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/0.4585, allocations: 0.5078 MB / 0.6644 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.4588, allocations: 129.2 kB / 0.6646 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.4588, allocations: 61.81 kB / 0.6646 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 4.629e-06/0.4588, allocations: 0 / 0.6646 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.006674/0.4655, allocations: 3.751 MB / 0.6683 GB, free: 17.17 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4656, allocations: 98.52 kB / 0.6684 GB, free: 17.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.4669, allocations: 1.397 MB / 0.6697 GB, free: 16.79 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.467, allocations: 59.53 kB / 0.6698 GB, free: 16.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/0.4675, allocations: 1.129 MB / 0.6709 GB, free: 16.33 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/0.4679, allocations: 0.7242 MB / 0.6716 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00051/0.4684, allocations: 362.5 kB / 0.672 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.4685, allocations: 486.4 kB / 0.6724 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/0.4691, allocations: 314.9 kB / 0.6727 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/0.4698, allocations: 0.5488 MB / 0.6733 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.4712, allocations: 1.028 MB / 0.6743 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.4712, allocations: 1.625 kB / 0.6743 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002419/0.4736, allocations: 1.688 MB / 0.6759 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4736, allocations: 6.5 kB / 0.6759 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4737, allocations: 3.469 kB / 0.6759 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4747, allocations: 444 kB / 0.6763 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.4754, allocations: 341.1 kB / 0.6767 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004378/0.4798, allocations: 5.699 MB / 0.6822 GB, free: 26.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.4804, allocations: 47.78 kB / 0.6823 GB, free: 26.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.4805, allocations: 109.6 kB / 0.6824 GB, free: 26.77 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.0005531/0.4811, allocations: 240.7 kB / 0.6826 GB, free: 26.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.4814, allocations: 297.5 kB / 0.6829 GB, free: 26.48 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.4847, allocations: 3.13 MB / 0.686 GB, free: 26.02 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.4848, allocations: 18.75 kB / 0.686 GB, free: 26.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.4848, allocations: 5.25 kB / 0.686 GB, free: 26.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.4848, allocations: 10.86 kB / 0.686 GB, free: 26.02 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.4895, allocations: 3.644 MB / 0.6896 GB, free: 25.21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4895, allocations: 4.438 kB / 0.6896 GB, free: 25.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005691/0.4901, allocations: 256.7 kB / 0.6898 GB, free: 25.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.4911, allocations: 493.7 kB / 0.6903 GB, free: 25.17 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.4912, allocations: 72.17 kB / 0.6903 GB, free: 25.17 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/0.4952, allocations: 5.707 MB / 0.6959 GB, free: 21.21 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4952, allocations: 3.5 kB / 0.6959 GB, free: 21.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.4978, allocations: 2.273 MB / 0.6981 GB, free: 20.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.4983, allocations: 409.7 kB / 0.6985 GB, free: 20.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.4985, allocations: 42.25 kB / 0.6986 GB, free: 20.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.499, allocations: 35.34 kB / 0.6986 GB, free: 20.45 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.4992, allocations: 163.2 kB / 0.6988 GB, free: 20.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.4993, allocations: 82.22 kB / 0.6988 GB, free: 20.44 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000682/0.5, allocations: 0.891 MB / 0.6997 GB, free: 20.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5, allocations: 0 / 0.6997 GB, free: 20.25 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002157/0.5022, allocations: 0.8203 MB / 0.7005 GB, free: 20.22 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.0007297/0.5029, allocations: 404.1 kB / 0.7009 GB, free: 20.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.5049, allocations: 1.733 MB / 0.7026 GB, free: 19.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5049, allocations: 0 / 0.7026 GB, free: 19.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.5062, allocations: 1.273 MB / 0.7038 GB, free: 19.21 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.5088, allocations: 1.096 MB / 0.7049 GB, free: 19.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.5152, allocations: 4.399 MB / 0.7092 GB, free: 17.19 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.5158, allocations: 0.5353 MB / 0.7097 GB, free: 17.07 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001868/0.5177, allocations: 0.8862 MB / 0.7106 GB, free: 16.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/0.5193, allocations: 0.8785 MB / 0.7114 GB, free: 16.82 MB / 0.573 GB Notification: Performance of SimCode: time 1.412e-06/0.5193, allocations: 0 / 0.7114 GB, free: 16.82 MB / 0.573 GB Notification: Performance of Templates: time 0.06795/0.5872, allocations: 58.13 MB / 0.7682 GB, free: 5.645 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.490466690156609]