Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00156/0.00156, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001741/0.001741, allocations: 216.5 kB / 23.03 MB, free: 4.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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.762/0.762, allocations: 100.3 MB / 413.6 MB, free: 3.434 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_dev_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.002382/0.002382, allocations: 81.42 kB / 0.564 GB, free: 35.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1413, allocations: 74.46 MB / 0.6367 GB, free: 7.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.408/1.55, allocations: 0.4939 GB / 1.131 GB, free: 236 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04607/1.596, allocations: 43.89 MB / 1.174 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004554/1.6, allocations: 312.5 kB / 1.174 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008178/1.608, allocations: 3.459 MB / 1.177 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04645/1.655, allocations: 18.9 MB / 1.196 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01543/1.67, allocations: 6.607 MB / 1.202 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01198/1.682, allocations: 9.317 MB / 1.211 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/1.685, allocations: 1.37 MB / 1.213 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009722/1.695, allocations: 4.913 MB / 1.217 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007128/1.702, allocations: 4.022 MB / 1.221 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002031/1.704, allocations: 0.6008 MB / 1.222 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05948/1.763, allocations: 30.34 MB / 1.252 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003462/1.767, allocations: 1.952 MB / 1.253 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005786/1.772, allocations: 2.694 MB / 1.256 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0578/1.83, allocations: 22.07 MB / 1.278 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.83, allocations: 0 / 1.278 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/1.83, allocations: 0 / 1.278 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003052/1.831, allocations: 0 / 1.278 GB, free: 1.031 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.02926/1.86, allocations: 10.26 MB / 1.288 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.86, allocations: 8.031 kB / 1.288 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001611/1.86, allocations: 120.7 kB / 1.288 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002028/1.862, allocations: 0.6019 MB / 1.288 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/1.867, allocations: 0.7417 MB / 1.289 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/1.879, allocations: 4.328 MB / 1.293 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004342/1.879, allocations: 330.1 kB / 1.294 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/1.881, allocations: 449 kB / 1.294 GB, free: 340 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/1.899, allocations: 7.413 MB / 1.301 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.224e-05/1.899, allocations: 5.812 kB / 1.301 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004807/1.9, allocations: 176.4 kB / 1.301 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005754/1.9, allocations: 416.8 kB / 1.302 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/1.916, allocations: 8.457 MB / 1.31 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04363/1.959, allocations: 19.33 MB / 1.329 GB, free: 12.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009134/1.969, allocations: 3.954 MB / 1.333 GB, free: 8.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005873/1.974, allocations: 3.157 MB / 1.336 GB, free: 5.441 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003782/1.978, allocations: 1.075 MB / 1.337 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.878e-05/1.978, allocations: 82.56 kB / 1.337 GB, free: 4.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 1.452e-05/1.978, allocations: 0 / 1.337 GB, free: 4.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=480): time 0.04404/2.022, allocations: 19.38 MB / 1.356 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/2.023, allocations: 129 kB / 1.356 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004861/2.027, allocations: 3.249 MB / 1.359 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.001022/2.028, allocations: 105.5 kB / 1.359 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001858/2.03, allocations: 2.096 MB / 1.361 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002319/2.033, allocations: 1.683 MB / 1.363 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/2.034, allocations: 0.7386 MB / 1.364 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001279/2.034, allocations: 305.1 kB / 1.364 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004299/2.039, allocations: 2.553 MB / 1.367 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005146/2.044, allocations: 2.811 MB / 1.369 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/2.054, allocations: 5.793 MB / 1.375 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/2.054, allocations: 0 / 1.375 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01502/2.069, allocations: 7.354 MB / 1.382 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/2.069, allocations: 9.562 kB / 1.382 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/2.069, allocations: 0 / 1.382 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007075/2.076, allocations: 1.754 MB / 1.384 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/2.08, allocations: 0.7022 MB / 1.385 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/2.095, allocations: 11.85 MB / 1.396 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/2.098, allocations: 110.2 kB / 1.396 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009038/2.099, allocations: 263.8 kB / 1.396 GB, free: 6.953 MB / 0.9825 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.00287/2.102, allocations: 1.275 MB / 1.398 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/2.103, allocations: 496.8 kB / 1.398 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02179/2.125, allocations: 10.97 MB / 1.409 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002016/2.125, allocations: 48 kB / 1.409 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.59e-05/2.125, allocations: 12 kB / 1.409 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/2.125, allocations: 23.91 kB / 1.409 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03053/2.156, allocations: 14.16 MB / 1.423 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/2.156, allocations: 7.984 kB / 1.423 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/2.159, allocations: 0.6593 MB / 1.423 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007183/2.166, allocations: 1.778 MB / 1.425 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001069/2.167, allocations: 174.8 kB / 1.425 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3368/2.504, allocations: 11.87 MB / 1.437 GB, free: 0.5046 GB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.504, allocations: 1.531 kB / 1.437 GB, free: 0.5046 GB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02109/2.525, allocations: 11.7 MB / 1.448 GB, free: 0.5014 GB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/2.527, allocations: 451.9 kB / 1.449 GB, free: 0.5013 GB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/2.528, allocations: 92.48 kB / 1.449 GB, free: 0.5013 GB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/2.531, allocations: 116 kB / 1.449 GB, free: 0.5012 GB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009739/2.532, allocations: 372.5 kB / 1.449 GB, free: 0.5012 GB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006972/2.532, allocations: 251.9 kB / 1.45 GB, free: 0.5011 GB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004637/2.537, allocations: 2.312 MB / 1.452 GB, free: 0.5003 GB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/2.537, allocations: 0 / 1.452 GB, free: 0.5003 GB / 1.014 GB Notification: Performance of remove unused functions: time 0.01179/2.549, allocations: 3.501 MB / 1.455 GB, free: 0.4999 GB / 1.014 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.02682/2.575, allocations: 16.34 MB / 1.471 GB, free: 0.4943 GB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01201/2.587, allocations: 6.752 MB / 1.478 GB, free: 0.4918 GB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.587, allocations: 3.281 kB / 1.478 GB, free: 0.4918 GB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.006606/2.594, allocations: 3.867 MB / 1.482 GB, free: 0.4902 GB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007563/2.602, allocations: 1.637 MB / 1.483 GB, free: 0.4898 GB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06943/2.671, allocations: 45.45 MB / 1.528 GB, free: 459.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/2.673, allocations: 2.811 MB / 1.53 GB, free: 456.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005638/2.679, allocations: 2.891 MB / 1.533 GB, free: 454.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003554/2.683, allocations: 2.499 MB / 1.536 GB, free: 451.7 MB / 1.014 GB Notification: Performance of SimCode: time 9.31e-07/2.683, allocations: 0.75 kB / 1.536 GB, free: 451.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2514/2.934, allocations: 205.4 MB / 1.736 GB, free: 247.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.73/31.66, allocations: 8 kB / 1.736 GB, free: 247.2 MB / 1.014 GB " [Timeout remaining time 628] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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.47900802001823]