Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 199.2 kB / 16.8 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6149/0.6149, allocations: 89.52 MB / 380.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 75.33 kB / 458.2 MB, free: 23.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 67.31 MB / 0.5132 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.4303/0.5407, allocations: 235.5 MB / 0.7432 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03762/0.5784, allocations: 36.9 MB / 0.7792 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.5813, allocations: 47.81 kB / 0.7793 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.5857, allocations: 1.641 MB / 0.7809 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007088/0.5929, allocations: 2.669 MB / 0.7835 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00635/0.5992, allocations: 2.353 MB / 0.7858 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00587/0.6051, allocations: 5.657 MB / 0.7913 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.6066, allocations: 0.9328 MB / 0.7922 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/0.6097, allocations: 1.778 MB / 0.794 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.6133, allocations: 2.581 MB / 0.7965 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005783/0.6139, allocations: 204 kB / 0.7967 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008802/0.6227, allocations: 4.406 MB / 0.801 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006531/0.6234, allocations: 0.6304 MB / 0.8016 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.6253, allocations: 1.508 MB / 0.8031 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004817/0.6301, allocations: 3.859 MB / 0.8068 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6301, allocations: 0 / 0.8068 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6301, allocations: 4 kB / 0.8068 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.634e-05/0.6302, allocations: 0 / 0.8068 GB, free: 6.383 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.007286/0.6375, allocations: 3.618 MB / 0.8104 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6375, allocations: 8.031 kB / 0.8104 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.6381, allocations: 297.4 kB / 0.8107 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.6401, allocations: 1.408 MB / 0.812 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.6402, allocations: 172.8 kB / 0.8122 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/0.6405, allocations: 240.1 kB / 0.8124 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/0.6448, allocations: 2.814 MB / 0.8152 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.6449, allocations: 8 kB / 0.8152 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/0.6451, allocations: 88 kB / 0.8153 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.21e-05/0.6451, allocations: 65 kB / 0.8153 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004133/0.6493, allocations: 2.808 MB / 0.8181 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2091/0.8584, allocations: 11.9 MB / 0.8297 GB, free: 240.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/0.8622, allocations: 2.293 MB / 0.8319 GB, free: 240.1 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.864, allocations: 1.336 MB / 0.8332 GB, free: 239.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008472/0.8725, allocations: 8.728 MB / 0.8418 GB, free: 232.4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.8725, allocations: 68.42 kB / 0.8418 GB, free: 232.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=225): time 3.367e-06/0.8725, allocations: 1.125 kB / 0.8418 GB, free: 232.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=229): time 0.01451/0.887, allocations: 9.02 MB / 0.8506 GB, free: 227.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.8871, allocations: 154.4 kB / 0.8508 GB, free: 227.1 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.8889, allocations: 1.434 MB / 0.8522 GB, free: 226.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.8891, allocations: 65.33 kB / 0.8522 GB, free: 226.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.8895, allocations: 0.9307 MB / 0.8532 GB, free: 225.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.89, allocations: 0.7692 MB / 0.8539 GB, free: 225.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005297/0.8905, allocations: 375.5 kB / 0.8543 GB, free: 225 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 3.423e-05/0.8905, allocations: 310.1 kB / 0.8546 GB, free: 224.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.8921, allocations: 0.8947 MB / 0.8554 GB, free: 224.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.8939, allocations: 1.198 MB / 0.8566 GB, free: 223.7 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance4.m_flow = flowResistance4.m_flow_0 (flowResistance7.m_flow_0 - flowResistance5.m_flow_0 = flowResistance4.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance10.m_flow = flowResistance10.m_flow_0 (flowResistance6.m_flow_0 - flowResistance11.m_flow_0 = flowResistance10.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance8.m_flow = flowResistance8.m_flow_0 (flowResistance3.m_flow_0 - flowResistance9.m_flow_0 = flowResistance8.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance.m_flow = flowResistance.m_flow_0 (flowResistance2.m_flow_0 - flowResistance1.m_flow_0 = flowResistance.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.04858/0.9425, allocations: 11.44 MB / 0.8678 GB, free: 219.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.9425, allocations: 3.938 kB / 0.8678 GB, free: 219.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00558/0.9481, allocations: 3.21 MB / 0.8709 GB, free: 217.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9481, allocations: 7.906 kB / 0.8709 GB, free: 217.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.9481, allocations: 7.906 kB / 0.8709 GB, free: 217.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/0.9505, allocations: 0.847 MB / 0.8718 GB, free: 217.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.9517, allocations: 367.8 kB / 0.8721 GB, free: 217.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.9651, allocations: 11.03 MB / 0.8829 GB, free: 208.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.9668, allocations: 143.2 kB / 0.883 GB, free: 208.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.967, allocations: 93.59 kB / 0.8831 GB, free: 208.2 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: flowResistance4.m_flow = flowResistance4.m_flow_0 flowResistance10.m_flow = flowResistance10.m_flow_0 flowResistance8.m_flow = flowResistance8.m_flow_0 flowResistance.m_flow = flowResistance.m_flow_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,9,77.8%), (3,22,77.8%), (3,19,77.8%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007788/0.9678, allocations: 462.3 kB / 0.8835 GB, free: 207.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.9682, allocations: 201.5 kB / 0.8837 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/0.9742, allocations: 4.09 MB / 0.8877 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.9742, allocations: 31.92 kB / 0.8878 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.9742, allocations: 12 kB / 0.8878 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.9743, allocations: 15.95 kB / 0.8878 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008637/0.9829, allocations: 6.462 MB / 0.8941 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.9829, allocations: 4.109 kB / 0.8941 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.9841, allocations: 351.4 kB / 0.8944 GB, free: 196.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/0.9861, allocations: 0.706 MB / 0.8951 GB, free: 195.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.9863, allocations: 79.95 kB / 0.8952 GB, free: 195.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008327/0.9946, allocations: 9.586 MB / 0.9046 GB, free: 185.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9947, allocations: 12.31 kB / 0.9046 GB, free: 185.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006462/1.001, allocations: 4.848 MB / 0.9093 GB, free: 180.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/1.002, allocations: 290.3 kB / 0.9096 GB, free: 180.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003306/1.002, allocations: 63.88 kB / 0.9096 GB, free: 180.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.003, allocations: 135.6 kB / 0.9098 GB, free: 180.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/1.004, allocations: 208.7 kB / 0.91 GB, free: 180 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.004, allocations: 83.95 kB / 0.9101 GB, free: 179.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001146/1.005, allocations: 1.078 MB / 0.9111 GB, free: 178.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/1.005, allocations: 0 / 0.9111 GB, free: 178.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002758/1.008, allocations: 1.218 MB / 0.9123 GB, free: 177.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 8 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance9.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance11.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance5.inlet.m_flow,flowResistance7.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 (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,19,77.8%), (3,22,77.8%), (3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/1.009, allocations: 1.365 MB / 0.9136 GB, free: 176.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004427/1.014, allocations: 3.21 MB / 0.9168 GB, free: 173.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.014, allocations: 0 / 0.9168 GB, free: 173.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002751/1.017, allocations: 2.155 MB / 0.9189 GB, free: 171 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/1.02, allocations: 0.7588 MB / 0.9196 GB, free: 170.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008212/1.028, allocations: 6.132 MB / 0.9256 GB, free: 164.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009759/1.029, allocations: 1.637 MB / 0.9272 GB, free: 162.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009731/1.03, allocations: 227.3 kB / 0.9274 GB, free: 162.2 MB / 0.6231 GB Notification: Performance of SimCode: time 1.153e-06/1.03, allocations: 4 kB / 0.9274 GB, free: 162.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.06506/1.095, allocations: 86.17 MB / 1.012 GB, free: 76.09 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches