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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 105.4 kB / 16.45 MB, free: 6.504 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.001915/0.001915, allocations: 191.7 kB / 19.4 MB, free: 3.68 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.43/1.43, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.7487/0.7487, allocations: 94.59 MB / 397.3 MB, free: 0.7031 MB / 302.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 82.19 kB / 0.5416 GB, free: 42.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1225, allocations: 71.86 MB / 0.6118 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.437/1.559, allocations: 0.5597 GB / 1.171 GB, free: 15.12 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0521/1.612, allocations: 48.51 MB / 1.219 GB, free: 11.12 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0059/1.617, allocations: 220.8 kB / 1.219 GB, free: 11.12 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01014/1.628, allocations: 4.124 MB / 1.223 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.04964/1.677, allocations: 19.1 MB / 1.242 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01929/1.697, allocations: 6.468 MB / 1.248 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01308/1.71, allocations: 9.248 MB / 1.257 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003113/1.713, allocations: 1.808 MB / 1.259 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008731/1.722, allocations: 4.683 MB / 1.263 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006554/1.728, allocations: 4.01 MB / 1.267 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001836/1.73, allocations: 0.6016 MB / 1.268 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06521/1.795, allocations: 37.28 MB / 1.304 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003019/1.798, allocations: 1.96 MB / 1.306 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006013/1.804, allocations: 3.332 MB / 1.31 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.05355/1.858, allocations: 23.03 MB / 1.332 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.858, allocations: 0 / 1.332 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.627e-06/1.858, allocations: 4 kB / 1.332 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003008/1.858, allocations: 0 / 1.332 GB, free: 7.672 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.02816/1.886, allocations: 10.36 MB / 1.342 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.886, allocations: 16.03 kB / 1.342 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001683/1.888, allocations: 0.5977 MB / 1.343 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/1.89, allocations: 0.6832 MB / 1.343 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.901, allocations: 4.46 MB / 1.348 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/1.902, allocations: 326.1 kB / 1.348 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/1.904, allocations: 454.4 kB / 1.348 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/1.922, allocations: 7.334 MB / 1.356 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/1.922, allocations: 0 / 1.356 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/1.924, allocations: 180.2 kB / 1.356 GB, free: 15.37 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006898/1.924, allocations: 408.8 kB / 1.356 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/1.941, allocations: 8.302 MB / 1.364 GB, free: 6.637 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04921/1.99, allocations: 30.95 MB / 1.395 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007743/1.997, allocations: 3.978 MB / 1.398 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005874/2.003, allocations: 3.16 MB / 1.402 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007396/2.011, allocations: 8.114 MB / 1.409 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/2.011, allocations: 82.56 kB / 1.41 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=476): time 1.422e-05/2.011, allocations: 0 / 1.41 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=480): time 0.343/2.354, allocations: 20.53 MB / 1.43 GB, free: 478.6 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/2.354, allocations: 131.4 kB / 1.43 GB, free: 478.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00458/2.359, allocations: 3.241 MB / 1.433 GB, free: 477.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/2.36, allocations: 107.1 kB / 1.433 GB, free: 477.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/2.361, allocations: 2.1 MB / 1.435 GB, free: 475.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001735/2.363, allocations: 1.686 MB / 1.437 GB, free: 474.6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/2.364, allocations: 0.7514 MB / 1.437 GB, free: 474.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 5.48e-05/2.364, allocations: 301.1 kB / 1.438 GB, free: 474.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003403/2.367, allocations: 2.545 MB / 1.44 GB, free: 473 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004241/2.372, allocations: 2.819 MB / 1.443 GB, free: 471.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00832/2.38, allocations: 5.797 MB / 1.449 GB, free: 469.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/2.38, allocations: 0 / 1.449 GB, free: 469.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01224/2.392, allocations: 7.363 MB / 1.456 GB, free: 466.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/2.392, allocations: 5.219 kB / 1.456 GB, free: 466.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/2.392, allocations: 7.25 kB / 1.456 GB, free: 466.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00625/2.398, allocations: 1.745 MB / 1.457 GB, free: 465.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/2.402, allocations: 0.7098 MB / 1.458 GB, free: 465.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/2.413, allocations: 12.21 MB / 1.47 GB, free: 456.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003846/2.417, allocations: 110.7 kB / 1.47 GB, free: 456.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/2.419, allocations: 261.7 kB / 1.47 GB, free: 456.6 MB / 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.003692/2.422, allocations: 1.278 MB / 1.472 GB, free: 455.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001955/2.424, allocations: 495.3 kB / 1.472 GB, free: 455.7 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/2.444, allocations: 11 MB / 1.483 GB, free: 450.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001937/2.444, allocations: 48.06 kB / 1.483 GB, free: 450.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.403e-05/2.444, allocations: 11.69 kB / 1.483 GB, free: 450.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/2.445, allocations: 23.91 kB / 1.483 GB, free: 450.4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0297/2.474, allocations: 15.23 MB / 1.498 GB, free: 437.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.211e-05/2.474, allocations: 4 kB / 1.498 GB, free: 437.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003036/2.477, allocations: 0.6865 MB / 1.499 GB, free: 436.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006424/2.484, allocations: 1.796 MB / 1.5 GB, free: 434.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001147/2.485, allocations: 179 kB / 1.5 GB, free: 434.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/2.497, allocations: 12.23 MB / 1.512 GB, free: 422.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.497, allocations: 0 / 1.512 GB, free: 422.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0215/2.518, allocations: 11.78 MB / 1.524 GB, free: 410.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/2.52, allocations: 0.5157 MB / 1.524 GB, free: 409.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/2.522, allocations: 95.83 kB / 1.525 GB, free: 409.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003766/2.526, allocations: 107.4 kB / 1.525 GB, free: 409.5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001332/2.527, allocations: 366.8 kB / 1.525 GB, free: 409.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001109/2.528, allocations: 259.4 kB / 1.525 GB, free: 408.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004413/2.533, allocations: 2.315 MB / 1.527 GB, free: 406.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.11e-07/2.533, allocations: 0 / 1.527 GB, free: 406.6 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01305/2.546, allocations: 3.56 MB / 1.531 GB, free: 403.6 MB / 0.9669 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.03847/2.584, allocations: 16.5 MB / 1.547 GB, free: 388.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01366/2.598, allocations: 6.774 MB / 1.554 GB, free: 381.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/2.598, allocations: 2.344 kB / 1.554 GB, free: 381.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.008142/2.606, allocations: 3.902 MB / 1.558 GB, free: 377.6 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01085/2.617, allocations: 1.63 MB / 1.559 GB, free: 376.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09879/2.716, allocations: 45.53 MB / 1.604 GB, free: 330.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005856/2.722, allocations: 3.333 MB / 1.607 GB, free: 327.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.007946/2.73, allocations: 2.891 MB / 1.61 GB, free: 324.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005007/2.735, allocations: 2.534 MB / 1.612 GB, free: 322 MB / 0.9669 GB Notification: Performance of SimCode: time 2.334e-06/2.735, allocations: 3.938 kB / 1.612 GB, free: 322 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.266/4.001, allocations: 201 MB / 1.808 GB, free: 121.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.15/34.15, allocations: 7.875 kB / 1.808 GB, free: 121.5 MB / 0.9669 GB " [Timeout remaining time 626] (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_2/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: 39.955773062072694]