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.001437/0.001437, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7248/0.7248, allocations: 89.63 MB / 380.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 12.84 kB / 460 MB, free: 24.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 68.83 MB / 0.5165 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.6037/0.7768, allocations: 217.6 MB / 0.729 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04048/0.8174, allocations: 34.05 MB / 0.7622 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.821, allocations: 47.81 kB / 0.7623 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004904/0.8259, allocations: 1.554 MB / 0.7638 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008574/0.8345, allocations: 2.765 MB / 0.7665 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006592/0.8412, allocations: 1.981 MB / 0.7684 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006517/0.8477, allocations: 4.99 MB / 0.7733 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.8494, allocations: 0.8246 MB / 0.7741 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.8529, allocations: 1.58 MB / 0.7756 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/0.8566, allocations: 2.36 MB / 0.7779 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.857, allocations: 132 kB / 0.7781 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009108/0.8661, allocations: 3.844 MB / 0.7818 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007632/0.8669, allocations: 0.5251 MB / 0.7823 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.8681, allocations: 0.5472 MB / 0.7829 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005978/0.8741, allocations: 3.624 MB / 0.7864 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.8742, allocations: 0 / 0.7864 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8742, allocations: 0 / 0.7864 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.501e-05/0.8742, allocations: 0 / 0.7864 GB, free: 6.617 MB / 0.5919 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.006598/0.8808, allocations: 3.17 MB / 0.7895 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.8809, allocations: 12.03 kB / 0.7895 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000527/0.8814, allocations: 296.5 kB / 0.7898 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.8835, allocations: 1.35 MB / 0.7911 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.8837, allocations: 164.5 kB / 0.7913 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/0.884, allocations: 243.8 kB / 0.7915 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004391/0.8884, allocations: 2.798 MB / 0.7942 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.8884, allocations: 0 / 0.7942 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.8886, allocations: 92 kB / 0.7943 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.333e-05/0.8887, allocations: 64.98 kB / 0.7944 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004843/0.8936, allocations: 2.792 MB / 0.7971 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3506/1.244, allocations: 11.93 MB / 0.8088 GB, free: 224 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004666/1.249, allocations: 2.282 MB / 0.811 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/1.251, allocations: 1.33 MB / 0.8123 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/1.263, allocations: 8.729 MB / 0.8208 GB, free: 216.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/1.263, allocations: 68.41 kB / 0.8209 GB, free: 216.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 3.847e-06/1.263, allocations: 0 / 0.8209 GB, free: 216.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.01541/1.278, allocations: 8.989 MB / 0.8297 GB, free: 211.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/1.278, allocations: 152.6 kB / 0.8298 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/1.281, allocations: 1.421 MB / 0.8312 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/1.281, allocations: 64.14 kB / 0.8313 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/1.282, allocations: 0.925 MB / 0.8322 GB, free: 210.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007641/1.282, allocations: 0.7732 MB / 0.8329 GB, free: 209.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/1.282, allocations: 40.5 kB / 0.833 GB, free: 209.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.283, allocations: 394 kB / 0.8333 GB, free: 209.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/1.284, allocations: 0.8828 MB / 0.8342 GB, free: 208.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/1.286, allocations: 1.193 MB / 0.8354 GB, free: 208.1 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance5.m_flow = flowResistance5.m_flow_0 (flowResistance7.m_flow_0 - flowResistance4.m_flow_0 = flowResistance5.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: flowResistance11.m_flow = flowResistance11.m_flow_0 (flowResistance6.m_flow_0 - flowResistance10.m_flow_0 = flowResistance11.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: flowResistance9.m_flow = flowResistance9.m_flow_0 (flowResistance3.m_flow_0 - flowResistance8.m_flow_0 = flowResistance9.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: flowResistance1.m_flow = flowResistance1.m_flow_0 (flowResistance2.m_flow_0 - flowResistance.m_flow_0 = flowResistance1.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0433/1.329, allocations: 10.36 MB / 0.8455 GB, free: 205 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/1.33, allocations: 0 / 0.8455 GB, free: 205 MB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006005/1.336, allocations: 3.192 MB / 0.8486 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.336, allocations: 14.81 kB / 0.8486 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.336, allocations: 7.875 kB / 0.8486 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/1.338, allocations: 0.8381 MB / 0.8494 GB, free: 202.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.339, allocations: 370.7 kB / 0.8498 GB, free: 202.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.354, allocations: 11.12 MB / 0.8606 GB, free: 194 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/1.356, allocations: 151.1 kB / 0.8608 GB, free: 193.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/1.356, allocations: 90.75 kB / 0.8609 GB, free: 193.9 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: flowResistance5.m_flow = flowResistance5.m_flow_0 flowResistance11.m_flow = flowResistance11.m_flow_0 flowResistance9.m_flow = flowResistance9.m_flow_0 flowResistance1.m_flow = flowResistance1.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 9,(3,77.8%) 22,(3,77.8%) 19,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001113/1.357, allocations: 469.2 kB / 0.8613 GB, free: 193.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/1.358, allocations: 209.5 kB / 0.8615 GB, free: 193.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/1.364, allocations: 4.08 MB / 0.8655 GB, free: 189.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.364, allocations: 24 kB / 0.8655 GB, free: 189.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/1.364, allocations: 15.94 kB / 0.8655 GB, free: 189.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/1.364, allocations: 15.95 kB / 0.8656 GB, free: 189.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009627/1.374, allocations: 6.45 MB / 0.8719 GB, free: 182.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.374, allocations: 4.438 kB / 0.8719 GB, free: 182.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.375, allocations: 351.5 kB / 0.8722 GB, free: 182.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00201/1.377, allocations: 0.7131 MB / 0.8729 GB, free: 181.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/1.377, allocations: 87.95 kB / 0.873 GB, free: 181.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008864/1.386, allocations: 9.567 MB / 0.8823 GB, free: 171.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.386, allocations: 7.938 kB / 0.8823 GB, free: 171.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006806/1.393, allocations: 4.824 MB / 0.887 GB, free: 166.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.394, allocations: 334.1 kB / 0.8874 GB, free: 166.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/1.395, allocations: 52 kB / 0.8874 GB, free: 166 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.396, allocations: 139.6 kB / 0.8875 GB, free: 165.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003806/1.396, allocations: 200.7 kB / 0.8877 GB, free: 165.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.396, allocations: 87.95 kB / 0.8878 GB, free: 165.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001321/1.398, allocations: 1.046 MB / 0.8888 GB, free: 164.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/1.398, allocations: 4 kB / 0.8888 GB, free: 164.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003622/1.401, allocations: 1.219 MB / 0.89 GB, free: 163.4 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(3,77.8%) 19,(3,77.8%) 22,(3,77.8%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/1.403, allocations: 1.464 MB / 0.8915 GB, free: 162.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004825/1.408, allocations: 3.173 MB / 0.8946 GB, free: 158.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.408, allocations: 0 / 0.8946 GB, free: 158.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002835/1.411, allocations: 2.141 MB / 0.8967 GB, free: 156.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004855/1.416, allocations: 0.7632 MB / 0.8974 GB, free: 155.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009589/1.426, allocations: 6.02 MB / 0.9033 GB, free: 149.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.427, allocations: 1.663 MB / 0.9049 GB, free: 148.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002902/1.43, allocations: 0.5706 MB / 0.9055 GB, free: 147.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/1.43, allocations: 199.4 kB / 0.9057 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of SimCode: time 2.094e-06/1.43, allocations: 0 / 0.9057 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.0819/1.512, allocations: 56.99 MB / 0.9613 GB, free: 90.84 MB / 0.6075 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches