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.001207/0.001207, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009587/0.0009587, allocations: 173 kB / 23.02 MB, free: 1.551 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.912/0.912, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.7085/0.7085, allocations: 118.7 MB / 378.6 MB, free: 1.496 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 1.482e-06/1.482e-06, allocations: 0 / 483.6 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.919e-05, allocations: 4.984 kB / 483.6 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1167/0.1167, allocations: 130.1 MB / 0.5993 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1182, allocations: 1.355 MB / 0.6006 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.1185, allocations: 39.62 kB / 0.6007 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.1189, allocations: 115.1 kB / 0.6008 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.1194, allocations: 321.9 kB / 0.6011 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.1198, allocations: 223.2 kB / 0.6013 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000642/0.1205, allocations: 0.8293 MB / 0.6021 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1207, allocations: 71.58 kB / 0.6022 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.1212, allocations: 462.7 kB / 0.6026 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.1216, allocations: 363.1 kB / 0.603 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.1217, allocations: 32 kB / 0.603 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.1219, allocations: 167.6 kB / 0.6032 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.664e-05/0.122, allocations: 111.6 kB / 0.6033 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1221, allocations: 151.6 kB / 0.6034 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.1226, allocations: 0.4981 MB / 0.6039 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1226, allocations: 0 / 0.6039 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1226, allocations: 0 / 0.6039 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.1226, allocations: 4 kB / 0.6039 GB, free: 9.484 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.001015/0.1236, allocations: 0.8809 MB / 0.6048 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1237, allocations: 8.031 kB / 0.6048 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/0.1238, allocations: 80.61 kB / 0.6049 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.1243, allocations: 470.3 kB / 0.6053 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1243, allocations: 16.88 kB / 0.6053 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.1243, allocations: 28.36 kB / 0.6053 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.1247, allocations: 293.3 kB / 0.6056 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1247, allocations: 3.938 kB / 0.6056 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1247, allocations: 8 kB / 0.6056 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.1247, allocations: 20.5 kB / 0.6057 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.125, allocations: 210.7 kB / 0.6059 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.1262, allocations: 1.272 MB / 0.6071 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1265, allocations: 155 kB / 0.6073 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1266, allocations: 111.1 kB / 0.6074 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.583e-05/0.1267, allocations: 23.98 kB / 0.6074 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.1267, allocations: 41.39 kB / 0.6074 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.1267, allocations: 3.938 kB / 0.6074 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001332/0.1281, allocations: 0.8795 MB / 0.6083 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.1281, allocations: 59.41 kB / 0.6083 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.1283, allocations: 386.7 kB / 0.6087 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1283, allocations: 29.7 kB / 0.6087 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1284, allocations: 271.5 kB / 0.609 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.666e-05/0.1285, allocations: 127 kB / 0.6091 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.1286, allocations: 67.33 kB / 0.6092 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1287, allocations: 0.5274 MB / 0.6097 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1288, allocations: 67.81 kB / 0.6098 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1289, allocations: 75.75 kB / 0.6098 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1292, allocations: 175.6 kB / 0.61 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1292, allocations: 0 / 0.61 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004417/0.1296, allocations: 372.9 kB / 0.6104 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1296, allocations: 4 kB / 0.6104 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1296, allocations: 0 / 0.6104 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.1298, allocations: 95.55 kB / 0.6104 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.13, allocations: 51.95 kB / 0.6105 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.1314, allocations: 2.433 MB / 0.6129 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1315, allocations: 11.98 kB / 0.6129 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1315, allocations: 16.08 kB / 0.6129 GB, free: 15.88 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.0001075/0.1316, allocations: 176.5 kB / 0.6131 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.1317, allocations: 55.72 kB / 0.6131 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005532/0.1323, allocations: 0.5373 MB / 0.6136 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1323, allocations: 3.938 kB / 0.6137 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1323, allocations: 7.984 kB / 0.6137 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1323, allocations: 4.031 kB / 0.6137 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1325, allocations: 312.5 kB / 0.614 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1325, allocations: 0 / 0.614 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.1326, allocations: 35.89 kB / 0.614 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.1328, allocations: 107.5 kB / 0.6141 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1328, allocations: 7.984 kB / 0.6141 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.1342, allocations: 2.453 MB / 0.6165 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1342, allocations: 4 kB / 0.6165 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.1347, allocations: 404.6 kB / 0.6169 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.1347, allocations: 63.67 kB / 0.617 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.1348, allocations: 11.94 kB / 0.617 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.1349, allocations: 4 kB / 0.617 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1349, allocations: 27.94 kB / 0.617 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1349, allocations: 15.98 kB / 0.617 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001687/0.1351, allocations: 283 kB / 0.6173 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-08/0.1351, allocations: 0 / 0.6173 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002999/0.1354, allocations: 112 kB / 0.6174 GB, free: 11.05 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.0001953/0.1356, allocations: 127.2 kB / 0.6175 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.1361, allocations: 432.9 kB / 0.6179 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1361, allocations: 0 / 0.6179 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.1365, allocations: 361.9 kB / 0.6183 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1369, allocations: 141.7 kB / 0.6184 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1381, allocations: 0.8427 MB / 0.6192 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.432e-05/0.1382, allocations: 125.2 kB / 0.6193 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.1383, allocations: 79.17 kB / 0.6194 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.1384, allocations: 44.45 kB / 0.6195 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of SimCode: time 5.61e-07/0.1384, allocations: 0 / 0.6195 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of Templates: time 0.008513/0.1469, allocations: 7.23 MB / 0.6265 GB, free: 1.773 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_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: 3.818176149856299]