Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.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.001514/0.001514, allocations: 80.45 kB / 19.18 MB, free: 2.52 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.001697/0.001697, allocations: 160.8 kB / 22.45 MB, free: 5.375 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.408/1.408, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7499/0.7499, allocations: 80.2 MB / 339.4 MB, free: 10.88 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology") translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.4929 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.119e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.263/1.263, allocations: 0.5142 GB / 1.007 GB, free: 40 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03358/1.296, allocations: 25.25 MB / 1.032 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005156/1.301, allocations: 323.2 kB / 1.032 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009418/1.311, allocations: 3.56 MB / 1.036 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.04957/1.36, allocations: 19.58 MB / 1.055 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0162/1.376, allocations: 6.75 MB / 1.061 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01213/1.389, allocations: 10.24 MB / 1.071 GB, free: 9.594 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002989/1.392, allocations: 1.416 MB / 1.073 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01332/1.405, allocations: 6.537 MB / 1.079 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006978/1.412, allocations: 3.553 MB / 1.082 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002067/1.414, allocations: 0.6021 MB / 1.083 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05578/1.47, allocations: 29.81 MB / 1.112 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003304/1.473, allocations: 2.089 MB / 1.114 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.006047/1.479, allocations: 2.388 MB / 1.117 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.05778/1.537, allocations: 24.5 MB / 1.14 GB, free: 4.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.537, allocations: 0 / 1.14 GB, free: 4.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/1.537, allocations: 0 / 1.14 GB, free: 4.52 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000284/1.537, allocations: 0 / 1.14 GB, free: 4.52 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.02926/1.566, allocations: 10.35 MB / 1.151 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.566, allocations: 9.469 kB / 1.151 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/1.57, allocations: 0.7786 MB / 1.151 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/1.58, allocations: 4.411 MB / 1.156 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/1.581, allocations: 328.5 kB / 1.156 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/1.582, allocations: 452.1 kB / 1.156 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/1.598, allocations: 7.495 MB / 1.164 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/1.598, allocations: 3.812 kB / 1.164 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009752/1.599, allocations: 180.1 kB / 1.164 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006394/1.599, allocations: 419.2 kB / 1.164 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/1.616, allocations: 8.441 MB / 1.173 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04663/1.662, allocations: 19.71 MB / 1.192 GB, free: 444 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008563/1.671, allocations: 3.952 MB / 1.196 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006321/1.677, allocations: 3.161 MB / 1.199 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003846/1.681, allocations: 1.074 MB / 1.2 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/1.681, allocations: 84.98 kB / 1.2 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=476): time 1.842e-05/1.681, allocations: 0 / 1.2 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=480): time 0.05022/1.731, allocations: 19.42 MB / 1.219 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.732, allocations: 129.1 kB / 1.219 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004948/1.736, allocations: 3.066 MB / 1.222 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0009664/1.737, allocations: 107.3 kB / 1.222 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.74, allocations: 2.197 MB / 1.224 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.002426/1.742, allocations: 1.671 MB / 1.226 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001827/1.744, allocations: 0.7601 MB / 1.227 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.744, allocations: 305.1 kB / 1.227 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004769/1.749, allocations: 2.557 MB / 1.229 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005776/1.755, allocations: 2.881 MB / 1.232 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/1.766, allocations: 5.869 MB / 1.238 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.766, allocations: 5.812 kB / 1.238 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01624/1.782, allocations: 7.433 MB / 1.245 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/1.782, allocations: 8 kB / 1.245 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.782, allocations: 0 / 1.245 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007435/1.79, allocations: 1.739 MB / 1.247 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/1.793, allocations: 0.7339 MB / 1.248 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/1.809, allocations: 11.76 MB / 1.259 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/1.813, allocations: 111.1 kB / 1.259 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009542/1.814, allocations: 276.7 kB / 1.259 GB, free: 10.86 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (414): * Single equations (assignments): 377 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,5), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.003128/1.817, allocations: 1.293 MB / 1.261 GB, free: 9.609 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.818, allocations: 488.9 kB / 1.261 GB, free: 9.129 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02248/1.841, allocations: 10.97 MB / 1.272 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001582/1.841, allocations: 48 kB / 1.272 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/1.841, allocations: 12 kB / 1.272 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-05/1.841, allocations: 19.92 kB / 1.272 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03056/1.871, allocations: 13.7 MB / 1.285 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/1.871, allocations: 3.984 kB / 1.285 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/1.875, allocations: 0.6694 MB / 1.286 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007493/1.882, allocations: 1.783 MB / 1.288 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/1.883, allocations: 172.4 kB / 1.288 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/1.899, allocations: 11.81 MB / 1.299 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.899, allocations: 2.156 kB / 1.299 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/1.923, allocations: 11.68 MB / 1.311 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.924, allocations: 426.7 kB / 1.311 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/1.926, allocations: 92.38 kB / 1.311 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002954/1.929, allocations: 108.6 kB / 1.311 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001951/1.931, allocations: 391.5 kB / 1.312 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001303/1.932, allocations: 248.6 kB / 1.312 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004632/1.936, allocations: 2.147 MB / 1.314 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/1.936, allocations: 0 / 1.314 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01117/1.948, allocations: 3.593 MB / 1.318 GB, free: 15.23 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (dynamicJunctionNM1.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow3.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow5.inlet.m_flow,dynamicJunctionNM.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow1.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow2.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 (390): * Single equations (assignments): 353 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,4), (2,4), (1,5), (2,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/1.958, allocations: 4.18 MB / 1.322 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.972, allocations: 6.743 MB / 1.328 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.972, allocations: 0 / 1.328 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.008092/1.98, allocations: 3.884 MB / 1.332 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01186/1.992, allocations: 2.153 MB / 1.334 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/2.02, allocations: 12.13 MB / 1.346 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2282/2.248, allocations: 2.852 MB / 1.349 GB, free: 0.5302 GB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007651/2.256, allocations: 2.905 MB / 1.352 GB, free: 0.5301 GB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/2.258, allocations: 0.4896 MB / 1.352 GB, free: 0.5301 GB / 0.9981 GB Notification: Performance of SimCode: time 1.313e-06/2.258, allocations: 0 / 1.352 GB, free: 0.5301 GB / 0.9981 GB Notification: Performance of Templates: time 0.1899/2.448, allocations: 157.4 MB / 1.506 GB, free: 436.7 MB / 0.9981 GB " [Timeout remaining time 658] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.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: 14.201884221285582]