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.008116/0.008116, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.002136/0.002136, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6809/0.6809, allocations: 91.18 MB / 381.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 79.88 kB / 0.5169 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1291, allocations: 67.7 MB / 0.583 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5195/0.6486, allocations: 235.9 MB / 0.8134 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4245/1.073, allocations: 36.56 MB / 0.8491 GB, free: 1.16 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/1.077, allocations: 100.7 kB / 0.8492 GB, free: 1.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005536/1.082, allocations: 1.845 MB / 0.851 GB, free: 1.152 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009965/1.092, allocations: 2.998 MB / 0.8539 GB, free: 1.078 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00911/1.101, allocations: 2.724 MB / 0.8566 GB, free: 1.012 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008992/1.11, allocations: 4.928 MB / 0.8614 GB, free: 1.004 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/1.113, allocations: 1.093 MB / 0.8625 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005231/1.118, allocations: 2.091 MB / 0.8645 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005721/1.124, allocations: 2.653 MB / 0.8671 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/1.125, allocations: 307 kB / 0.8674 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01329/1.138, allocations: 4.5 MB / 0.8718 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001847/1.14, allocations: 0.7534 MB / 0.8725 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004337/1.145, allocations: 1.721 MB / 0.8742 GB, free: 16.28 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01502/1.16, allocations: 5.591 MB / 0.8797 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.16, allocations: 3.844 kB / 0.8797 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.834e-06/1.16, allocations: 0.9375 kB / 0.8797 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001569/1.16, allocations: 0 / 0.8797 GB, free: 15.47 MB / 0.6856 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.01062/1.171, allocations: 4.112 MB / 0.8837 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.171, allocations: 11.12 kB / 0.8837 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000989/1.172, allocations: 359.4 kB / 0.884 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/1.175, allocations: 2.013 MB / 0.886 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/1.175, allocations: 167.3 kB / 0.8862 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/1.176, allocations: 242.6 kB / 0.8864 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/1.181, allocations: 2.816 MB / 0.8891 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/1.181, allocations: 7.031 kB / 0.8891 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/1.181, allocations: 88.47 kB / 0.8892 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/1.181, allocations: 67.69 kB / 0.8893 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00407/1.185, allocations: 2.802 MB / 0.892 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/1.201, allocations: 12.02 MB / 0.9038 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/1.205, allocations: 2.298 MB / 0.906 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/1.207, allocations: 1.337 MB / 0.9073 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/1.217, allocations: 8.729 MB / 0.9158 GB, free: 176 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/1.217, allocations: 57.66 kB / 0.9159 GB, free: 136 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=225): time 6.031e-06/1.217, allocations: 4.781 kB / 0.9159 GB, free: 132 kB / 0.6856 GB Notification: Performance of matching and sorting (n=229): time 0.01714/1.234, allocations: 9.46 MB / 0.9251 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/1.235, allocations: 155.7 kB / 0.9253 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/1.237, allocations: 1.801 MB / 0.927 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003102/1.237, allocations: 63.11 kB / 0.9271 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006825/1.238, allocations: 1.124 MB / 0.9282 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006626/1.239, allocations: 0.8096 MB / 0.929 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005538/1.239, allocations: 378.8 kB / 0.9294 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/1.239, allocations: 308.4 kB / 0.9297 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/1.241, allocations: 0.8932 MB / 0.9305 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/1.242, allocations: 1.202 MB / 0.9317 GB, free: 9.945 MB / 0.7012 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.05083/1.293, allocations: 11.44 MB / 0.9429 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/1.293, allocations: 4 kB / 0.9429 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00711/1.3, allocations: 3.275 MB / 0.9461 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.3, allocations: 11.94 kB / 0.9461 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.3, allocations: 8 kB / 0.9461 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/1.303, allocations: 0.8345 MB / 0.9469 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/1.305, allocations: 366.6 kB / 0.9473 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/1.322, allocations: 11.92 MB / 0.9589 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.325, allocations: 72.14 kB / 0.959 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005834/1.325, allocations: 95.91 kB / 0.959 GB, free: 1.145 MB / 0.7169 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.001588/1.327, allocations: 494.6 kB / 0.9595 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.328, allocations: 266.3 kB / 0.9598 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008296/1.337, allocations: 4.111 MB / 0.9638 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/1.337, allocations: 28 kB / 0.9638 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.24e-05/1.337, allocations: 8 kB / 0.9638 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/1.337, allocations: 15.95 kB / 0.9638 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/1.349, allocations: 6.574 MB / 0.9703 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/1.349, allocations: 8 kB / 0.9703 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/1.35, allocations: 348.1 kB / 0.9706 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/1.353, allocations: 0.7122 MB / 0.9713 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002337/1.353, allocations: 83.95 kB / 0.9714 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.365, allocations: 10.46 MB / 0.9816 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.365, allocations: 4 kB / 0.9816 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008525/1.373, allocations: 4.917 MB / 0.9864 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009598/1.374, allocations: 343.2 kB / 0.9867 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007553/1.375, allocations: 55.94 kB / 0.9868 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.377, allocations: 71.95 kB / 0.9868 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000458/1.377, allocations: 199.2 kB / 0.987 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/1.378, allocations: 87.95 kB / 0.9871 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002317/1.38, allocations: 1.304 MB / 0.9884 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.38, allocations: 0 / 0.9884 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004743/1.385, allocations: 1.236 MB / 0.9896 GB, free: 1.402 MB / 0.7481 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.002703/1.387, allocations: 1.368 MB / 0.9909 GB, free: 172 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006418/1.394, allocations: 3.255 MB / 0.9941 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.394, allocations: 0 / 0.9941 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003952/1.398, allocations: 2.152 MB / 0.9962 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004932/1.403, allocations: 0.8629 MB / 0.9971 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.413, allocations: 5.561 MB / 1.002 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/1.415, allocations: 1.783 MB / 1.004 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002522/1.418, allocations: 0.6363 MB / 1.005 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008098/1.419, allocations: 227.4 kB / 1.005 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of SimCode: time 6.81e-07/1.419, allocations: 0 / 1.005 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of Templates: time 0.09604/1.515, allocations: 62.55 MB / 1.066 GB, free: 3.75 MB / 0.8262 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