Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00156/0.00156, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001701/0.001701, allocations: 157.4 kB / 23.01 MB, free: 5.074 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.341/1.341, allocations: 177.2 MB / 203.4 MB, free: 9.25 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.7034/0.7034, allocations: 79.61 MB / 339.4 MB, free: 11.52 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.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_dev_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_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology") [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.002462/0.002462, allocations: 84.03 kB / 0.4924 GB, free: 26.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1111, allocations: 74.59 MB / 0.5652 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.215/1.326, allocations: 0.4937 GB / 1.059 GB, free: 388 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04256/1.369, allocations: 43.91 MB / 1.102 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004529/1.373, allocations: 309.8 kB / 1.102 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.007338/1.381, allocations: 3.459 MB / 1.105 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03928/1.42, allocations: 18.89 MB / 1.124 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01505/1.435, allocations: 6.606 MB / 1.13 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01037/1.445, allocations: 9.307 MB / 1.139 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/1.447, allocations: 1.341 MB / 1.141 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/1.458, allocations: 6.471 MB / 1.147 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005546/1.464, allocations: 3.82 MB / 1.151 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001055/1.465, allocations: 0.5997 MB / 1.151 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05329/1.518, allocations: 29.56 MB / 1.18 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003217/1.522, allocations: 1.955 MB / 1.182 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005077/1.527, allocations: 2.7 MB / 1.185 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.04978/1.576, allocations: 22.06 MB / 1.206 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.576, allocations: 0 / 1.206 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.576, allocations: 0 / 1.206 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001541/1.577, allocations: 3.938 kB / 1.206 GB, free: 1.266 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1158 * Number of variables: 1158 Notification: Performance of Generate backend data structure: time 0.02368/1.6, allocations: 10.25 MB / 1.216 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.6, allocations: 13.47 kB / 1.216 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/1.602, allocations: 0.7475 MB / 1.217 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/1.611, allocations: 4.333 MB / 1.221 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/1.611, allocations: 324.7 kB / 1.222 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008013/1.612, allocations: 456.7 kB / 1.222 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/1.624, allocations: 7.414 MB / 1.229 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.483e-05/1.624, allocations: 0 / 1.229 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004259/1.624, allocations: 181.8 kB / 1.229 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005409/1.625, allocations: 416.8 kB / 1.23 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/1.638, allocations: 8.411 MB / 1.238 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03544/1.674, allocations: 18.71 MB / 1.256 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007043/1.681, allocations: 3.963 MB / 1.26 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004873/1.686, allocations: 3.161 MB / 1.263 GB, free: 7.082 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003265/1.689, allocations: 1.071 MB / 1.264 GB, free: 6.016 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.977e-05/1.689, allocations: 82.56 kB / 1.264 GB, free: 5.926 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 1.019e-05/1.689, allocations: 4 kB / 1.264 GB, free: 5.922 MB / 0.92 GB Notification: Performance of matching and sorting (n=480): time 0.0398/1.729, allocations: 19.34 MB / 1.283 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.729, allocations: 133.1 kB / 1.283 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004315/1.733, allocations: 2.933 MB / 1.286 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005208/1.734, allocations: 104.8 kB / 1.286 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001757/1.736, allocations: 2.118 MB / 1.288 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001749/1.737, allocations: 1.682 MB / 1.29 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/1.739, allocations: 0.7395 MB / 1.291 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.739, allocations: 309.1 kB / 1.291 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004132/1.743, allocations: 2.553 MB / 1.294 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/1.748, allocations: 2.815 MB / 1.296 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.758, allocations: 5.786 MB / 1.302 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.758, allocations: 0 / 1.302 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01447/1.773, allocations: 7.325 MB / 1.309 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/1.773, allocations: 8 kB / 1.309 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/1.773, allocations: 7.938 kB / 1.309 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006983/1.78, allocations: 1.75 MB / 1.311 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/1.783, allocations: 0.7022 MB / 1.312 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.799, allocations: 11.79 MB / 1.323 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/1.802, allocations: 113.4 kB / 1.323 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00097/1.803, allocations: 267.1 kB / 1.323 GB, free: 9.086 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (404): * Single equations (assignments): 367 * 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), (2,4), (1,5), (1,5), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002969/1.806, allocations: 1.271 MB / 1.325 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.807, allocations: 465 kB / 1.325 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02013/1.827, allocations: 10.96 MB / 1.336 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/1.827, allocations: 48 kB / 1.336 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.83e-05/1.827, allocations: 19.88 kB / 1.336 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.607e-05/1.827, allocations: 27.91 kB / 1.336 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02621/1.854, allocations: 13.62 MB / 1.349 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/1.854, allocations: 4.125 kB / 1.349 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/1.856, allocations: 0.6749 MB / 1.35 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006744/1.863, allocations: 1.781 MB / 1.352 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005341/1.864, allocations: 171.1 kB / 1.352 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/1.879, allocations: 11.8 MB / 1.363 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.879, allocations: 3.984 kB / 1.363 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02069/1.9, allocations: 11.67 MB / 1.375 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.901, allocations: 412.9 kB / 1.375 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008668/1.902, allocations: 92.91 kB / 1.375 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.904, allocations: 106.9 kB / 1.375 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007455/1.904, allocations: 378.4 kB / 1.376 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006047/1.905, allocations: 255.1 kB / 1.376 GB, free: 3.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00331/1.908, allocations: 2.08 MB / 1.378 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/1.908, allocations: 0 / 1.378 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.009292/1.918, allocations: 3.488 MB / 1.381 GB, free: 13.5 MB / 1.045 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.009718/1.927, allocations: 3.975 MB / 1.385 GB, free: 9.812 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.941, allocations: 6.746 MB / 1.392 GB, free: 3.051 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.941, allocations: 8 kB / 1.392 GB, free: 3.043 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.2568/2.198, allocations: 3.873 MB / 1.396 GB, free: 0.5336 GB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007152/2.205, allocations: 1.51 MB / 1.397 GB, free: 0.5335 GB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/2.223, allocations: 11.49 MB / 1.408 GB, free: 0.5303 GB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003519/2.226, allocations: 2.816 MB / 1.411 GB, free: 0.5299 GB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.005935/2.232, allocations: 2.867 MB / 1.414 GB, free: 0.5297 GB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/2.234, allocations: 486.7 kB / 1.414 GB, free: 0.5296 GB / 1.045 GB Notification: Performance of SimCode: time 1.092e-06/2.234, allocations: 0 / 1.414 GB, free: 0.5296 GB / 1.045 GB Notification: Performance of Templates: time 0.1551/2.389, allocations: 143.6 MB / 1.555 GB, free: 421.2 MB / 1.045 GB " [Timeout remaining time 658] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 13.287143597844988]