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.001835/0.001835, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001409/0.001409, allocations: 215 kB / 20.13 MB, free: 2.949 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.6164/0.6164, allocations: 94.57 MB / 404.1 MB, free: 10.93 MB / 334.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.002514/0.002514, allocations: 79.88 kB / 0.5506 GB, free: 5.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4795, allocations: 73.03 MB / 0.6219 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.72/2.199, allocations: 0.5598 GB / 1.182 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.06114/2.26, allocations: 48.5 MB / 1.229 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006597/2.267, allocations: 309.3 kB / 1.229 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01159/2.279, allocations: 4.127 MB / 1.233 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.05879/2.337, allocations: 19.02 MB / 1.252 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02053/2.358, allocations: 6.451 MB / 1.258 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01669/2.375, allocations: 9.266 MB / 1.267 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003912/2.379, allocations: 1.802 MB / 1.269 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01163/2.39, allocations: 4.797 MB / 1.274 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008879/2.399, allocations: 4.016 MB / 1.278 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00259/2.402, allocations: 0.601 MB / 1.278 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07822/2.48, allocations: 37.5 MB / 1.315 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004048/2.484, allocations: 1.955 MB / 1.317 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007783/2.492, allocations: 3.348 MB / 1.32 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.07551/2.567, allocations: 23.03 MB / 1.343 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/2.567, allocations: 0 / 1.343 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.184e-06/2.567, allocations: 0 / 1.343 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003663/2.568, allocations: 7.938 kB / 1.343 GB, free: 9.496 MB / 0.8887 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.03334/2.601, allocations: 10.37 MB / 1.353 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/2.601, allocations: 8.031 kB / 1.353 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001629/2.601, allocations: 118.6 kB / 1.353 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00172/2.603, allocations: 0.597 MB / 1.353 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/2.605, allocations: 0.6832 MB / 1.354 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/2.616, allocations: 4.472 MB / 1.358 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/2.616, allocations: 323.7 kB / 1.359 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/2.618, allocations: 451.5 kB / 1.359 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/2.635, allocations: 7.326 MB / 1.366 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-05/2.635, allocations: 0 / 1.366 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006274/2.636, allocations: 182.2 kB / 1.366 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006062/2.636, allocations: 416.8 kB / 1.367 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/2.653, allocations: 8.304 MB / 1.375 GB, free: 8.336 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05368/2.707, allocations: 30.95 MB / 1.405 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/2.715, allocations: 3.976 MB / 1.409 GB, free: 3 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005586/2.721, allocations: 3.168 MB / 1.412 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007747/2.729, allocations: 8.114 MB / 1.42 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/2.729, allocations: 86.55 kB / 1.42 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=476): time 1.507e-05/2.729, allocations: 0 / 1.42 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=480): time 0.05127/2.78, allocations: 20.53 MB / 1.44 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/2.78, allocations: 133 kB / 1.44 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005627/2.786, allocations: 3.244 MB / 1.444 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001334/2.787, allocations: 101.5 kB / 1.444 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002002/2.789, allocations: 2.093 MB / 1.446 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002812/2.792, allocations: 1.683 MB / 1.447 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002046/2.794, allocations: 0.7428 MB / 1.448 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001785/2.794, allocations: 309.1 kB / 1.448 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004816/2.799, allocations: 2.553 MB / 1.451 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00551/2.804, allocations: 2.815 MB / 1.454 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/2.815, allocations: 5.79 MB / 1.459 GB, free: 13.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/2.815, allocations: 4 kB / 1.459 GB, free: 13.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01613/2.831, allocations: 7.376 MB / 1.466 GB, free: 6.184 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/2.832, allocations: 4 kB / 1.466 GB, free: 6.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/2.832, allocations: 0 / 1.466 GB, free: 6.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00731/2.839, allocations: 1.746 MB / 1.468 GB, free: 4.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/2.843, allocations: 0.71 MB / 1.469 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/2.859, allocations: 12.21 MB / 1.481 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/2.863, allocations: 108.6 kB / 1.481 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/2.864, allocations: 265.6 kB / 1.481 GB, free: 6.734 MB / 1.029 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.003742/2.868, allocations: 1.273 MB / 1.482 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/2.87, allocations: 0.4889 MB / 1.483 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02433/2.894, allocations: 11.01 MB / 1.494 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002224/2.894, allocations: 48 kB / 1.494 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.627e-05/2.895, allocations: 12 kB / 1.494 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001323/2.895, allocations: 23.91 kB / 1.494 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/2.928, allocations: 15.23 MB / 1.509 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/2.928, allocations: 4 kB / 1.509 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003096/2.931, allocations: 0.6827 MB / 1.509 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007469/2.939, allocations: 1.785 MB / 1.511 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001078/2.94, allocations: 181.6 kB / 1.511 GB, free: 8.047 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/2.956, allocations: 12.23 MB / 1.523 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.956, allocations: 0 / 1.523 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02394/2.98, allocations: 11.79 MB / 1.535 GB, free: 15.59 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/2.982, allocations: 0.5135 MB / 1.535 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/2.983, allocations: 94.62 kB / 1.535 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/2.986, allocations: 113.9 kB / 1.535 GB, free: 14.86 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009861/2.987, allocations: 362.8 kB / 1.536 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007004/2.987, allocations: 258.7 kB / 1.536 GB, free: 14.25 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003957/2.991, allocations: 2.315 MB / 1.538 GB, free: 11.93 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/2.991, allocations: 4 kB / 1.538 GB, free: 11.93 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.013/3.004, allocations: 3.57 MB / 1.542 GB, free: 8.359 MB / 1.092 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.4244/3.429, allocations: 16.49 MB / 1.558 GB, free: 0.5864 GB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0131/3.442, allocations: 6.763 MB / 1.564 GB, free: 0.5841 GB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/3.442, allocations: 10.31 kB / 1.564 GB, free: 0.5841 GB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00739/3.449, allocations: 3.902 MB / 1.568 GB, free: 0.5826 GB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008597/3.458, allocations: 1.629 MB / 1.57 GB, free: 0.582 GB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08111/3.539, allocations: 45.52 MB / 1.614 GB, free: 0.5621 GB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002695/3.542, allocations: 3.325 MB / 1.617 GB, free: 0.5589 GB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00625/3.548, allocations: 2.902 MB / 1.62 GB, free: 0.5563 GB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004072/3.552, allocations: 2.542 MB / 1.623 GB, free: 0.5538 GB / 1.092 GB Notification: Performance of SimCode: time 1.493e-06/3.552, allocations: 0 / 1.623 GB, free: 0.5538 GB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2621/3.814, allocations: 201.2 MB / 1.819 GB, free: 366.6 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.06/32.87, allocations: 4.062 kB / 1.819 GB, free: 366.6 MB / 1.092 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.609419133048505]