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.0007979/0.0007979, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0007832/0.0007832, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.881/0.881, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5214/0.5214, allocations: 80.18 MB / 340.1 MB, free: 7.551 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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 1.633e-06/1.633e-06, allocations: 0 / 0.4936 GB, free: 6.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.235e-05, allocations: 8.047 kB / 0.4936 GB, free: 6.312 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1221/0.1221, allocations: 125.6 MB / 0.6162 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.1249, allocations: 3.397 MB / 0.6195 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.1251, allocations: 35.69 kB / 0.6196 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.1256, allocations: 194.6 kB / 0.6198 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.1262, allocations: 365.7 kB / 0.6201 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.1268, allocations: 442.1 kB / 0.6205 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.1273, allocations: 0.8099 MB / 0.6213 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1275, allocations: 70.88 kB / 0.6214 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005737/0.1281, allocations: 0.5101 MB / 0.6219 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.1284, allocations: 331.2 kB / 0.6222 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.1285, allocations: 32 kB / 0.6222 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.1289, allocations: 387.1 kB / 0.6226 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.1289, allocations: 115.6 kB / 0.6227 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1291, allocations: 151.5 kB / 0.6229 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.1296, allocations: 0.6503 MB / 0.6235 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1296, allocations: 0 / 0.6235 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1296, allocations: 0 / 0.6235 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1297, allocations: 0 / 0.6235 GB, free: 2.461 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.001067/0.1307, allocations: 0.7655 MB / 0.6242 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1308, allocations: 10.06 kB / 0.6243 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.1308, allocations: 60.56 kB / 0.6243 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.1313, allocations: 419.5 kB / 0.6247 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1313, allocations: 16.88 kB / 0.6247 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.1314, allocations: 28.36 kB / 0.6248 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.1318, allocations: 453.9 kB / 0.6252 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1318, allocations: 192 / 0.6252 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.1318, allocations: 16.12 kB / 0.6252 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.1319, allocations: 12.5 kB / 0.6252 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.1323, allocations: 489.5 kB / 0.6257 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.1337, allocations: 1.175 MB / 0.6268 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.134, allocations: 226.5 kB / 0.627 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.1342, allocations: 196.8 kB / 0.6272 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1343, allocations: 28.5 kB / 0.6273 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.1343, allocations: 34.56 kB / 0.6273 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 1.272e-06/0.1343, allocations: 4 kB / 0.6273 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001626/0.136, allocations: 1.223 MB / 0.6285 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.136, allocations: 55.41 kB / 0.6285 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.1362, allocations: 325.7 kB / 0.6289 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1362, allocations: 33.7 kB / 0.6289 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.1363, allocations: 208.8 kB / 0.6291 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.1364, allocations: 122.9 kB / 0.6292 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.1365, allocations: 65.67 kB / 0.6293 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.1366, allocations: 354.8 kB / 0.6296 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1367, allocations: 147.8 kB / 0.6297 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1369, allocations: 147.8 kB / 0.6299 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.1372, allocations: 337.3 kB / 0.6302 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1372, allocations: 0 / 0.6302 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005384/0.1378, allocations: 0.517 MB / 0.6307 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1378, allocations: 4 kB / 0.6307 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1378, allocations: 0 / 0.6307 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.138, allocations: 112.7 kB / 0.6308 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1382, allocations: 59.88 kB / 0.6309 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.1397, allocations: 2.179 MB / 0.633 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.1398, allocations: 11.98 kB / 0.633 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.1398, allocations: 15.98 kB / 0.633 GB, free: 8.359 MB / 0.5417 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.0001344/0.14, allocations: 166.5 kB / 0.6332 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.14, allocations: 47.7 kB / 0.6332 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008092/0.1408, allocations: 0.6502 MB / 0.6339 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1408, allocations: 7.938 kB / 0.6339 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1408, allocations: 3.938 kB / 0.6339 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1408, allocations: 0 / 0.6339 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1411, allocations: 329.1 kB / 0.6342 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1411, allocations: 0 / 0.6342 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.1412, allocations: 31.95 kB / 0.6342 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.1414, allocations: 124.8 kB / 0.6344 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.1414, allocations: 15.98 kB / 0.6344 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.1428, allocations: 2.192 MB / 0.6365 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1428, allocations: 4.031 kB / 0.6365 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.1434, allocations: 0.631 MB / 0.6371 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.1435, allocations: 35.72 kB / 0.6372 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1435, allocations: 4 kB / 0.6372 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.1436, allocations: 15.97 kB / 0.6372 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.1436, allocations: 20.05 kB / 0.6372 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1436, allocations: 19.91 kB / 0.6372 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001662/0.1438, allocations: 263.2 kB / 0.6375 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1438, allocations: 4 kB / 0.6375 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003195/0.1441, allocations: 116 kB / 0.6376 GB, free: 3.504 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.0002281/0.1443, allocations: 191.1 kB / 0.6378 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006004/0.1449, allocations: 0.4991 MB / 0.6383 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1449, allocations: 4 kB / 0.6383 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.1453, allocations: 362.2 kB / 0.6386 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.1457, allocations: 127.4 kB / 0.6387 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1467, allocations: 0.8899 MB / 0.6396 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.1469, allocations: 227.8 kB / 0.6398 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.147, allocations: 52.55 kB / 0.6399 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of SimCode: time 4e-07/0.147, allocations: 3.938 kB / 0.6399 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of Templates: time 0.2333/0.3803, allocations: 9.08 MB / 0.6487 GB, free: 146 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: 5.834736064076424]