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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6556/0.6556, allocations: 94.61 MB / 399.1 MB, free: 15.73 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-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_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 83.88 kB / 0.5444 GB, free: 12.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.414, allocations: 71.85 MB / 0.6146 GB, free: 3.812 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.045/1.459, allocations: 0.5626 GB / 1.177 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5962/2.055, allocations: 48.76 MB / 1.225 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006553/2.062, allocations: 222.3 kB / 1.225 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01052/2.073, allocations: 4.126 MB / 1.229 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.05109/2.124, allocations: 19.11 MB / 1.248 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01808/2.142, allocations: 6.479 MB / 1.254 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01552/2.157, allocations: 9.239 MB / 1.263 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004056/2.161, allocations: 1.382 MB / 1.264 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01358/2.175, allocations: 4.685 MB / 1.269 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008089/2.183, allocations: 4.026 MB / 1.273 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002478/2.185, allocations: 0.5986 MB / 1.273 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07872/2.264, allocations: 37.29 MB / 1.31 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00579/2.27, allocations: 1.954 MB / 1.312 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01004/2.28, allocations: 3.343 MB / 1.315 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.07791/2.358, allocations: 23.03 MB / 1.338 GB, free: 296 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/2.358, allocations: 4 kB / 1.338 GB, free: 292 kB / 0.8731 GB Notification: Performance of FrontEnd: time 2.254e-06/2.358, allocations: 0 / 1.338 GB, free: 292 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003292/2.358, allocations: 0 / 1.338 GB, free: 292 kB / 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.03739/2.396, allocations: 10.36 MB / 1.348 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/2.396, allocations: 8.031 kB / 1.348 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002304/2.398, allocations: 0.6046 MB / 1.348 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/2.401, allocations: 0.6832 MB / 1.349 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/2.413, allocations: 4.462 MB / 1.353 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/2.414, allocations: 327.6 kB / 1.354 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/2.415, allocations: 445.1 kB / 1.354 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/2.431, allocations: 7.331 MB / 1.361 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-05/2.431, allocations: 0 / 1.361 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004379/2.431, allocations: 176 kB / 1.361 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/2.432, allocations: 418 kB / 1.362 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/2.447, allocations: 8.304 MB / 1.37 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05494/2.502, allocations: 30.96 MB / 1.4 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/2.511, allocations: 3.969 MB / 1.404 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005901/2.517, allocations: 3.164 MB / 1.407 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007786/2.524, allocations: 8.109 MB / 1.415 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/2.525, allocations: 90.53 kB / 1.415 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=476): time 1.405e-05/2.525, allocations: 0 / 1.415 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=480): time 0.04796/2.573, allocations: 20.54 MB / 1.435 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/2.573, allocations: 129.1 kB / 1.435 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/2.578, allocations: 3.244 MB / 1.438 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/2.579, allocations: 103.4 kB / 1.438 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001901/2.581, allocations: 2.091 MB / 1.441 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002481/2.583, allocations: 1.687 MB / 1.442 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/2.585, allocations: 0.7499 MB / 1.443 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001479/2.585, allocations: 301.1 kB / 1.443 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004666/2.59, allocations: 2.553 MB / 1.446 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005467/2.595, allocations: 2.814 MB / 1.448 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/2.607, allocations: 5.789 MB / 1.454 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/2.607, allocations: 0 / 1.454 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.0168/2.624, allocations: 7.374 MB / 1.461 GB, free: 15.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/2.624, allocations: 4 kB / 1.461 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/2.624, allocations: 0 / 1.461 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007247/2.631, allocations: 1.761 MB / 1.463 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/2.634, allocations: 0.7076 MB / 1.464 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/2.651, allocations: 12.2 MB / 1.476 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/2.654, allocations: 108.4 kB / 1.476 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/2.655, allocations: 266.8 kB / 1.476 GB, free: 0.4922 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.003178/2.658, allocations: 1.282 MB / 1.477 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/2.66, allocations: 492.8 kB / 1.478 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02252/2.682, allocations: 11.01 MB / 1.488 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001717/2.682, allocations: 48 kB / 1.488 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-05/2.682, allocations: 12 kB / 1.489 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.912e-05/2.683, allocations: 23.91 kB / 1.489 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03394/2.717, allocations: 15.23 MB / 1.503 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-05/2.717, allocations: 0 / 1.503 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003276/2.72, allocations: 0.6906 MB / 1.504 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007412/2.727, allocations: 1.778 MB / 1.506 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001188/2.728, allocations: 184.7 kB / 1.506 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/2.745, allocations: 12.23 MB / 1.518 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/2.745, allocations: 0 / 1.518 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02584/2.771, allocations: 11.78 MB / 1.529 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/2.773, allocations: 0.5217 MB / 1.53 GB, free: 9.066 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/2.774, allocations: 89.7 kB / 1.53 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/2.777, allocations: 112.2 kB / 1.53 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000984/2.778, allocations: 368.1 kB / 1.53 GB, free: 8.523 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007121/2.778, allocations: 259.5 kB / 1.531 GB, free: 8.273 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00404/2.782, allocations: 2.319 MB / 1.533 GB, free: 5.949 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/2.782, allocations: 0 / 1.533 GB, free: 5.949 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0119/2.794, allocations: 3.559 MB / 1.536 GB, free: 2.391 MB / 1.076 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.03274/2.827, allocations: 16.5 MB / 1.553 GB, free: 2.23 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0145/2.842, allocations: 6.773 MB / 1.559 GB, free: 11.48 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/2.842, allocations: 0 / 1.559 GB, free: 11.48 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.008843/2.85, allocations: 3.908 MB / 1.563 GB, free: 7.641 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008805/2.859, allocations: 1.636 MB / 1.565 GB, free: 6.086 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3863/3.245, allocations: 45.55 MB / 1.609 GB, free: 0.6029 GB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/3.249, allocations: 3.332 MB / 1.612 GB, free: 0.6018 GB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.006896/3.256, allocations: 2.885 MB / 1.615 GB, free: 0.6017 GB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003974/3.26, allocations: 2.536 MB / 1.618 GB, free: 0.5998 GB / 1.123 GB Notification: Performance of SimCode: time 1.222e-06/3.26, allocations: 0 / 1.618 GB, free: 0.5998 GB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2867/3.546, allocations: 202 MB / 1.815 GB, free: 444.9 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.2/31.74, allocations: 15.92 kB / 1.815 GB, free: 444.9 MB / 1.123 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 --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_2/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: 36.62098839698592]