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.0007765/0.0007765, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007589/0.0007589, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8286/0.8286, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 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.6103/0.6103, allocations: 116 MB / 376 MB, free: 4.199 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.586e-05, allocations: 2.281 kB / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4438/0.4438, allocations: 125.6 MB / 0.6771 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.4466, allocations: 3.412 MB / 0.6805 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.4468, allocations: 40.62 kB / 0.6805 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.4472, allocations: 190.5 kB / 0.6807 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.4478, allocations: 369.5 kB / 0.681 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.4484, allocations: 446.8 kB / 0.6815 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006492/0.449, allocations: 0.8152 MB / 0.6823 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.4492, allocations: 67.08 kB / 0.6823 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.4498, allocations: 0.5195 MB / 0.6828 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.4501, allocations: 339 kB / 0.6831 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.4501, allocations: 34.25 kB / 0.6832 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.4506, allocations: 381.8 kB / 0.6835 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.48e-05/0.4506, allocations: 122 kB / 0.6837 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.4508, allocations: 151.7 kB / 0.6838 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.4514, allocations: 0.6644 MB / 0.6845 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4514, allocations: 3.656 kB / 0.6845 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4514, allocations: 4 kB / 0.6845 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4514, allocations: 0 / 0.6845 GB, free: 6.766 MB / 0.5573 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.001061/0.4524, allocations: 0.7738 MB / 0.6852 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4525, allocations: 9.688 kB / 0.6852 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.039e-05/0.4526, allocations: 63.66 kB / 0.6853 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.4531, allocations: 432.5 kB / 0.6857 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4531, allocations: 21.02 kB / 0.6857 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.4532, allocations: 24.81 kB / 0.6857 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.4537, allocations: 448.5 kB / 0.6862 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4537, allocations: 3.156 kB / 0.6862 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.4537, allocations: 9.156 kB / 0.6862 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.4537, allocations: 20.62 kB / 0.6862 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.4543, allocations: 490.9 kB / 0.6867 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.4556, allocations: 1.185 MB / 0.6878 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.456, allocations: 221.5 kB / 0.688 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.4562, allocations: 186.9 kB / 0.6882 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.4563, allocations: 37.38 kB / 0.6883 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.4563, allocations: 36.97 kB / 0.6883 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.4563, allocations: 0 / 0.6883 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.00178/0.4581, allocations: 1.218 MB / 0.6895 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.4582, allocations: 64.97 kB / 0.6895 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.4584, allocations: 334.8 kB / 0.6899 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4584, allocations: 30.58 kB / 0.6899 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.4585, allocations: 219.5 kB / 0.6901 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.4586, allocations: 123.3 kB / 0.6902 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.4587, allocations: 62.48 kB / 0.6903 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.4587, allocations: 351.5 kB / 0.6906 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.4589, allocations: 145.4 kB / 0.6907 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.4591, allocations: 147.3 kB / 0.6909 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.4595, allocations: 346.7 kB / 0.6912 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4595, allocations: 5.344 kB / 0.6912 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000605/0.4601, allocations: 0.5048 MB / 0.6917 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4601, allocations: 5.5 kB / 0.6917 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4601, allocations: 5.469 kB / 0.6917 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.4604, allocations: 118 kB / 0.6918 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.4605, allocations: 56.02 kB / 0.6919 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.462, allocations: 2.188 MB / 0.694 GB, free: 2.871 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.4621, allocations: 8.656 kB / 0.694 GB, free: 2.871 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.4622, allocations: 14.86 kB / 0.6941 GB, free: 2.871 MB / 0.5573 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.0001337/0.4623, allocations: 176.4 kB / 0.6942 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.4623, allocations: 42.59 kB / 0.6943 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/0.463, allocations: 0.6422 MB / 0.6949 GB, free: 2.402 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.463, allocations: 2.75 kB / 0.6949 GB, free: 2.402 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.463, allocations: 6.75 kB / 0.6949 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.463, allocations: 5.953 kB / 0.6949 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.4633, allocations: 334.7 kB / 0.6952 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4633, allocations: 1.375 kB / 0.6952 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.836e-05/0.4634, allocations: 30.55 kB / 0.6953 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.4636, allocations: 123.5 kB / 0.6954 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.4636, allocations: 13.56 kB / 0.6954 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.4649, allocations: 2.184 MB / 0.6975 GB, free: 416 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4649, allocations: 1.125 kB / 0.6975 GB, free: 416 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.4655, allocations: 0.6426 MB / 0.6981 GB, free: 104 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.4655, allocations: 64.39 kB / 0.6982 GB, free: 72 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.4656, allocations: 4 kB / 0.6982 GB, free: 68 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.4656, allocations: 19.78 kB / 0.6982 GB, free: 60 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.4657, allocations: 23.09 kB / 0.6983 GB, free: 56 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4657, allocations: 10.22 kB / 0.6983 GB, free: 56 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000202/0.4659, allocations: 271.1 kB / 0.6985 GB, free: 15.92 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.1e-08/0.4659, allocations: 96 / 0.6985 GB, free: 15.92 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003499/0.4663, allocations: 128.1 kB / 0.6986 GB, free: 15.89 MB / 0.573 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.0002491/0.4665, allocations: 181.2 kB / 0.6988 GB, free: 15.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006264/0.4671, allocations: 0.4951 MB / 0.6993 GB, free: 15.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4671, allocations: 0 / 0.6993 GB, free: 15.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.4675, allocations: 359.5 kB / 0.6996 GB, free: 15.32 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.4679, allocations: 122.9 kB / 0.6998 GB, free: 15.28 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.469, allocations: 0.9142 MB / 0.7007 GB, free: 14.73 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.4691, allocations: 238 kB / 0.7009 GB, free: 14.64 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.4692, allocations: 50.92 kB / 0.7009 GB, free: 14.62 MB / 0.573 GB Notification: Performance of SimCode: time 5.42e-07/0.4692, allocations: 0 / 0.7009 GB, free: 14.62 MB / 0.573 GB Notification: Performance of Templates: time 0.007609/0.4768, allocations: 9.149 MB / 0.7099 GB, free: 10.38 MB / 0.573 GB " [Timeout remaining time 660] 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 -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/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.880714176222682]