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.001927/0.001927, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.0027/0.0027, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 8.008 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.797/0.797, allocations: 94.56 MB / 407 MB, free: 9.184 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",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.002481/0.002481, allocations: 100.6 kB / 0.555 GB, free: 38.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.127, allocations: 73.05 MB / 0.6263 GB, free: 468 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.591/1.718, allocations: 0.5628 GB / 1.189 GB, free: 14.91 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0562/1.774, allocations: 48.8 MB / 1.237 GB, free: 4.945 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006515/1.781, allocations: 309.8 kB / 1.237 GB, free: 4.809 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01214/1.793, allocations: 4.122 MB / 1.241 GB, free: 2.211 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.06184/1.855, allocations: 19.14 MB / 1.26 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02393/1.879, allocations: 6.656 MB / 1.266 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01851/1.897, allocations: 9.28 MB / 1.275 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003487/1.901, allocations: 1.373 MB / 1.277 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01249/1.913, allocations: 4.819 MB / 1.281 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008316/1.922, allocations: 4.019 MB / 1.285 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002158/1.924, allocations: 0.6054 MB / 1.286 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07805/2.002, allocations: 37.82 MB / 1.323 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00429/2.006, allocations: 1.951 MB / 1.325 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.007321/2.014, allocations: 3.34 MB / 1.328 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.08697/2.1, allocations: 23.04 MB / 1.351 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/2.1, allocations: 0 / 1.351 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.677e-06/2.1, allocations: 4 kB / 1.351 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0005162/2.101, allocations: 0 / 1.351 GB, free: 6.184 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.037/2.138, allocations: 10.3 MB / 1.361 GB, free: 11.79 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/2.138, allocations: 8.031 kB / 1.361 GB, free: 11.78 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001524/2.14, allocations: 0.6051 MB / 1.361 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/2.141, allocations: 0.6949 MB / 1.362 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/2.152, allocations: 4.32 MB / 1.366 GB, free: 6.059 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/2.152, allocations: 332.6 kB / 1.366 GB, free: 5.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/2.153, allocations: 443.8 kB / 1.367 GB, free: 5.297 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/2.169, allocations: 7.413 MB / 1.374 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.781e-05/2.169, allocations: 8 kB / 1.374 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/2.17, allocations: 183.9 kB / 1.374 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006269/2.17, allocations: 408.8 kB / 1.375 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/2.186, allocations: 8.457 MB / 1.383 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05583/2.241, allocations: 30.95 MB / 1.413 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3772/2.619, allocations: 3.962 MB / 1.417 GB, free: 476.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006224/2.625, allocations: 3.168 MB / 1.42 GB, free: 476.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003543/2.628, allocations: 1.095 MB / 1.421 GB, free: 476.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/2.628, allocations: 84.38 kB / 1.421 GB, free: 476.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=476): time 1.227e-05/2.628, allocations: 2.781 kB / 1.421 GB, free: 476.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=480): time 0.03935/2.668, allocations: 19.41 MB / 1.44 GB, free: 468.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/2.668, allocations: 128.7 kB / 1.44 GB, free: 468.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003742/2.672, allocations: 3.246 MB / 1.443 GB, free: 467.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0008428/2.672, allocations: 101 kB / 1.444 GB, free: 467.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/2.674, allocations: 2.091 MB / 1.446 GB, free: 465.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/2.675, allocations: 1.685 MB / 1.447 GB, free: 464.6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/2.676, allocations: 0.7446 MB / 1.448 GB, free: 464.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/2.676, allocations: 309 kB / 1.448 GB, free: 464 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003233/2.68, allocations: 2.55 MB / 1.451 GB, free: 463 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/2.683, allocations: 2.812 MB / 1.454 GB, free: 461.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/2.691, allocations: 5.795 MB / 1.459 GB, free: 459.1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/2.691, allocations: 0 / 1.459 GB, free: 459.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01151/2.702, allocations: 7.367 MB / 1.466 GB, free: 456 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/2.702, allocations: 7.906 kB / 1.466 GB, free: 456 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/2.702, allocations: 5.719 kB / 1.466 GB, free: 456 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006156/2.708, allocations: 1.748 MB / 1.468 GB, free: 455.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/2.711, allocations: 0.709 MB / 1.469 GB, free: 455.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/2.723, allocations: 12 MB / 1.481 GB, free: 446.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/2.727, allocations: 108.7 kB / 1.481 GB, free: 446.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009059/2.728, allocations: 271.2 kB / 1.481 GB, free: 446.5 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.002874/2.73, allocations: 1.275 MB / 1.482 GB, free: 445.7 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/2.732, allocations: 496.6 kB / 1.483 GB, free: 445.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/2.748, allocations: 10.99 MB / 1.493 GB, free: 437.9 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/2.749, allocations: 55.94 kB / 1.493 GB, free: 437.9 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/2.749, allocations: 15.88 kB / 1.493 GB, free: 437.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-05/2.749, allocations: 23.91 kB / 1.493 GB, free: 437.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02406/2.773, allocations: 15.21 MB / 1.508 GB, free: 422.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/2.773, allocations: 3.938 kB / 1.508 GB, free: 422.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/2.775, allocations: 0.6866 MB / 1.509 GB, free: 421.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006131/2.781, allocations: 1.78 MB / 1.511 GB, free: 420.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006263/2.782, allocations: 178.8 kB / 1.511 GB, free: 420 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/2.793, allocations: 12.03 MB / 1.523 GB, free: 407.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/2.793, allocations: 4 kB / 1.523 GB, free: 407.6 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01882/2.812, allocations: 11.78 MB / 1.534 GB, free: 395.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/2.814, allocations: 457.6 kB / 1.535 GB, free: 395.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/2.815, allocations: 91.91 kB / 1.535 GB, free: 395.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/2.817, allocations: 115.4 kB / 1.535 GB, free: 395.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007568/2.818, allocations: 375.3 kB / 1.535 GB, free: 394.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005168/2.818, allocations: 270.8 kB / 1.535 GB, free: 394.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002655/2.821, allocations: 2.307 MB / 1.538 GB, free: 392.2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/2.821, allocations: 0 / 1.538 GB, free: 392.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01023/2.831, allocations: 3.575 MB / 1.541 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.02544/2.857, allocations: 16.5 MB / 1.557 GB, free: 373.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01089/2.868, allocations: 6.773 MB / 1.564 GB, free: 367.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.868, allocations: 0 / 1.564 GB, free: 367.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.006553/2.874, allocations: 3.906 MB / 1.568 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.00773/2.882, allocations: 1.636 MB / 1.569 GB, free: 361.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07216/2.954, allocations: 45.57 MB / 1.614 GB, free: 316.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/2.956, allocations: 3.329 MB / 1.617 GB, free: 312.9 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00557/2.962, allocations: 2.894 MB / 1.62 GB, free: 310.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003443/2.965, allocations: 2.538 MB / 1.622 GB, free: 307.7 MB / 0.9669 GB Notification: Performance of SimCode: time 1.152e-06/2.965, allocations: 0 / 1.622 GB, free: 307.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2882/3.254, allocations: 205 MB / 1.823 GB, free: 103 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.89/33.14, allocations: 11.73 kB / 1.823 GB, free: 103 MB / 0.9669 GB " [Timeout remaining time 627] (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: 38.22274463996291]