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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 164.3 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7117/0.7117, allocations: 79.62 MB / 339.4 MB, free: 11.01 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 88.08 kB / 0.4923 GB, free: 26.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.118, allocations: 74.59 MB / 0.5652 GB, free: 6.023 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1548/0.2728, allocations: 124.6 MB / 0.6869 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005208/0.278, allocations: 4.215 MB / 0.691 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/0.2784, allocations: 39.62 kB / 0.6911 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006817/0.279, allocations: 186.8 kB / 0.6912 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007927/0.2798, allocations: 318.2 kB / 0.6915 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.2809, allocations: 434.4 kB / 0.692 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00084/0.2818, allocations: 0.7518 MB / 0.6927 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.282, allocations: 70.83 kB / 0.6928 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.2827, allocations: 406.4 kB / 0.6931 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.2832, allocations: 330.7 kB / 0.6935 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.2833, allocations: 32 kB / 0.6935 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007273/0.284, allocations: 391.3 kB / 0.6939 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.2841, allocations: 103.6 kB / 0.694 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2843, allocations: 175 kB / 0.6941 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008164/0.2851, allocations: 0.6226 MB / 0.6947 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2851, allocations: 0 / 0.6947 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2851, allocations: 0 / 0.6947 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2851, allocations: 3.938 kB / 0.6947 GB, free: 0.8438 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001483/0.2866, allocations: 0.7616 MB / 0.6955 GB, free: 52 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2867, allocations: 13.47 kB / 0.6955 GB, free: 40 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.244/0.5307, allocations: 47.67 kB / 0.6955 GB, free: 134.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/0.5315, allocations: 418.5 kB / 0.6959 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5315, allocations: 16.81 kB / 0.696 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.5316, allocations: 30.22 kB / 0.696 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.5323, allocations: 449.4 kB / 0.6964 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5323, allocations: 0.5156 kB / 0.6964 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.5323, allocations: 14.94 kB / 0.6964 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.5323, allocations: 17.25 kB / 0.6964 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.533, allocations: 484.1 kB / 0.6969 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.5348, allocations: 1.186 MB / 0.6981 GB, free: 134 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.5352, allocations: 228.1 kB / 0.6983 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.5354, allocations: 188.2 kB / 0.6985 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.5356, allocations: 26.42 kB / 0.6985 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.5356, allocations: 40.94 kB / 0.6985 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.5356, allocations: 0 / 0.6985 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002167/0.5378, allocations: 1.226 MB / 0.6997 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.5378, allocations: 59.22 kB / 0.6998 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.538, allocations: 324.1 kB / 0.7001 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.5381, allocations: 31.67 kB / 0.7001 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.5382, allocations: 208.5 kB / 0.7003 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.5382, allocations: 128.6 kB / 0.7004 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.5383, allocations: 62.88 kB / 0.7005 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.5384, allocations: 350.7 kB / 0.7008 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.5386, allocations: 141 kB / 0.701 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.5388, allocations: 152.8 kB / 0.7011 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.5393, allocations: 339.5 kB / 0.7014 GB, free: 132 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5393, allocations: 0.5156 kB / 0.7014 GB, free: 132 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007502/0.5401, allocations: 0.5159 MB / 0.7019 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5401, allocations: 5.031 kB / 0.702 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5401, allocations: 3.312 kB / 0.702 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.5404, allocations: 109.3 kB / 0.7021 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.5406, allocations: 59.83 kB / 0.7021 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.5425, allocations: 2.182 MB / 0.7042 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.5426, allocations: 8.594 kB / 0.7043 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.5427, allocations: 16.69 kB / 0.7043 GB, free: 130 MB / 0.5919 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.0001783/0.5428, allocations: 165.9 kB / 0.7044 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.5429, allocations: 39.27 kB / 0.7045 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009515/0.5439, allocations: 0.6514 MB / 0.7051 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5439, allocations: 2.844 kB / 0.7051 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5439, allocations: 3.422 kB / 0.7051 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5439, allocations: 1.734 kB / 0.7051 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.5442, allocations: 326.7 kB / 0.7054 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5442, allocations: 3.938 kB / 0.7054 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.5444, allocations: 35.97 kB / 0.7055 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.5447, allocations: 130.3 kB / 0.7056 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.5447, allocations: 10.77 kB / 0.7056 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.5464, allocations: 2.177 MB / 0.7077 GB, free: 127.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5464, allocations: 6.203 kB / 0.7077 GB, free: 127.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.5473, allocations: 0.6414 MB / 0.7084 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.5473, allocations: 40.88 kB / 0.7084 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.5473, allocations: 7.312 kB / 0.7084 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.5475, allocations: 5.719 kB / 0.7084 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.5475, allocations: 25.81 kB / 0.7084 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.5476, allocations: 10.86 kB / 0.7084 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002113/0.5478, allocations: 263.5 kB / 0.7087 GB, free: 127 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5478, allocations: 4.344 kB / 0.7087 GB, free: 127 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004984/0.5483, allocations: 113.2 kB / 0.7088 GB, free: 127 MB / 0.5919 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.0002132/0.5485, allocations: 193.9 kB / 0.709 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000846/0.5493, allocations: 0.4982 MB / 0.7095 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5493, allocations: 0.9062 kB / 0.7095 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.5499, allocations: 350.6 kB / 0.7098 GB, free: 126.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.5503, allocations: 67.22 kB / 0.7099 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.5516, allocations: 0.9514 MB / 0.7108 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.5518, allocations: 229.2 kB / 0.711 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.552, allocations: 89.45 kB / 0.7111 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.5521, allocations: 36.39 kB / 0.7111 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.5521, allocations: 0.6875 kB / 0.7111 GB, free: 125.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.01182/0.5639, allocations: 6.091 MB / 0.7171 GB, free: 123.2 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.400578684988432]