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.001548/0.001548, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001893/0.001893, allocations: 215.1 kB / 23.04 MB, free: 5.07 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.7645/0.7645, allocations: 94.56 MB / 407.8 MB, free: 9.223 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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="cs",version="2.0",platforms={"static"}) [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.002452/0.002452, allocations: 85.28 kB / 0.5557 GB, free: 38.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1327, allocations: 73.06 MB / 0.6271 GB, free: 492 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.469/1.601, allocations: 0.5628 GB / 1.19 GB, free: 14.86 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05362/1.655, allocations: 48.79 MB / 1.238 GB, free: 4.91 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005502/1.66, allocations: 308.7 kB / 1.238 GB, free: 4.773 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01013/1.67, allocations: 4.13 MB / 1.242 GB, free: 2.172 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.05327/1.724, allocations: 19.13 MB / 1.261 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02088/1.745, allocations: 6.665 MB / 1.267 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0152/1.76, allocations: 9.28 MB / 1.276 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004477/1.764, allocations: 1.376 MB / 1.277 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/1.776, allocations: 4.811 MB / 1.282 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007767/1.784, allocations: 4.027 MB / 1.286 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002596/1.786, allocations: 0.5977 MB / 1.287 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07263/1.859, allocations: 37.83 MB / 1.324 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00332/1.862, allocations: 1.947 MB / 1.326 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0068/1.869, allocations: 3.347 MB / 1.329 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.06686/1.936, allocations: 23.05 MB / 1.351 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/1.936, allocations: 0 / 1.351 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.334e-06/1.936, allocations: 0 / 1.351 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003547/1.936, allocations: 0 / 1.351 GB, free: 6.219 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.03045/1.967, allocations: 10.29 MB / 1.361 GB, free: 11.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.967, allocations: 12.03 kB / 1.361 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001315/1.967, allocations: 112.7 kB / 1.361 GB, free: 11.7 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001767/1.969, allocations: 0.6051 MB / 1.362 GB, free: 11.08 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/1.971, allocations: 0.6871 MB / 1.363 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/1.982, allocations: 4.327 MB / 1.367 GB, free: 5.98 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/1.982, allocations: 328.6 kB / 1.367 GB, free: 5.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/1.984, allocations: 451.8 kB / 1.368 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/2.001, allocations: 7.417 MB / 1.375 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/2.001, allocations: 4 kB / 1.375 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008232/2.002, allocations: 179.9 kB / 1.375 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006281/2.003, allocations: 416.8 kB / 1.376 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/2.018, allocations: 8.454 MB / 1.384 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05517/2.074, allocations: 30.96 MB / 1.414 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.348/2.422, allocations: 3.954 MB / 1.418 GB, free: 477.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006621/2.428, allocations: 3.171 MB / 1.421 GB, free: 477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00386/2.432, allocations: 1.098 MB / 1.422 GB, free: 476.9 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.484e-05/2.432, allocations: 84.28 kB / 1.422 GB, free: 476.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=476): time 1.443e-05/2.432, allocations: 3.609 kB / 1.422 GB, free: 476.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=480): time 0.04607/2.478, allocations: 19.4 MB / 1.441 GB, free: 468.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/2.478, allocations: 136.7 kB / 1.441 GB, free: 468.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004565/2.483, allocations: 3.248 MB / 1.444 GB, free: 467.6 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.001086/2.484, allocations: 100.8 kB / 1.444 GB, free: 467.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/2.485, allocations: 2.097 MB / 1.447 GB, free: 466 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.002049/2.487, allocations: 1.683 MB / 1.448 GB, free: 464.9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/2.489, allocations: 0.7477 MB / 1.449 GB, free: 464.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/2.489, allocations: 305.1 kB / 1.449 GB, free: 464.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/2.493, allocations: 2.554 MB / 1.452 GB, free: 463.3 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004884/2.498, allocations: 2.812 MB / 1.454 GB, free: 462.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009308/2.507, allocations: 5.789 MB / 1.46 GB, free: 459.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/2.507, allocations: 0 / 1.46 GB, free: 459.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01443/2.522, allocations: 7.364 MB / 1.467 GB, free: 456.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/2.522, allocations: 7.625 kB / 1.467 GB, free: 456.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/2.522, allocations: 7.906 kB / 1.467 GB, free: 456.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006544/2.528, allocations: 1.75 MB / 1.469 GB, free: 455.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/2.532, allocations: 0.7136 MB / 1.47 GB, free: 455.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/2.546, allocations: 12 MB / 1.481 GB, free: 447.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/2.549, allocations: 108.9 kB / 1.482 GB, free: 447 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/2.551, allocations: 266.8 kB / 1.482 GB, free: 447 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.003788/2.554, allocations: 1.272 MB / 1.483 GB, free: 446.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002196/2.557, allocations: 496.7 kB / 1.483 GB, free: 445.9 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02321/2.58, allocations: 11 MB / 1.494 GB, free: 437.9 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002153/2.58, allocations: 49.17 kB / 1.494 GB, free: 437.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-05/2.58, allocations: 15.94 kB / 1.494 GB, free: 437.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001511/2.58, allocations: 23.91 kB / 1.494 GB, free: 437.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03238/2.613, allocations: 15.22 MB / 1.509 GB, free: 422.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.744e-05/2.613, allocations: 0 / 1.509 GB, free: 422.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003038/2.616, allocations: 0.6941 MB / 1.51 GB, free: 421.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006842/2.623, allocations: 1.771 MB / 1.512 GB, free: 420.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001279/2.624, allocations: 179 kB / 1.512 GB, free: 420 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/2.637, allocations: 12.03 MB / 1.523 GB, free: 407.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/2.637, allocations: 6.078 kB / 1.524 GB, free: 407.6 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02352/2.661, allocations: 11.77 MB / 1.535 GB, free: 395.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/2.663, allocations: 459.9 kB / 1.535 GB, free: 395.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/2.664, allocations: 94.28 kB / 1.536 GB, free: 395.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003456/2.668, allocations: 111.1 kB / 1.536 GB, free: 395.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/2.669, allocations: 379.3 kB / 1.536 GB, free: 394.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001238/2.671, allocations: 258.3 kB / 1.536 GB, free: 394.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003896/2.674, allocations: 2.311 MB / 1.538 GB, free: 392.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3e-07/2.674, allocations: 11.19 kB / 1.539 GB, free: 392.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01204/2.686, allocations: 3.571 MB / 1.542 GB, free: 389.2 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.03505/2.722, allocations: 16.49 MB / 1.558 GB, free: 373.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0128/2.734, allocations: 6.769 MB / 1.565 GB, free: 367.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/2.734, allocations: 0 / 1.565 GB, free: 367.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.007901/2.742, allocations: 3.915 MB / 1.569 GB, free: 363.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009151/2.751, allocations: 1.631 MB / 1.57 GB, free: 361.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08383/2.835, allocations: 45.58 MB / 1.615 GB, free: 316.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003026/2.838, allocations: 3.327 MB / 1.618 GB, free: 312.9 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.006552/2.845, allocations: 2.899 MB / 1.621 GB, free: 310.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004499/2.849, allocations: 2.538 MB / 1.623 GB, free: 307.6 MB / 0.9669 GB Notification: Performance of SimCode: time 1.643e-06/2.849, allocations: 0 / 1.623 GB, free: 307.6 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2699/3.119, allocations: 205 MB / 1.823 GB, free: 103 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.65/30.77, allocations: 15.22 kB / 1.823 GB, free: 103 MB / 0.9669 GB " [Timeout remaining time 629] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1260.0] 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: 36.494324754108675]