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.001117/0.001121, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.00114/0.00114, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6637/0.6637, allocations: 89.5 MB / 380.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 79.88 kB / 459.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1142, allocations: 67.31 MB / 0.5146 GB, free: 7.188 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.6798/0.794, allocations: 235.4 MB / 0.7446 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03416/0.8282, allocations: 36.41 MB / 0.7801 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.8306, allocations: 42.91 kB / 0.7802 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004535/0.8351, allocations: 1.811 MB / 0.7819 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007488/0.8427, allocations: 2.876 MB / 0.7847 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007149/0.8499, allocations: 2.729 MB / 0.7874 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006423/0.8563, allocations: 4.636 MB / 0.7919 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.8582, allocations: 1.024 MB / 0.7929 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.8622, allocations: 1.941 MB / 0.7948 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004175/0.8664, allocations: 2.607 MB / 0.7974 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006438/0.8671, allocations: 309.6 kB / 0.7977 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.8781, allocations: 4.501 MB / 0.8021 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.8794, allocations: 0.7369 MB / 0.8028 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005854/0.8852, allocations: 1.605 MB / 0.8043 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.8966, allocations: 5.225 MB / 0.8095 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8967, allocations: 0.6875 kB / 0.8095 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8967, allocations: 0 / 0.8095 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.935e-05/0.8968, allocations: 0.875 kB / 0.8095 GB, free: 15.23 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.007806/0.9046, allocations: 3.631 MB / 0.813 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.9046, allocations: 12.38 kB / 0.813 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006601/0.9053, allocations: 296.3 kB / 0.8133 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.9074, allocations: 1.406 MB / 0.8147 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.938e-05/0.9075, allocations: 168.4 kB / 0.8148 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/0.9079, allocations: 241.5 kB / 0.8151 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/0.912, allocations: 2.821 MB / 0.8178 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.9121, allocations: 0 / 0.8178 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.9123, allocations: 89.03 kB / 0.8179 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.9123, allocations: 71.86 kB / 0.818 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/0.9162, allocations: 2.803 MB / 0.8207 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/0.9305, allocations: 11.89 MB / 0.8323 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.934, allocations: 2.289 MB / 0.8345 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.9358, allocations: 1.34 MB / 0.8359 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.9461, allocations: 8.73 MB / 0.8444 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.9462, allocations: 60.12 kB / 0.8444 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 3.556e-06/0.9462, allocations: 0 / 0.8444 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.01697/0.9632, allocations: 9.021 MB / 0.8532 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.9633, allocations: 152.6 kB / 0.8534 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.9654, allocations: 1.433 MB / 0.8548 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.9657, allocations: 61.7 kB / 0.8548 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006466/0.9663, allocations: 0.9326 MB / 0.8558 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007138/0.9671, allocations: 0.7708 MB / 0.8565 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007081/0.9678, allocations: 371.7 kB / 0.8569 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.9679, allocations: 312.6 kB / 0.8572 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.9694, allocations: 0.8943 MB / 0.858 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.9713, allocations: 1.199 MB / 0.8592 GB, free: 8.301 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.05002/1.021, allocations: 11.45 MB / 0.8704 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.021, allocations: 0 / 0.8704 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006833/1.028, allocations: 3.205 MB / 0.8735 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.028, allocations: 8.844 kB / 0.8735 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.028, allocations: 8 kB / 0.8735 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/1.031, allocations: 0.8351 MB / 0.8743 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.032, allocations: 380.8 kB / 0.8747 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/1.05, allocations: 11.92 MB / 0.8863 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.052, allocations: 68 kB / 0.8864 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00047/1.052, allocations: 95.97 kB / 0.8865 GB, free: 11.83 MB / 0.6544 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.001256/1.053, allocations: 466.5 kB / 0.8869 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/1.054, allocations: 197.6 kB / 0.8871 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008053/1.062, allocations: 4.087 MB / 0.8911 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/1.062, allocations: 24 kB / 0.8912 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.164e-05/1.062, allocations: 15.98 kB / 0.8912 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/1.062, allocations: 11.95 kB / 0.8912 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.075, allocations: 6.442 MB / 0.8975 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.075, allocations: 4 kB / 0.8975 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.076, allocations: 352.7 kB / 0.8978 GB, free: 392 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/1.079, allocations: 0.7066 MB / 0.8985 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/1.079, allocations: 79.95 kB / 0.8986 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/1.091, allocations: 10.48 MB / 0.9088 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.091, allocations: 10.5 kB / 0.9088 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008869/1.1, allocations: 4.863 MB / 0.9136 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/1.101, allocations: 294.3 kB / 0.9139 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006168/1.102, allocations: 56 kB / 0.9139 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.103, allocations: 67.89 kB / 0.914 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/1.104, allocations: 206 kB / 0.9142 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.104, allocations: 83.95 kB / 0.9142 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00173/1.106, allocations: 1.07 MB / 0.9153 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/1.106, allocations: 0 / 0.9153 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003918/1.11, allocations: 1.214 MB / 0.9165 GB, free: 12.73 MB / 0.6856 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.002456/1.112, allocations: 1.358 MB / 0.9178 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005865/1.118, allocations: 3.245 MB / 0.921 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.118, allocations: 384 / 0.921 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003741/1.122, allocations: 2.152 MB / 0.9231 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/1.126, allocations: 0.8237 MB / 0.9239 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009289/1.135, allocations: 5.018 MB / 0.9288 GB, free: 304 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/1.137, allocations: 1.661 MB / 0.9304 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002319/1.139, allocations: 0.5788 MB / 0.931 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/1.14, allocations: 199.4 kB / 0.9312 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of SimCode: time 1.062e-06/1.14, allocations: 4 kB / 0.9312 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of Templates: time 0.09285/1.233, allocations: 61.18 MB / 0.9909 GB, free: 1.301 MB / 0.7481 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 -s gbode -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