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.0008702/0.0008702, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001452/0.001452, allocations: 181 kB / 23.36 MB, free: 1.133 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.9343/0.9343, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.6435/0.6435, allocations: 118.7 MB / 378.9 MB, free: 1.344 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.112e-06/1.112e-06, allocations: 0 / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.213e-05, allocations: 5.125 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.2746/0.2747, allocations: 154.1 MB / 0.5712 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.279, allocations: 4.452 MB / 0.5755 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.2795, allocations: 130.8 kB / 0.5756 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007296/0.2803, allocations: 499.8 kB / 0.5761 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003287/0.2836, allocations: 2.626 MB / 0.5787 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.2848, allocations: 1.008 MB / 0.5797 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002649/0.2875, allocations: 4.593 MB / 0.5841 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000603/0.2881, allocations: 0.6669 MB / 0.5848 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.2904, allocations: 2.638 MB / 0.5874 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.2917, allocations: 1.64 MB / 0.589 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.2919, allocations: 248 kB / 0.5892 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.2938, allocations: 1.817 MB / 0.591 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005159/0.2943, allocations: 0.9618 MB / 0.5919 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0009658/0.2952, allocations: 1.083 MB / 0.593 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.2978, allocations: 3.663 MB / 0.5966 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2978, allocations: 0 / 0.5966 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2978, allocations: 0 / 0.5966 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.2979, allocations: 7.938 kB / 0.5966 GB, free: 7.176 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.003996/0.3018, allocations: 3.637 MB / 0.6001 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.3019, allocations: 12.03 kB / 0.6001 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/0.3026, allocations: 496 kB / 0.6006 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.3043, allocations: 1.572 MB / 0.6021 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.3044, allocations: 155.7 kB / 0.6023 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.3046, allocations: 207.9 kB / 0.6025 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.306, allocations: 1.596 MB / 0.604 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.3061, allocations: 3.938 kB / 0.604 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.3062, allocations: 79.97 kB / 0.6041 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.3063, allocations: 187.9 kB / 0.6043 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.3074, allocations: 0.9344 MB / 0.6052 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.3129, allocations: 5.426 MB / 0.6105 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.3137, allocations: 0.7587 MB / 0.6113 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.3142, allocations: 449.5 kB / 0.6117 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.3144, allocations: 150.4 kB / 0.6118 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3145, allocations: 52.56 kB / 0.6119 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 3.186e-06/0.3145, allocations: 0 / 0.6119 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.004547/0.319, allocations: 3.23 MB / 0.615 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.3191, allocations: 103 kB / 0.6151 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.3199, allocations: 1.313 MB / 0.6164 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.324e-05/0.32, allocations: 61.7 kB / 0.6165 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.3203, allocations: 0.7329 MB / 0.6172 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.3206, allocations: 0.7085 MB / 0.6179 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/0.321, allocations: 323.4 kB / 0.6182 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.321, allocations: 317 kB / 0.6185 GB, free: 224 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.3214, allocations: 274.7 kB / 0.6188 GB, free: 15.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.3219, allocations: 451.9 kB / 0.6192 GB, free: 15.47 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009531/0.3228, allocations: 0.9275 MB / 0.6201 GB, free: 14.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3228, allocations: 8 kB / 0.6201 GB, free: 14.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001714/0.3246, allocations: 1.26 MB / 0.6213 GB, free: 13.22 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3246, allocations: 8 kB / 0.6213 GB, free: 13.21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3246, allocations: 0 / 0.6213 GB, free: 13.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008455/0.3254, allocations: 432.3 kB / 0.6217 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.3261, allocations: 327.5 kB / 0.6221 GB, free: 12.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.3291, allocations: 4.174 MB / 0.6261 GB, free: 8.113 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.3295, allocations: 43.94 kB / 0.6262 GB, free: 8.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.3296, allocations: 104.7 kB / 0.6263 GB, free: 7.969 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.0003552/0.33, allocations: 204.3 kB / 0.6265 GB, free: 7.758 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.3302, allocations: 195.8 kB / 0.6267 GB, free: 7.566 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.3331, allocations: 2.662 MB / 0.6293 GB, free: 4.871 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/0.3331, allocations: 20 kB / 0.6293 GB, free: 4.852 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3331, allocations: 8 kB / 0.6293 GB, free: 4.844 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.3332, allocations: 11.95 kB / 0.6293 GB, free: 4.832 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.3365, allocations: 3.001 MB / 0.6322 GB, free: 1.734 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.3365, allocations: 4 kB / 0.6322 GB, free: 1.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.337, allocations: 251.6 kB / 0.6325 GB, free: 1.484 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000845/0.3379, allocations: 468.4 kB / 0.6329 GB, free: 1.023 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.284e-05/0.338, allocations: 67.92 kB / 0.633 GB, free: 0.957 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/0.3411, allocations: 4.196 MB / 0.6371 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3411, allocations: 3.938 kB / 0.6371 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3431, allocations: 1.879 MB / 0.6389 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.3435, allocations: 301.7 kB / 0.6392 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.3437, allocations: 43.94 kB / 0.6392 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.3441, allocations: 39.97 kB / 0.6393 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.3443, allocations: 145.7 kB / 0.6394 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.3444, allocations: 75.94 kB / 0.6395 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005344/0.3449, allocations: 0.7599 MB / 0.6402 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 4 kB / 0.6402 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001186/0.3461, allocations: 0.8275 MB / 0.6411 GB, free: 8.449 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.0005193/0.3466, allocations: 382.2 kB / 0.6414 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.3484, allocations: 1.503 MB / 0.6429 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.3484, allocations: 20 kB / 0.6429 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.3495, allocations: 1.08 MB / 0.644 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.3516, allocations: 1.083 MB / 0.645 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.3563, allocations: 4.26 MB / 0.6492 GB, free: 44 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.3567, allocations: 0.5146 MB / 0.6497 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001154/0.3578, allocations: 0.8863 MB / 0.6505 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.3592, allocations: 0.7605 MB / 0.6513 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.3592, allocations: 4 kB / 0.6513 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.2056/0.5648, allocations: 56.87 MB / 0.7068 GB, free: 81.56 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: 4.702078782021999]