Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.001/0.001, allocations: 93.06 kB / 19.65 MB, free: 276 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.001031/0.001031, allocations: 165 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.9068/0.9068, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.7298/0.7298, allocations: 118.7 MB / 378.6 MB, free: 1.516 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.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 483.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.959e-05, allocations: 6.312 kB / 483.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1202/0.1203, allocations: 129.7 MB / 0.599 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009242/0.1212, allocations: 0.7709 MB / 0.5997 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1214, allocations: 31.69 kB / 0.5997 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.1218, allocations: 79.34 kB / 0.5998 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.1222, allocations: 182.7 kB / 0.6 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1224, allocations: 119.6 kB / 0.6001 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.1228, allocations: 465.7 kB / 0.6006 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.123, allocations: 62.81 kB / 0.6006 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.1234, allocations: 279.1 kB / 0.6009 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1236, allocations: 151.6 kB / 0.601 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1236, allocations: 20 kB / 0.601 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1237, allocations: 83.75 kB / 0.6011 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.1238, allocations: 51.77 kB / 0.6012 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.1239, allocations: 99.7 kB / 0.6013 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1243, allocations: 298.8 kB / 0.6016 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1243, allocations: 0 / 0.6016 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1243, allocations: 4 kB / 0.6016 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.1243, allocations: 4 kB / 0.6016 GB, free: 11.9 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009917/0.1253, allocations: 0.6591 MB / 0.6022 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1253, allocations: 12.03 kB / 0.6022 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.1254, allocations: 56.66 kB / 0.6023 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.1258, allocations: 362.9 kB / 0.6026 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1258, allocations: 16.75 kB / 0.6026 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.1259, allocations: 20.38 kB / 0.6027 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.1261, allocations: 167.4 kB / 0.6028 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1261, allocations: 192 / 0.6028 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.1261, allocations: 16.12 kB / 0.6028 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1261, allocations: 7.938 kB / 0.6028 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1262, allocations: 59.89 kB / 0.6029 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.127, allocations: 0.7282 MB / 0.6036 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.1272, allocations: 115 kB / 0.6037 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.1273, allocations: 43.67 kB / 0.6038 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.33e-05/0.1273, allocations: 7.984 kB / 0.6038 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1274, allocations: 41.39 kB / 0.6038 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1274, allocations: 0 / 0.6038 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.000976/0.1283, allocations: 0.5425 MB / 0.6043 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1284, allocations: 55.41 kB / 0.6044 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1286, allocations: 330.2 kB / 0.6047 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1286, allocations: 29.7 kB / 0.6047 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1287, allocations: 235.2 kB / 0.605 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1287, allocations: 59.47 kB / 0.605 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.1288, allocations: 39.36 kB / 0.605 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1289, allocations: 0.5118 MB / 0.6055 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.129, allocations: 23.98 kB / 0.6056 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.653e-05/0.129, allocations: 51.34 kB / 0.6056 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1291, allocations: 79.31 kB / 0.6057 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1291, allocations: 0 / 0.6057 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002843/0.1294, allocations: 210.5 kB / 0.6059 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1294, allocations: 8 kB / 0.6059 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1294, allocations: 4 kB / 0.6059 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.1297, allocations: 75.62 kB / 0.606 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.1297, allocations: 31.86 kB / 0.606 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.131, allocations: 2.069 MB / 0.608 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.852e-05/0.1311, allocations: 4 kB / 0.608 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1311, allocations: 4 kB / 0.608 GB, free: 4.871 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.045e-05/0.1312, allocations: 160.6 kB / 0.6082 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.1312, allocations: 51.62 kB / 0.6082 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.1315, allocations: 220 kB / 0.6084 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1315, allocations: 3.984 kB / 0.6085 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1315, allocations: 4 kB / 0.6085 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1315, allocations: 0 / 0.6085 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008195/0.1323, allocations: 0.6201 MB / 0.6091 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1323, allocations: 0 / 0.6091 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.1324, allocations: 16 kB / 0.6091 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001917/0.1326, allocations: 95.64 kB / 0.6092 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1326, allocations: 4 kB / 0.6092 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.1337, allocations: 2.08 MB / 0.6112 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1337, allocations: 0 / 0.6112 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.1341, allocations: 419.2 kB / 0.6116 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.1341, allocations: 39.8 kB / 0.6116 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1341, allocations: 11.98 kB / 0.6117 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/0.1342, allocations: 0 / 0.6117 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1342, allocations: 23.91 kB / 0.6117 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1342, allocations: 4 kB / 0.6117 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001343/0.1344, allocations: 239.1 kB / 0.6119 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.1344, allocations: 0 / 0.6119 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000264/0.1346, allocations: 64 kB / 0.612 GB, free: 0.5742 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.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 (7): * Single equations (assignments): 6 * 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,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/0.1348, allocations: 107.6 kB / 0.6121 GB, free: 472 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004123/0.1352, allocations: 328.9 kB / 0.6124 GB, free: 124 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1352, allocations: 0 / 0.6124 GB, free: 124 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.1355, allocations: 305 kB / 0.6127 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1359, allocations: 78.25 kB / 0.6127 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.137, allocations: 0.6935 MB / 0.6134 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.31e-05/0.1371, allocations: 104.6 kB / 0.6135 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.703e-05/0.1371, allocations: 31.14 kB / 0.6136 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.1372, allocations: 24.5 kB / 0.6136 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of SimCode: time 8.52e-07/0.1372, allocations: 0 / 0.6136 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of Templates: time 0.006369/0.1435, allocations: 3.896 MB / 0.6174 GB, free: 11 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_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.00773286819458]