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.001467/0.001467, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001649/0.001649, allocations: 210.6 kB / 23.01 MB, free: 4.57 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.7114/0.7114, allocations: 100.3 MB / 413.5 MB, free: 3.699 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.002415/0.002415, allocations: 98.45 kB / 0.5645 GB, free: 35.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1094, allocations: 74.46 MB / 0.6372 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.194/1.303, allocations: 0.5628 GB / 1.2 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04471/1.348, allocations: 48.82 MB / 1.248 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004213/1.352, allocations: 310.7 kB / 1.248 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009186/1.361, allocations: 4.126 MB / 1.252 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04562/1.407, allocations: 19.15 MB / 1.271 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01659/1.424, allocations: 6.652 MB / 1.277 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01275/1.436, allocations: 9.315 MB / 1.286 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/1.439, allocations: 1.374 MB / 1.288 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008455/1.447, allocations: 4.912 MB / 1.292 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006186/1.453, allocations: 4.022 MB / 1.296 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001084/1.455, allocations: 0.5977 MB / 1.297 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06416/1.519, allocations: 37.83 MB / 1.334 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002827/1.522, allocations: 1.958 MB / 1.336 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004306/1.526, allocations: 3.347 MB / 1.339 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.05152/1.577, allocations: 23.04 MB / 1.362 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.577, allocations: 0 / 1.362 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/1.577, allocations: 0 / 1.362 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.909e-05/1.577, allocations: 4 kB / 1.362 GB, free: 0.8516 MB / 0.9044 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.0216/1.599, allocations: 10.29 MB / 1.372 GB, free: 6.457 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/1.599, allocations: 8.031 kB / 1.372 GB, free: 6.449 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/1.6, allocations: 0.6832 MB / 1.372 GB, free: 5.762 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007523/1.608, allocations: 4.346 MB / 1.377 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/1.608, allocations: 320.6 kB / 1.377 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006375/1.609, allocations: 447.9 kB / 1.377 GB, free: 0.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/1.62, allocations: 7.42 MB / 1.385 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-05/1.62, allocations: 3.938 kB / 1.385 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003777/1.62, allocations: 176 kB / 1.385 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005019/1.621, allocations: 416.8 kB / 1.385 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/1.633, allocations: 8.457 MB / 1.393 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0416/1.675, allocations: 30.95 MB / 1.424 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006829/1.681, allocations: 3.97 MB / 1.427 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004752/1.686, allocations: 3.164 MB / 1.431 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003226/1.689, allocations: 1.093 MB / 1.432 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/1.689, allocations: 90.5 kB / 1.432 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=476): time 9.267e-06/1.689, allocations: 0 / 1.432 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=480): time 0.3036/1.993, allocations: 19.39 MB / 1.451 GB, free: 479.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/1.993, allocations: 127.2 kB / 1.451 GB, free: 479.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004314/1.997, allocations: 3.246 MB / 1.454 GB, free: 478.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004021/1.998, allocations: 104.4 kB / 1.454 GB, free: 478 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.999, allocations: 2.093 MB / 1.456 GB, free: 476.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/2, allocations: 1.681 MB / 1.458 GB, free: 475.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/2.001, allocations: 0.7504 MB / 1.458 GB, free: 475.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 3.747e-05/2.001, allocations: 301.7 kB / 1.459 GB, free: 474.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/2.005, allocations: 2.554 MB / 1.461 GB, free: 473.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/2.008, allocations: 2.822 MB / 1.464 GB, free: 472.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006637/2.015, allocations: 5.79 MB / 1.47 GB, free: 470 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/2.015, allocations: 3.938 kB / 1.47 GB, free: 469.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.009908/2.025, allocations: 7.375 MB / 1.477 GB, free: 466.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/2.025, allocations: 7.656 kB / 1.477 GB, free: 466.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/2.025, allocations: 0 / 1.477 GB, free: 466.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005795/2.03, allocations: 1.741 MB / 1.479 GB, free: 466.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/2.033, allocations: 0.7062 MB / 1.479 GB, free: 466.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/2.043, allocations: 12.01 MB / 1.491 GB, free: 457.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/2.045, allocations: 107.2 kB / 1.491 GB, free: 457.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000479/2.046, allocations: 265.6 kB / 1.491 GB, free: 457.6 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.002017/2.048, allocations: 1.277 MB / 1.493 GB, free: 456.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009457/2.049, allocations: 498.4 kB / 1.493 GB, free: 456.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/2.063, allocations: 11 MB / 1.504 GB, free: 452.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-05/2.063, allocations: 50.5 kB / 1.504 GB, free: 452.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/2.063, allocations: 8.594 kB / 1.504 GB, free: 452.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/2.063, allocations: 23.91 kB / 1.504 GB, free: 452.1 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/2.083, allocations: 15.22 MB / 1.519 GB, free: 442.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/2.083, allocations: 7.219 kB / 1.519 GB, free: 442.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/2.085, allocations: 0.6853 MB / 1.519 GB, free: 442.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005721/2.091, allocations: 1.775 MB / 1.521 GB, free: 440.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003539/2.091, allocations: 178.3 kB / 1.521 GB, free: 440.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/2.102, allocations: 12.02 MB / 1.533 GB, free: 427.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/2.102, allocations: 3.938 kB / 1.533 GB, free: 427.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/2.117, allocations: 11.78 MB / 1.545 GB, free: 416.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/2.118, allocations: 451.1 kB / 1.545 GB, free: 415.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008883/2.119, allocations: 99.41 kB / 1.545 GB, free: 415.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/2.121, allocations: 115.2 kB / 1.545 GB, free: 415.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005237/2.122, allocations: 387.1 kB / 1.546 GB, free: 415.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000478/2.122, allocations: 265.3 kB / 1.546 GB, free: 414.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002881/2.125, allocations: 2.307 MB / 1.548 GB, free: 412.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/2.125, allocations: 0 / 1.548 GB, free: 412.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.007774/2.133, allocations: 3.568 MB / 1.552 GB, free: 409.5 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 (400): * Single equations (assignments): 363 * 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.007091/2.14, allocations: 4.07 MB / 1.556 GB, free: 406.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008423/2.148, allocations: 6.76 MB / 1.562 GB, free: 399.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/2.148, allocations: 3.938 kB / 1.562 GB, free: 399.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004988/2.153, allocations: 3.901 MB / 1.566 GB, free: 395.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005652/2.159, allocations: 1.637 MB / 1.568 GB, free: 394.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/2.173, allocations: 11.75 MB / 1.579 GB, free: 382.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/2.175, allocations: 3.302 MB / 1.582 GB, free: 379.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/2.176, allocations: 0.5773 MB / 1.583 GB, free: 379.1 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/2.176, allocations: 0 / 1.583 GB, free: 379.1 MB / 0.9825 GB Notification: Performance of Templates: time 0.2088/2.385, allocations: 310.5 MB / 1.886 GB, free: 68.51 MB / 0.9825 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 -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: 26.470753922127187]