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.001654/0.001654, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00207/0.00207, allocations: 216.3 kB / 23.03 MB, free: 4.922 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8464/0.8464, allocations: 94.62 MB / 407.8 MB, free: 8.91 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.002427/0.002427, allocations: 88.16 kB / 0.5557 GB, free: 38.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1672, allocations: 73.05 MB / 0.6271 GB, free: 192 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.606/1.773, allocations: 0.4939 GB / 1.121 GB, free: 296 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05445/1.828, allocations: 43.88 MB / 1.164 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006445/1.834, allocations: 306.4 kB / 1.164 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/1.846, allocations: 3.458 MB / 1.168 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.05189/1.898, allocations: 18.88 MB / 1.186 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01825/1.916, allocations: 6.607 MB / 1.192 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01555/1.932, allocations: 9.271 MB / 1.201 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/1.935, allocations: 1.376 MB / 1.203 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/1.947, allocations: 4.831 MB / 1.208 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008148/1.955, allocations: 4.024 MB / 1.211 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002596/1.958, allocations: 0.601 MB / 1.212 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06439/2.022, allocations: 30.34 MB / 1.242 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.005919/2.028, allocations: 1.95 MB / 1.244 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007916/2.036, allocations: 2.697 MB / 1.246 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.063/2.099, allocations: 22.07 MB / 1.268 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/2.099, allocations: 0 / 1.268 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/2.099, allocations: 0 / 1.268 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002941/2.099, allocations: 0 / 1.268 GB, free: 10.2 MB / 0.8575 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.02803/2.127, allocations: 10.25 MB / 1.278 GB, free: 8 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/2.127, allocations: 12.08 kB / 1.278 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001267/2.127, allocations: 112.7 kB / 1.278 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00111/2.129, allocations: 0.5998 MB / 1.278 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/2.131, allocations: 0.7552 MB / 1.279 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009886/2.141, allocations: 4.313 MB / 1.283 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/2.141, allocations: 329.8 kB / 1.284 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/2.143, allocations: 457.5 kB / 1.284 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/2.158, allocations: 7.415 MB / 1.291 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.397e-05/2.158, allocations: 0 / 1.291 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004503/2.158, allocations: 180.7 kB / 1.292 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005481/2.159, allocations: 412.8 kB / 1.292 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/2.174, allocations: 8.461 MB / 1.3 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04352/2.217, allocations: 19.34 MB / 1.319 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008532/2.226, allocations: 3.944 MB / 1.323 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006203/2.232, allocations: 3.161 MB / 1.326 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003887/2.236, allocations: 1.07 MB / 1.327 GB, free: 13.55 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.861e-05/2.236, allocations: 82.5 kB / 1.327 GB, free: 13.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 1.391e-05/2.236, allocations: 4 kB / 1.327 GB, free: 13.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=480): time 0.04436/2.28, allocations: 19.39 MB / 1.346 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/2.28, allocations: 129.1 kB / 1.346 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/2.286, allocations: 3.248 MB / 1.349 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.001255/2.287, allocations: 102.2 kB / 1.35 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/2.289, allocations: 2.098 MB / 1.352 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.003117/2.292, allocations: 1.681 MB / 1.353 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00203/2.294, allocations: 0.7417 MB / 1.354 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001206/2.294, allocations: 305.1 kB / 1.354 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/2.299, allocations: 2.556 MB / 1.357 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005736/2.305, allocations: 2.811 MB / 1.359 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/2.316, allocations: 5.789 MB / 1.365 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/2.316, allocations: 0 / 1.365 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01598/2.332, allocations: 7.356 MB / 1.372 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/2.332, allocations: 8 kB / 1.372 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/2.332, allocations: 4 kB / 1.372 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007221/2.339, allocations: 1.738 MB / 1.374 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/2.343, allocations: 0.71 MB / 1.375 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/2.359, allocations: 11.86 MB / 1.386 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/2.362, allocations: 112.8 kB / 1.386 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/2.364, allocations: 259 kB / 1.387 GB, free: 140 kB / 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.003399/2.367, allocations: 1.275 MB / 1.388 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/2.369, allocations: 0.489 MB / 1.388 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02359/2.392, allocations: 10.96 MB / 1.399 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002651/2.393, allocations: 48 kB / 1.399 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.714e-05/2.393, allocations: 12 kB / 1.399 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001338/2.393, allocations: 27.91 kB / 1.399 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03465/2.427, allocations: 14.16 MB / 1.413 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/2.428, allocations: 4.125 kB / 1.413 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003392/2.431, allocations: 0.671 MB / 1.414 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007273/2.438, allocations: 1.785 MB / 1.415 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/2.439, allocations: 170.5 kB / 1.416 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/2.455, allocations: 11.88 MB / 1.427 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.455, allocations: 0 / 1.427 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0231/2.478, allocations: 11.7 MB / 1.439 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/2.48, allocations: 452.6 kB / 1.439 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/2.481, allocations: 97.84 kB / 1.439 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/2.484, allocations: 104.6 kB / 1.439 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/2.485, allocations: 377.6 kB / 1.44 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007288/2.486, allocations: 258.7 kB / 1.44 GB, free: 9.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003959/2.49, allocations: 2.311 MB / 1.442 GB, free: 7.051 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/2.49, allocations: 3.938 kB / 1.442 GB, free: 7.047 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01351/2.504, allocations: 3.495 MB / 1.445 GB, free: 3.551 MB / 1.029 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 (390): * Single equations (assignments): 353 * 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.3998/2.903, allocations: 16.32 MB / 1.461 GB, free: 0.526 GB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01409/2.917, allocations: 6.757 MB / 1.468 GB, free: 0.5234 GB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/2.917, allocations: 3.812 kB / 1.468 GB, free: 0.5234 GB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.007117/2.925, allocations: 3.88 MB / 1.472 GB, free: 0.5219 GB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008854/2.933, allocations: 1.636 MB / 1.473 GB, free: 0.5214 GB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08006/3.013, allocations: 45.44 MB / 1.518 GB, free: 0.4944 GB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/3.016, allocations: 2.815 MB / 1.521 GB, free: 0.4918 GB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00606/3.022, allocations: 2.884 MB / 1.523 GB, free: 0.4892 GB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004093/3.027, allocations: 2.502 MB / 1.526 GB, free: 498.4 MB / 1.029 GB Notification: Performance of SimCode: time 1.794e-06/3.027, allocations: 0 / 1.526 GB, free: 498.4 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2548/3.281, allocations: 205.5 MB / 1.726 GB, free: 293.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.38/31.66, allocations: 7.859 kB / 1.726 GB, free: 293.9 MB / 1.029 GB " [Timeout remaining time 628] (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: 37.68126243597362]