Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.001796/0.001796, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002463/0.002463, allocations: 161.7 kB / 22.75 MB, free: 1.656 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 1.5/1.5, allocations: 177.2 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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 1.023/1.023, allocations: 118.6 MB / 378.2 MB, free: 1.438 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.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 482.9 MB, free: 8.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.445e-05, allocations: 2.312 kB / 482.9 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1951/0.1951, allocations: 125.6 MB / 0.5942 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.2003, allocations: 3.416 MB / 0.5976 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.2006, allocations: 47.56 kB / 0.5976 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.2013, allocations: 194.6 kB / 0.5978 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008681/0.2021, allocations: 373.7 kB / 0.5982 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2033, allocations: 446 kB / 0.5986 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2043, allocations: 0.8253 MB / 0.5994 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.2045, allocations: 71.58 kB / 0.5995 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.2056, allocations: 0.514 MB / 0.6 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.2062, allocations: 351.1 kB / 0.6003 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.2063, allocations: 28 kB / 0.6003 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008892/0.2071, allocations: 387.1 kB / 0.6007 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.2073, allocations: 111.6 kB / 0.6008 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.2075, allocations: 151.6 kB / 0.6009 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.2085, allocations: 0.6775 MB / 0.6016 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2085, allocations: 4 kB / 0.6016 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2085, allocations: 0 / 0.6016 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2085, allocations: 4 kB / 0.6016 GB, free: 11.46 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001763/0.2103, allocations: 0.7771 MB / 0.6024 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2103, allocations: 12.03 kB / 0.6024 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.2105, allocations: 68.61 kB / 0.6024 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008874/0.2114, allocations: 491.3 kB / 0.6029 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.2114, allocations: 16.88 kB / 0.6029 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.2115, allocations: 24.38 kB / 0.6029 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007782/0.2123, allocations: 441.9 kB / 0.6034 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.2123, allocations: 11.94 kB / 0.6034 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.2123, allocations: 8 kB / 0.6034 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.2124, allocations: 20.48 kB / 0.6034 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.2132, allocations: 485.5 kB / 0.6039 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.2154, allocations: 1.199 MB / 0.605 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.2159, allocations: 218.5 kB / 0.6052 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.2163, allocations: 196.3 kB / 0.6054 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.2164, allocations: 27.97 kB / 0.6055 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.2165, allocations: 43.03 kB / 0.6055 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.313e-06/0.2165, allocations: 0 / 0.6055 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.00286/0.2193, allocations: 1.231 MB / 0.6067 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2194, allocations: 59.41 kB / 0.6068 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.2198, allocations: 350 kB / 0.6071 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.2199, allocations: 29.7 kB / 0.6071 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.2201, allocations: 220.8 kB / 0.6073 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.2202, allocations: 122.9 kB / 0.6075 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.2203, allocations: 65.67 kB / 0.6075 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.2205, allocations: 354.8 kB / 0.6079 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.2208, allocations: 147.9 kB / 0.608 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.2211, allocations: 151.6 kB / 0.6081 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.2217, allocations: 336.7 kB / 0.6085 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2217, allocations: 0 / 0.6085 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001037/0.2227, allocations: 0.5332 MB / 0.609 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2228, allocations: 6.5 kB / 0.609 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2228, allocations: 3.938 kB / 0.609 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.2232, allocations: 116.5 kB / 0.6091 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.2235, allocations: 59.88 kB / 0.6092 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.2265, allocations: 2.192 MB / 0.6113 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.2267, allocations: 19.97 kB / 0.6113 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.2267, allocations: 15.98 kB / 0.6113 GB, free: 1.168 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.2269, allocations: 157.8 kB / 0.6115 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.2271, allocations: 55.72 kB / 0.6115 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.2283, allocations: 0.6604 MB / 0.6122 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2283, allocations: 7.938 kB / 0.6122 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2283, allocations: 4 kB / 0.6122 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2283, allocations: 0 / 0.6122 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.2288, allocations: 333.1 kB / 0.6125 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2288, allocations: 0 / 0.6125 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.229, allocations: 35.89 kB / 0.6125 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.2294, allocations: 132.8 kB / 0.6127 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.2294, allocations: 11.98 kB / 0.6127 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.2324, allocations: 2.198 MB / 0.6148 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2324, allocations: 4 kB / 0.6148 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.2336, allocations: 0.6523 MB / 0.6155 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.2338, allocations: 67.72 kB / 0.6155 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.2338, allocations: 7.938 kB / 0.6155 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.234, allocations: 8 kB / 0.6156 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.2341, allocations: 27.94 kB / 0.6156 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.2341, allocations: 11.98 kB / 0.6156 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003406/0.2344, allocations: 279.1 kB / 0.6159 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.2344, allocations: 0 / 0.6159 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005252/0.235, allocations: 119.9 kB / 0.616 GB, free: 12.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003327/0.2353, allocations: 179.2 kB / 0.6161 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.2363, allocations: 0.5019 MB / 0.6166 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2364, allocations: 4 kB / 0.6166 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007106/0.2371, allocations: 355.1 kB / 0.617 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.2378, allocations: 133.1 kB / 0.6171 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.2395, allocations: 0.9072 MB / 0.618 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.2398, allocations: 235.7 kB / 0.6182 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002523/0.2401, allocations: 90.3 kB / 0.6183 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2402, allocations: 52.39 kB / 0.6183 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of SimCode: time 5.01e-07/0.2402, allocations: 0 / 0.6183 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of Templates: time 0.01547/0.2557, allocations: 7.567 MB / 0.6257 GB, free: 2.324 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.013209040975198]