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.001565/0.001565, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001838/0.001838, allocations: 216.8 kB / 22.25 MB, free: 4.855 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.7505/0.7505, allocations: 100.9 MB / 413.3 MB, free: 2.84 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.00251/0.00251, allocations: 93.05 kB / 0.5646 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1286, allocations: 74.61 MB / 0.6374 GB, free: 5.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.294/1.423, allocations: 0.4944 GB / 1.132 GB, free: 196 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04615/1.469, allocations: 43.97 MB / 1.175 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004279/1.473, allocations: 307.7 kB / 1.175 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008418/1.481, allocations: 3.459 MB / 1.178 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04405/1.526, allocations: 18.88 MB / 1.197 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01568/1.541, allocations: 6.606 MB / 1.203 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01032/1.552, allocations: 9.304 MB / 1.212 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/1.554, allocations: 1.345 MB / 1.214 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008615/1.562, allocations: 4.859 MB / 1.219 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006474/1.569, allocations: 3.832 MB / 1.222 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001385/1.57, allocations: 0.6016 MB / 1.223 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05667/1.627, allocations: 29.55 MB / 1.252 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002944/1.63, allocations: 1.957 MB / 1.254 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004608/1.634, allocations: 2.694 MB / 1.256 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.05185/1.686, allocations: 22.07 MB / 1.278 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.686, allocations: 4 kB / 1.278 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.804e-06/1.686, allocations: 0 / 1.278 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001953/1.686, allocations: 0 / 1.278 GB, free: 0.9844 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.02346/1.71, allocations: 10.25 MB / 1.288 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/1.71, allocations: 9.469 kB / 1.288 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/1.712, allocations: 0.7553 MB / 1.289 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008614/1.721, allocations: 4.329 MB / 1.293 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/1.721, allocations: 327.3 kB / 1.293 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007359/1.722, allocations: 445.3 kB / 1.294 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/1.736, allocations: 7.42 MB / 1.301 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-05/1.736, allocations: 0 / 1.301 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003957/1.737, allocations: 177.1 kB / 1.301 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005506/1.737, allocations: 416.8 kB / 1.301 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/1.75, allocations: 8.418 MB / 1.31 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/1.788, allocations: 18.68 MB / 1.328 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007284/1.795, allocations: 3.958 MB / 1.332 GB, free: 10 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005257/1.801, allocations: 3.157 MB / 1.335 GB, free: 6.836 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003432/1.804, allocations: 1.081 MB / 1.336 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.593e-05/1.804, allocations: 83.38 kB / 1.336 GB, free: 5.664 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 1.296e-05/1.804, allocations: 0 / 1.336 GB, free: 5.664 MB / 0.92 GB Notification: Performance of matching and sorting (n=480): time 0.04625/1.85, allocations: 19.35 MB / 1.355 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.85, allocations: 129.1 kB / 1.355 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/1.855, allocations: 2.933 MB / 1.358 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.00078/1.856, allocations: 106.9 kB / 1.358 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001924/1.858, allocations: 2.112 MB / 1.36 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002045/1.86, allocations: 1.683 MB / 1.362 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002136/1.862, allocations: 0.7426 MB / 1.362 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.862, allocations: 309 kB / 1.363 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004562/1.867, allocations: 2.553 MB / 1.365 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00504/1.872, allocations: 2.807 MB / 1.368 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.882, allocations: 5.789 MB / 1.373 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/1.882, allocations: 4 kB / 1.373 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01525/1.897, allocations: 7.325 MB / 1.381 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/1.897, allocations: 7.984 kB / 1.381 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.897, allocations: 0 / 1.381 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007021/1.904, allocations: 1.742 MB / 1.382 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/1.908, allocations: 0.71 MB / 1.383 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/1.924, allocations: 11.79 MB / 1.395 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/1.926, allocations: 109.6 kB / 1.395 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.928, allocations: 260.9 kB / 1.395 GB, free: 8.832 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.003592/1.931, allocations: 1.28 MB / 1.396 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.933, allocations: 468.9 kB / 1.397 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/1.954, allocations: 10.96 MB / 1.407 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001348/1.955, allocations: 48 kB / 1.407 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-05/1.955, allocations: 12 kB / 1.407 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.589e-05/1.955, allocations: 27.84 kB / 1.407 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02948/1.984, allocations: 13.63 MB / 1.421 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/1.984, allocations: 0 / 1.421 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/1.987, allocations: 0.6671 MB / 1.421 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007105/1.994, allocations: 1.781 MB / 1.423 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008539/1.995, allocations: 183.6 kB / 1.423 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2993/2.294, allocations: 11.79 MB / 1.435 GB, free: 0.5035 GB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/2.294, allocations: 6.406 kB / 1.435 GB, free: 0.5035 GB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/2.313, allocations: 11.67 MB / 1.446 GB, free: 0.5013 GB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/2.314, allocations: 409.3 kB / 1.447 GB, free: 0.5013 GB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008169/2.315, allocations: 93.19 kB / 1.447 GB, free: 0.5013 GB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/2.317, allocations: 111.7 kB / 1.447 GB, free: 0.5012 GB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007856/2.318, allocations: 374 kB / 1.447 GB, free: 0.5012 GB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006568/2.318, allocations: 254.5 kB / 1.447 GB, free: 0.5011 GB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003022/2.321, allocations: 2.076 MB / 1.449 GB, free: 0.5004 GB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/2.321, allocations: 0.5312 kB / 1.449 GB, free: 0.5004 GB / 1.014 GB Notification: Performance of remove unused functions: time 0.008867/2.33, allocations: 3.492 MB / 1.453 GB, free: 0.4999 GB / 1.014 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.008125/2.338, allocations: 3.972 MB / 1.457 GB, free: 0.4996 GB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009482/2.348, allocations: 6.753 MB / 1.463 GB, free: 0.4971 GB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/2.348, allocations: 0 / 1.463 GB, free: 0.4971 GB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0056/2.353, allocations: 3.884 MB / 1.467 GB, free: 0.4955 GB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005678/2.359, allocations: 1.512 MB / 1.469 GB, free: 0.4951 GB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/2.374, allocations: 11.51 MB / 1.48 GB, free: 0.4901 GB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/2.377, allocations: 2.816 MB / 1.483 GB, free: 0.4895 GB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004966/2.382, allocations: 2.859 MB / 1.485 GB, free: 499.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/2.383, allocations: 488.4 kB / 1.486 GB, free: 499.4 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/2.383, allocations: 3.938 kB / 1.486 GB, free: 499.4 MB / 1.014 GB Notification: Performance of Templates: time 0.1584/2.541, allocations: 152 MB / 1.634 GB, free: 350.6 MB / 1.014 GB " [Timeout remaining time 657] 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 -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/jenkins/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.546352406963706]