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.001269/0.001269, allocations: 102.3 kB / 19.7 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.001427/0.001427, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6839/0.6839, allocations: 94.57 MB / 407.8 MB, free: 9.215 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: 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.002394/0.002394, allocations: 81.8 kB / 0.5562 GB, free: 38.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1244, allocations: 73.06 MB / 0.6275 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.333/1.458, allocations: 0.5628 GB / 1.19 GB, free: 14.91 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05282/1.51, allocations: 48.79 MB / 1.238 GB, free: 4.887 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007457/1.518, allocations: 309.8 kB / 1.238 GB, free: 4.75 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01075/1.529, allocations: 4.124 MB / 1.242 GB, free: 2.152 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.05019/1.579, allocations: 19.13 MB / 1.261 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01907/1.598, allocations: 6.665 MB / 1.268 GB, free: 12.63 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.01421/1.612, allocations: 9.276 MB / 1.277 GB, free: 3.32 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003742/1.616, allocations: 1.373 MB / 1.278 GB, free: 1.883 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01128/1.627, allocations: 4.815 MB / 1.283 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007983/1.635, allocations: 4.023 MB / 1.287 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002705/1.638, allocations: 0.6055 MB / 1.287 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07243/1.71, allocations: 37.82 MB / 1.324 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003524/1.714, allocations: 1.955 MB / 1.326 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.007004/1.721, allocations: 3.344 MB / 1.329 GB, free: 13.19 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.0612/1.782, allocations: 23.04 MB / 1.352 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.782, allocations: 4 kB / 1.352 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/1.782, allocations: 0 / 1.352 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003763/1.782, allocations: 0 / 1.352 GB, free: 6.078 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.02759/1.81, allocations: 10.3 MB / 1.362 GB, free: 11.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/1.81, allocations: 12.03 kB / 1.362 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/1.812, allocations: 0.6909 MB / 1.363 GB, free: 10.97 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/1.823, allocations: 4.327 MB / 1.367 GB, free: 6.562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/1.823, allocations: 328.6 kB / 1.367 GB, free: 6.238 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/1.825, allocations: 451.8 kB / 1.367 GB, free: 5.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/1.841, allocations: 7.409 MB / 1.375 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001335/1.841, allocations: 7.938 kB / 1.375 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009187/1.842, allocations: 183.9 kB / 1.375 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005926/1.842, allocations: 416.8 kB / 1.375 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/1.858, allocations: 8.453 MB / 1.384 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05325/1.911, allocations: 30.95 MB / 1.414 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2959/2.207, allocations: 3.959 MB / 1.418 GB, free: 475.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005202/2.212, allocations: 3.166 MB / 1.421 GB, free: 475.9 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003192/2.215, allocations: 1.094 MB / 1.422 GB, free: 475.9 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/2.215, allocations: 85.38 kB / 1.422 GB, free: 475.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=476): time 1.114e-05/2.215, allocations: 1.828 kB / 1.422 GB, free: 475.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=480): time 0.03547/2.251, allocations: 19.41 MB / 1.441 GB, free: 468 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/2.251, allocations: 128.7 kB / 1.441 GB, free: 467.9 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/2.254, allocations: 3.243 MB / 1.444 GB, free: 466.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0006214/2.255, allocations: 101.4 kB / 1.444 GB, free: 466.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/2.256, allocations: 2.101 MB / 1.446 GB, free: 465.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/2.257, allocations: 1.679 MB / 1.448 GB, free: 464.1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/2.258, allocations: 0.7488 MB / 1.449 GB, free: 463.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 3.385e-05/2.258, allocations: 305.1 kB / 1.449 GB, free: 463.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/2.261, allocations: 2.55 MB / 1.451 GB, free: 462.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003364/2.264, allocations: 2.821 MB / 1.454 GB, free: 461.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00675/2.271, allocations: 5.793 MB / 1.46 GB, free: 458.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/2.271, allocations: 0 / 1.46 GB, free: 458.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.009849/2.281, allocations: 7.368 MB / 1.467 GB, free: 455.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/2.281, allocations: 7.75 kB / 1.467 GB, free: 455.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/2.281, allocations: 4.781 kB / 1.467 GB, free: 455.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005845/2.287, allocations: 1.743 MB / 1.469 GB, free: 455.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/2.29, allocations: 0.7033 MB / 1.469 GB, free: 455.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/2.3, allocations: 12.01 MB / 1.481 GB, free: 446.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/2.303, allocations: 108.4 kB / 1.481 GB, free: 446.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005595/2.303, allocations: 272.4 kB / 1.482 GB, free: 446.2 MB / 0.9669 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.002053/2.305, allocations: 1.27 MB / 1.483 GB, free: 445.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/2.306, allocations: 497.3 kB / 1.483 GB, free: 445.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/2.32, allocations: 11.01 MB / 1.494 GB, free: 438.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.53e-05/2.321, allocations: 48 kB / 1.494 GB, free: 438.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/2.321, allocations: 11.94 kB / 1.494 GB, free: 438.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-05/2.321, allocations: 23.91 kB / 1.494 GB, free: 438.3 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/2.34, allocations: 15.22 MB / 1.509 GB, free: 423.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/2.34, allocations: 0 / 1.509 GB, free: 423.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/2.343, allocations: 0.6827 MB / 1.51 GB, free: 422.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005843/2.349, allocations: 1.781 MB / 1.511 GB, free: 420.7 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004614/2.349, allocations: 175.5 kB / 1.512 GB, free: 420.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/2.359, allocations: 12.02 MB / 1.523 GB, free: 408.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/2.359, allocations: 10 kB / 1.523 GB, free: 408.2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/2.374, allocations: 11.78 MB / 1.535 GB, free: 396.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/2.375, allocations: 456.1 kB / 1.535 GB, free: 395.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006194/2.376, allocations: 91.59 kB / 1.535 GB, free: 395.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/2.377, allocations: 111.8 kB / 1.535 GB, free: 395.7 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005418/2.378, allocations: 382.5 kB / 1.536 GB, free: 395.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004476/2.378, allocations: 255.9 kB / 1.536 GB, free: 395.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002356/2.381, allocations: 2.314 MB / 1.538 GB, free: 392.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/2.381, allocations: 0 / 1.538 GB, free: 392.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.007718/2.388, allocations: 3.575 MB / 1.542 GB, free: 389.8 MB / 0.9669 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.007213/2.396, allocations: 4.059 MB / 1.546 GB, free: 386.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008947/2.405, allocations: 6.77 MB / 1.552 GB, free: 380.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/2.405, allocations: 11.88 kB / 1.552 GB, free: 380.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.005224/2.41, allocations: 3.902 MB / 1.556 GB, free: 376.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00593/2.416, allocations: 1.634 MB / 1.558 GB, free: 374.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/2.43, allocations: 11.74 MB / 1.569 GB, free: 363.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/2.432, allocations: 3.304 MB / 1.572 GB, free: 359.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002092/2.434, allocations: 0.5779 MB / 1.573 GB, free: 359.4 MB / 0.9669 GB Notification: Performance of SimCode: time 1.172e-06/2.434, allocations: 3.875 kB / 1.573 GB, free: 359.4 MB / 0.9669 GB Notification: Performance of Templates: time 0.2122/2.647, allocations: 310.6 MB / 1.876 GB, free: 48.71 MB / 0.9669 GB " [Timeout remaining time 657] 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/jenkins1/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: 27.3194952190388]