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.001439/0.001439, allocations: 106.8 kB / 16.41 MB, free: 6.512 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.001414/0.001414, allocations: 187 kB / 17.34 MB, free: 5.742 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6995/0.6995, allocations: 91.18 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.001701, allocations: 79.88 kB / 0.5175 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3357, allocations: 67.68 MB / 0.5836 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5641/0.8999, allocations: 235.9 MB / 0.814 GB, free: 88 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04116/0.9411, allocations: 36.59 MB / 0.8498 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004103/0.9453, allocations: 101.6 kB / 0.8499 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005954/0.9512, allocations: 1.845 MB / 0.8517 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.9619, allocations: 2.99 MB / 0.8546 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009422/0.9714, allocations: 2.723 MB / 0.8573 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008053/0.9794, allocations: 4.941 MB / 0.8621 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.9821, allocations: 1.084 MB / 0.8631 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004895/0.987, allocations: 2.144 MB / 0.8652 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004972/0.992, allocations: 2.659 MB / 0.8678 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.9935, allocations: 304 kB / 0.8681 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01188/1.005, allocations: 4.496 MB / 0.8725 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001516/1.007, allocations: 0.7551 MB / 0.8732 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003988/1.011, allocations: 1.714 MB / 0.8749 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01467/1.026, allocations: 5.57 MB / 0.8804 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.026, allocations: 0 / 0.8804 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.844e-06/1.026, allocations: 0 / 0.8804 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001754/1.026, allocations: 0 / 0.8804 GB, free: 8.777 MB / 0.6231 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.01054/1.036, allocations: 4.001 MB / 0.8843 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.037, allocations: 8.031 kB / 0.8843 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/1.038, allocations: 343.9 kB / 0.8846 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004177/1.042, allocations: 1.995 MB / 0.8865 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/1.042, allocations: 172.5 kB / 0.8867 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006667/1.043, allocations: 247.7 kB / 0.8869 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005922/1.049, allocations: 2.81 MB / 0.8897 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/1.049, allocations: 3.938 kB / 0.8897 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/1.049, allocations: 88 kB / 0.8898 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.572e-05/1.049, allocations: 65 kB / 0.8898 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004694/1.054, allocations: 2.804 MB / 0.8926 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/1.071, allocations: 12.01 MB / 0.9043 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/1.076, allocations: 2.291 MB / 0.9065 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/1.078, allocations: 1.337 MB / 0.9078 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/1.09, allocations: 8.709 MB / 0.9164 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/1.09, allocations: 68.05 kB / 0.9164 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=225): time 5.831e-06/1.09, allocations: 0 / 0.9164 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of matching and sorting (n=229): time 0.01919/1.109, allocations: 9.337 MB / 0.9255 GB, free: 7.742 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/1.109, allocations: 158.1 kB / 0.9257 GB, free: 7.555 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/1.112, allocations: 1.791 MB / 0.9274 GB, free: 5.734 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003253/1.112, allocations: 65.7 kB / 0.9275 GB, free: 5.664 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007755/1.113, allocations: 1.119 MB / 0.9286 GB, free: 4.531 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008752/1.114, allocations: 0.7661 MB / 0.9293 GB, free: 3.754 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008314/1.115, allocations: 375.7 kB / 0.9297 GB, free: 3.379 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.115, allocations: 301.1 kB / 0.93 GB, free: 3.082 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/1.116, allocations: 0.8982 MB / 0.9309 GB, free: 2.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.118, allocations: 1.196 MB / 0.932 GB, free: 0.8789 MB / 0.67 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.0505/1.169, allocations: 11.42 MB / 0.9432 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.169, allocations: 8 kB / 0.9432 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007016/1.176, allocations: 3.261 MB / 0.9464 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/1.176, allocations: 8 kB / 0.9464 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.176, allocations: 7.938 kB / 0.9464 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/1.178, allocations: 0.8402 MB / 0.9472 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.18, allocations: 379.4 kB / 0.9476 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/1.197, allocations: 11.9 MB / 0.9592 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.198, allocations: 68.11 kB / 0.9593 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/1.199, allocations: 99.91 kB / 0.9594 GB, free: 4.141 MB / 0.7012 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.001322/1.2, allocations: 489.2 kB / 0.9598 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008863/1.201, allocations: 260.7 kB / 0.9601 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/1.209, allocations: 4.107 MB / 0.9641 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/1.209, allocations: 27.94 kB / 0.9641 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-05/1.209, allocations: 16 kB / 0.9641 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/1.209, allocations: 11.95 kB / 0.9641 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/1.221, allocations: 6.568 MB / 0.9705 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.221, allocations: 4 kB / 0.9706 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.222, allocations: 347.5 kB / 0.9709 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002264/1.224, allocations: 0.7133 MB / 0.9716 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/1.224, allocations: 79.95 kB / 0.9717 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/1.236, allocations: 10.45 MB / 0.9819 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/1.236, allocations: 11.88 kB / 0.9819 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009163/1.245, allocations: 4.9 MB / 0.9867 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008786/1.246, allocations: 325.9 kB / 0.987 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007394/1.247, allocations: 60 kB / 0.987 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.248, allocations: 59.97 kB / 0.9871 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004674/1.249, allocations: 208.9 kB / 0.9873 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/1.249, allocations: 83.97 kB / 0.9874 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002101/1.251, allocations: 1.308 MB / 0.9886 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.251, allocations: 0 / 0.9886 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004201/1.255, allocations: 1.222 MB / 0.9898 GB, free: 4.09 MB / 0.7325 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.002558/1.258, allocations: 1.367 MB / 0.9912 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00589/1.264, allocations: 3.241 MB / 0.9943 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.264, allocations: 0 / 0.9943 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003984/1.268, allocations: 2.159 MB / 0.9964 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005199/1.273, allocations: 0.8546 MB / 0.9973 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/1.284, allocations: 5.535 MB / 1.003 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/1.286, allocations: 1.775 MB / 1.004 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.287, allocations: 247.3 kB / 1.005 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of SimCode: time 1.453e-06/1.287, allocations: 0 / 1.005 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.3971/1.685, allocations: 95.75 MB / 1.098 GB, free: 261.2 MB / 0.7637 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