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.001096/0.001096, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001038/0.001038, allocations: 173 kB / 23.28 MB, free: 1.219 MB / 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.9296/0.9296, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.7763/0.7763, allocations: 118.6 MB / 378.9 MB, free: 1.328 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.003e-06/2.003e-06, allocations: 0 / 484 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.026e-05, allocations: 7.062 kB / 484.1 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.1407/0.1407, allocations: 151.9 MB / 0.6211 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.006914/0.1477, allocations: 4.301 MB / 0.6253 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.1496, allocations: 126.8 kB / 0.6254 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.1507, allocations: 491.8 kB / 0.6259 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00648/0.1572, allocations: 2.628 MB / 0.6284 GB, free: 412 kB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.1597, allocations: 1.001 MB / 0.6294 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005088/0.1648, allocations: 4.589 MB / 0.6339 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1658, allocations: 0.638 MB / 0.6345 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005438/0.1712, allocations: 2.665 MB / 0.6371 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/0.1739, allocations: 1.71 MB / 0.6388 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005785/0.1745, allocations: 248 kB / 0.639 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.1782, allocations: 1.836 MB / 0.6408 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007593/0.179, allocations: 0.9656 MB / 0.6417 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.1805, allocations: 1.08 MB / 0.6428 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2528/0.4333, allocations: 3.662 MB / 0.6464 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4333, allocations: 0 / 0.6464 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4334, allocations: 0 / 0.6464 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001259/0.4335, allocations: 0.6562 kB / 0.6464 GB, free: 23.42 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.007375/0.4409, allocations: 3.852 MB / 0.6501 GB, free: 21.78 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4409, allocations: 9.312 kB / 0.6501 GB, free: 21.78 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.4422, allocations: 0.5942 MB / 0.6507 GB, free: 21.56 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.4446, allocations: 1.79 MB / 0.6525 GB, free: 21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.4446, allocations: 148 kB / 0.6526 GB, free: 20.99 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.4449, allocations: 205.8 kB / 0.6528 GB, free: 20.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.4467, allocations: 1.612 MB / 0.6544 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.4468, allocations: 3.562 kB / 0.6544 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.4469, allocations: 77.16 kB / 0.6545 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.447, allocations: 187.7 kB / 0.6546 GB, free: 20.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.4482, allocations: 0.954 MB / 0.6556 GB, free: 20.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00732/0.4555, allocations: 7.034 MB / 0.6624 GB, free: 18.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.4565, allocations: 0.738 MB / 0.6632 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.4571, allocations: 0.5101 MB / 0.6637 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.4575, allocations: 190.1 kB / 0.6638 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.4575, allocations: 61.66 kB / 0.6639 GB, free: 17.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 4.979e-06/0.4575, allocations: 1.25 kB / 0.6639 GB, free: 17.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.007067/0.4646, allocations: 3.743 MB / 0.6676 GB, free: 17.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.4647, allocations: 102.6 kB / 0.6677 GB, free: 17.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.4663, allocations: 1.403 MB / 0.669 GB, free: 16.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.4664, allocations: 60.45 kB / 0.6691 GB, free: 16.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/0.4669, allocations: 1.13 MB / 0.6702 GB, free: 16.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/0.4673, allocations: 0.7234 MB / 0.6709 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005076/0.4678, allocations: 364 kB / 0.6712 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.4679, allocations: 485.5 kB / 0.6717 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/0.4684, allocations: 318.5 kB / 0.672 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.4691, allocations: 0.5374 MB / 0.6725 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.4705, allocations: 1.037 MB / 0.6735 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.4705, allocations: 0.875 kB / 0.6735 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002275/0.4728, allocations: 1.683 MB / 0.6752 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4728, allocations: 6.125 kB / 0.6752 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4728, allocations: 8.266 kB / 0.6752 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009453/0.4738, allocations: 443 kB / 0.6756 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.4744, allocations: 339.8 kB / 0.676 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/0.4782, allocations: 5.716 MB / 0.6815 GB, free: 26.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009381/0.4791, allocations: 40.97 kB / 0.6816 GB, free: 26.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.4793, allocations: 103.6 kB / 0.6817 GB, free: 26.71 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.0007261/0.48, allocations: 245.2 kB / 0.6819 GB, free: 26.55 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004532/0.4805, allocations: 299.1 kB / 0.6822 GB, free: 26.43 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.4835, allocations: 3.134 MB / 0.6853 GB, free: 25.94 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.4835, allocations: 17.09 kB / 0.6853 GB, free: 25.94 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.4835, allocations: 7.562 kB / 0.6853 GB, free: 25.94 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.4835, allocations: 14.77 kB / 0.6853 GB, free: 25.94 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005441/0.489, allocations: 3.64 MB / 0.6888 GB, free: 25.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.489, allocations: 3.875 kB / 0.6888 GB, free: 25.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/0.4896, allocations: 258.2 kB / 0.6891 GB, free: 25.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.4908, allocations: 486.1 kB / 0.6896 GB, free: 25.08 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.491, allocations: 70.17 kB / 0.6896 GB, free: 25.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/0.4954, allocations: 5.72 MB / 0.6952 GB, free: 21.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4954, allocations: 0 / 0.6952 GB, free: 21.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/0.4987, allocations: 2.282 MB / 0.6974 GB, free: 20.48 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008335/0.4995, allocations: 409.1 kB / 0.6978 GB, free: 20.36 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.4998, allocations: 38.89 kB / 0.6979 GB, free: 20.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.5005, allocations: 34.62 kB / 0.6979 GB, free: 20.36 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.5007, allocations: 161.3 kB / 0.6981 GB, free: 20.35 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.5009, allocations: 81.67 kB / 0.6981 GB, free: 20.35 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009629/0.5018, allocations: 0.8845 MB / 0.699 GB, free: 20.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5018, allocations: 0 / 0.699 GB, free: 20.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002378/0.5042, allocations: 0.8227 MB / 0.6998 GB, free: 20.13 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.00078/0.505, allocations: 413.1 kB / 0.7002 GB, free: 20 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.5074, allocations: 1.73 MB / 0.7019 GB, free: 19.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5074, allocations: 0 / 0.7019 GB, free: 19.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.5089, allocations: 1.271 MB / 0.7031 GB, free: 19.12 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/0.5122, allocations: 1.096 MB / 0.7042 GB, free: 18.96 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007098/0.5193, allocations: 4.389 MB / 0.7085 GB, free: 17.11 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.5199, allocations: 0.5327 MB / 0.709 GB, free: 16.98 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00221/0.5221, allocations: 0.8959 MB / 0.7099 GB, free: 16.79 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/0.524, allocations: 0.884 MB / 0.7107 GB, free: 16.73 MB / 0.573 GB Notification: Performance of SimCode: time 1.402e-06/0.524, allocations: 4 kB / 0.7107 GB, free: 16.72 MB / 0.573 GB Notification: Performance of Templates: time 0.07591/0.5999, allocations: 56.96 MB / 0.7664 GB, free: 6.719 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.384512030053884]