Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.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.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001919/0.001919, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.505/1.505, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7923/0.7923, allocations: 93.69 MB / 384.4 MB, free: 5.559 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 83.86 kB / 463.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1692, allocations: 68.26 MB / 0.5193 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4418/0.611, allocations: 142.8 MB / 0.6588 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006562/0.6176, allocations: 4.611 MB / 0.6633 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006898/0.6183, allocations: 27.81 kB / 0.6634 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008825/0.6193, allocations: 171 kB / 0.6635 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.6204, allocations: 286.6 kB / 0.6638 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.6217, allocations: 402.7 kB / 0.6642 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.6229, allocations: 0.7484 MB / 0.6649 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.6232, allocations: 122.4 kB / 0.665 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.6242, allocations: 388 kB / 0.6654 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.6248, allocations: 334.7 kB / 0.6657 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.6249, allocations: 32 kB / 0.6658 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.626, allocations: 471 kB / 0.6662 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.6262, allocations: 103.6 kB / 0.6663 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.6266, allocations: 214.8 kB / 0.6665 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008026/0.6274, allocations: 463 kB / 0.667 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6274, allocations: 0 / 0.667 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6274, allocations: 0 / 0.667 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.6274, allocations: 8 kB / 0.667 GB, free: 8.355 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002235/0.6297, allocations: 0.8172 MB / 0.6678 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.6298, allocations: 12.03 kB / 0.6678 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.63, allocations: 44.38 kB / 0.6678 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009467/0.6309, allocations: 449.7 kB / 0.6682 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.631, allocations: 12.94 kB / 0.6683 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.6311, allocations: 26.02 kB / 0.6683 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.632, allocations: 449.3 kB / 0.6687 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.632, allocations: 8 kB / 0.6687 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.6321, allocations: 4.844 kB / 0.6687 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.6321, allocations: 24.5 kB / 0.6687 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/0.6329, allocations: 477.8 kB / 0.6692 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.6355, allocations: 1.444 MB / 0.6706 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.636, allocations: 250.4 kB / 0.6709 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.6364, allocations: 208.8 kB / 0.671 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/0.6368, allocations: 337.1 kB / 0.6714 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.6368, allocations: 35.59 kB / 0.6714 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.023e-06/0.6368, allocations: 0 / 0.6714 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002916/0.6397, allocations: 1.53 MB / 0.6729 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.6398, allocations: 59.41 kB / 0.673 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.6403, allocations: 397.9 kB / 0.6733 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.6404, allocations: 29.7 kB / 0.6734 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.6405, allocations: 200.6 kB / 0.6736 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.6407, allocations: 114.3 kB / 0.6737 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.6408, allocations: 65.67 kB / 0.6737 GB, free: 1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.641, allocations: 362.7 kB / 0.6741 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.6413, allocations: 147.8 kB / 0.6742 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.6415, allocations: 153.5 kB / 0.6744 GB, free: 352 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.6421, allocations: 337.2 kB / 0.6747 GB, free: 12 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6421, allocations: 0 / 0.6747 GB, free: 12 kB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000994/0.6431, allocations: 0.518 MB / 0.6752 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6432, allocations: 8 kB / 0.6752 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6432, allocations: 0 / 0.6752 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/0.6436, allocations: 125.8 kB / 0.6753 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.6439, allocations: 55.83 kB / 0.6754 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.6469, allocations: 2.332 MB / 0.6776 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.6472, allocations: 11.94 kB / 0.6777 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.6472, allocations: 19.98 kB / 0.6777 GB, free: 12.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002514/0.6475, allocations: 161.8 kB / 0.6778 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.6476, allocations: 47.44 kB / 0.6779 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.6488, allocations: 0.6578 MB / 0.6785 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.6488, allocations: 4 kB / 0.6785 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6488, allocations: 0 / 0.6785 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6489, allocations: 112 / 0.6785 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.6494, allocations: 453.2 kB / 0.679 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6495, allocations: 3.938 kB / 0.679 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.6497, allocations: 32.53 kB / 0.679 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.65, allocations: 133.6 kB / 0.6791 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.6501, allocations: 15.97 kB / 0.6791 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.653, allocations: 2.332 MB / 0.6814 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.653, allocations: 0 / 0.6814 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.6542, allocations: 0.6496 MB / 0.682 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6543, allocations: 108.5 kB / 0.6821 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.6544, allocations: 8.75 kB / 0.6822 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.6546, allocations: 11.98 kB / 0.6822 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.6547, allocations: 23.97 kB / 0.6822 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.6547, allocations: 7.984 kB / 0.6822 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004086/0.6552, allocations: 322.9 kB / 0.6825 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6552, allocations: 4 kB / 0.6825 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005317/0.6557, allocations: 104 kB / 0.6826 GB, free: 7.488 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003501/0.6561, allocations: 200.7 kB / 0.6828 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.6572, allocations: 0.5339 MB / 0.6833 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6572, allocations: 0 / 0.6833 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.6579, allocations: 361.8 kB / 0.6837 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.6586, allocations: 116 kB / 0.6838 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.6606, allocations: 1.105 MB / 0.6849 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.6611, allocations: 0.8279 MB / 0.6857 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.6613, allocations: 47.39 kB / 0.6857 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.6613, allocations: 0 / 0.6857 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of Templates: time 0.01529/0.6766, allocations: 8.897 MB / 0.6944 GB, free: 11.52 MB / 0.545 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches