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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007371/0.007371, allocations: 97.41 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001976, allocations: 195.8 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7142/0.7142, allocations: 91.19 MB / 381.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 87.86 kB / 0.5164 GB, free: 9.484 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1334, allocations: 67.68 MB / 0.5825 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.209/1.343, allocations: 0.5572 GB / 1.14 GB, free: 408 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.5354/1.878, allocations: 48.25 MB / 1.187 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005537/1.884, allocations: 215.7 kB / 1.187 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01015/1.894, allocations: 3.938 MB / 1.191 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04895/1.943, allocations: 18.8 MB / 1.209 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01749/1.96, allocations: 6.416 MB / 1.215 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01329/1.974, allocations: 9.148 MB / 1.224 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004123/1.978, allocations: 2.722 MB / 1.227 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/1.989, allocations: 4.534 MB / 1.231 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007754/1.997, allocations: 3.829 MB / 1.235 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002081/1.999, allocations: 0.6049 MB / 1.236 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06472/2.063, allocations: 36.05 MB / 1.271 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003516/2.067, allocations: 1.925 MB / 1.273 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006871/2.074, allocations: 3.331 MB / 1.276 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.06189/2.136, allocations: 22.98 MB / 1.299 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.729e-06/2.136, allocations: 4 kB / 1.299 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.864e-06/2.136, allocations: 3.938 kB / 1.299 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003034/2.136, allocations: 0 / 1.299 GB, free: 15.59 MB / 0.8731 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.02747/2.164, allocations: 10.33 MB / 1.309 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/2.164, allocations: 8.031 kB / 1.309 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00169/2.166, allocations: 0.6039 MB / 1.309 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/2.167, allocations: 0.6852 MB / 1.31 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008607/2.176, allocations: 4.409 MB / 1.314 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/2.176, allocations: 334.4 kB / 1.315 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/2.178, allocations: 451.3 kB / 1.315 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/2.193, allocations: 7.329 MB / 1.322 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.718e-05/2.193, allocations: 10.56 kB / 1.322 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004156/2.193, allocations: 169.6 kB / 1.322 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005411/2.194, allocations: 420.8 kB / 1.323 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/2.208, allocations: 8.299 MB / 1.331 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04777/2.256, allocations: 30.95 MB / 1.361 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007474/2.263, allocations: 4.335 MB / 1.365 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005429/2.269, allocations: 3.531 MB / 1.369 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008386/2.277, allocations: 8.117 MB / 1.377 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.049e-05/2.277, allocations: 81.28 kB / 1.377 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=476): time 1.165e-05/2.277, allocations: 4 kB / 1.377 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=480): time 0.04166/2.319, allocations: 20.56 MB / 1.397 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/2.319, allocations: 133.1 kB / 1.397 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004555/2.323, allocations: 3.214 MB / 1.4 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0008311/2.324, allocations: 103.3 kB / 1.4 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/2.326, allocations: 2.071 MB / 1.402 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.002112/2.328, allocations: 1.682 MB / 1.404 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/2.33, allocations: 0.7463 MB / 1.405 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001175/2.33, allocations: 301.1 kB / 1.405 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00421/2.334, allocations: 2.556 MB / 1.407 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005103/2.339, allocations: 2.815 MB / 1.41 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/2.35, allocations: 5.789 MB / 1.416 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/2.35, allocations: 3.094 kB / 1.416 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01685/2.367, allocations: 7.408 MB / 1.423 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/2.367, allocations: 11.94 kB / 1.423 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/2.367, allocations: 0 / 1.423 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007033/2.374, allocations: 1.742 MB / 1.425 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003393/2.377, allocations: 0.7033 MB / 1.425 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/2.393, allocations: 12.22 MB / 1.437 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/2.397, allocations: 114 kB / 1.437 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/2.398, allocations: 261.9 kB / 1.438 GB, free: 15.42 MB / 1.014 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.003761/2.402, allocations: 1.275 MB / 1.439 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/2.404, allocations: 488.8 kB / 1.439 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02265/2.427, allocations: 11.04 MB / 1.45 GB, free: 2.797 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001837/2.427, allocations: 55.88 kB / 1.45 GB, free: 2.742 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-05/2.427, allocations: 8 kB / 1.45 GB, free: 2.734 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.904e-05/2.427, allocations: 27.91 kB / 1.45 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03437/2.462, allocations: 15.26 MB / 1.465 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/2.462, allocations: 0 / 1.465 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/2.465, allocations: 0.6817 MB / 1.466 GB, free: 2.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007055/2.472, allocations: 1.792 MB / 1.468 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009429/2.473, allocations: 180.2 kB / 1.468 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/2.489, allocations: 12.23 MB / 1.48 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.489, allocations: 2.906 kB / 1.48 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02444/2.513, allocations: 11.82 MB / 1.491 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/2.515, allocations: 0.5135 MB / 1.492 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/2.516, allocations: 88.14 kB / 1.492 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/2.519, allocations: 107.4 kB / 1.492 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/2.521, allocations: 373.5 kB / 1.492 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001108/2.522, allocations: 272 kB / 1.493 GB, free: 7.109 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004979/2.527, allocations: 2.29 MB / 1.495 GB, free: 4.812 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.11e-07/2.527, allocations: 0 / 1.495 GB, free: 4.812 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01321/2.54, allocations: 3.556 MB / 1.498 GB, free: 1.254 MB / 1.061 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.03392/2.574, allocations: 16.54 MB / 1.514 GB, free: 1.059 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01401/2.588, allocations: 7.131 MB / 1.521 GB, free: 9.953 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/2.588, allocations: 0 / 1.521 GB, free: 9.953 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.008481/2.597, allocations: 4.213 MB / 1.525 GB, free: 5.805 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008663/2.605, allocations: 1.631 MB / 1.527 GB, free: 4.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3751/2.98, allocations: 45.46 MB / 1.571 GB, free: 0.5984 GB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003317/2.984, allocations: 3.313 MB / 1.575 GB, free: 0.5973 GB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.006442/2.99, allocations: 2.889 MB / 1.578 GB, free: 0.5972 GB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003559/2.994, allocations: 2.521 MB / 1.58 GB, free: 0.5953 GB / 1.107 GB Notification: Performance of SimCode: time 7.92e-07/2.994, allocations: 1.156 kB / 1.58 GB, free: 0.5953 GB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.238/3.232, allocations: 199.6 MB / 1.775 GB, free: 445.5 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.34/28.57, allocations: 23.8 kB / 1.775 GB, free: 445.5 MB / 1.107 GB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.csv","/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) Reference file matches