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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 195.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5669/0.5669, allocations: 89.5 MB / 379.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 78.75 kB / 457.7 MB, free: 23.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 67.31 MB / 0.5127 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 0.9871/1.094, allocations: 0.566 GB / 1.079 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4356/1.53, allocations: 49.08 MB / 1.127 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003447/1.533, allocations: 52.38 kB / 1.127 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007216/1.54, allocations: 3.612 MB / 1.13 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03679/1.577, allocations: 16.26 MB / 1.146 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01256/1.59, allocations: 5.758 MB / 1.152 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0113/1.601, allocations: 12.11 MB / 1.163 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/1.604, allocations: 2.303 MB / 1.166 GB, free: 16.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006469/1.61, allocations: 3.614 MB / 1.169 GB, free: 16.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004443/1.615, allocations: 3.693 MB / 1.173 GB, free: 16.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005784/1.615, allocations: 352.6 kB / 1.173 GB, free: 16.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05967/1.675, allocations: 40.32 MB / 1.213 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002591/1.678, allocations: 1.602 MB / 1.214 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003939/1.682, allocations: 2.753 MB / 1.217 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.04811/1.73, allocations: 23 MB / 1.239 GB, free: 5.172 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.73, allocations: 0 / 1.239 GB, free: 5.172 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/1.73, allocations: 0 / 1.239 GB, free: 5.172 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.635e-05/1.73, allocations: 4 kB / 1.239 GB, free: 5.168 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1130 * Number of variables: 1130 Notification: Performance of Generate backend data structure: time 0.02031/1.75, allocations: 8.98 MB / 1.248 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.75, allocations: 8.031 kB / 1.248 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006641/1.751, allocations: 0.5914 MB / 1.249 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/1.752, allocations: 0.5358 MB / 1.249 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/1.755, allocations: 2.507 MB / 1.252 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/1.755, allocations: 320 kB / 1.252 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/1.756, allocations: 430.6 kB / 1.252 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009148/1.765, allocations: 7.23 MB / 1.259 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.724e-05/1.765, allocations: 0 / 1.259 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003639/1.766, allocations: 174.2 kB / 1.26 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004132/1.766, allocations: 412.7 kB / 1.26 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009961/1.776, allocations: 8.218 MB / 1.268 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0301/1.806, allocations: 27.3 MB / 1.295 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007082/1.813, allocations: 4.258 MB / 1.299 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004779/1.818, allocations: 3.535 MB / 1.302 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006229/1.824, allocations: 8.106 MB / 1.31 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.62e-05/1.824, allocations: 78.56 kB / 1.31 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=475): time 9.147e-06/1.824, allocations: 0 / 1.31 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=479): time 0.03464/1.859, allocations: 19.73 MB / 1.33 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/1.859, allocations: 127.9 kB / 1.33 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/1.862, allocations: 2.121 MB / 1.332 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003206/1.862, allocations: 102.5 kB / 1.332 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009642/1.863, allocations: 1.521 MB / 1.333 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/1.864, allocations: 1.601 MB / 1.335 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/1.866, allocations: 0.7415 MB / 1.336 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/1.866, allocations: 305.1 kB / 1.336 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/1.87, allocations: 2.554 MB / 1.338 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004172/1.874, allocations: 2.807 MB / 1.341 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008547/1.882, allocations: 5.792 MB / 1.347 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/1.882, allocations: 0 / 1.347 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.01293/1.895, allocations: 7.409 MB / 1.354 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.895, allocations: 4 kB / 1.354 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.895, allocations: 0 / 1.354 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006583/1.902, allocations: 1.751 MB / 1.356 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/1.905, allocations: 0.7141 MB / 1.356 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.918, allocations: 11.52 MB / 1.368 GB, free: 5.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/1.921, allocations: 314.7 kB / 1.368 GB, free: 5.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006465/1.922, allocations: 265.3 kB / 1.368 GB, free: 5.23 MB / 0.92 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 {(2,4), (2,4), (2,4), (1,5), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002185/1.924, allocations: 1.123 MB / 1.369 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000955/1.925, allocations: 347.7 kB / 1.37 GB, free: 3.801 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/1.943, allocations: 10.97 MB / 1.38 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.925e-05/1.943, allocations: 48 kB / 1.38 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/1.943, allocations: 12 kB / 1.38 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/1.943, allocations: 27.91 kB / 1.38 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/1.968, allocations: 14.89 MB / 1.395 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.968, allocations: 0 / 1.395 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/1.97, allocations: 0.6902 MB / 1.396 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006574/1.977, allocations: 1.789 MB / 1.397 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003914/1.977, allocations: 177.5 kB / 1.398 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/1.99, allocations: 11.52 MB / 1.409 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.99, allocations: 7.938 kB / 1.409 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/2.009, allocations: 11.61 MB / 1.42 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/2.01, allocations: 400.6 kB / 1.421 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006102/2.01, allocations: 94.17 kB / 1.421 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/2.013, allocations: 317.9 kB / 1.421 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006964/2.013, allocations: 373.8 kB / 1.421 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005369/2.014, allocations: 254 kB / 1.422 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002032/2.016, allocations: 1.553 MB / 1.423 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/2.016, allocations: 0 / 1.423 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.008298/2.024, allocations: 3.468 MB / 1.426 GB, free: 9.492 MB / 0.9825 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 {(1,5), (2,4), (2,4), (1,5), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02771/2.052, allocations: 16.28 MB / 1.442 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01189/2.064, allocations: 7.113 MB / 1.449 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.064, allocations: 0 / 1.449 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006671/2.071, allocations: 4.171 MB / 1.453 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006142/2.077, allocations: 1.438 MB / 1.455 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2765/2.353, allocations: 49.26 MB / 1.503 GB, free: 0.5863 GB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00277/2.356, allocations: 2.933 MB / 1.506 GB, free: 0.5853 GB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.005531/2.362, allocations: 2.766 MB / 1.508 GB, free: 0.5851 GB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002619/2.364, allocations: 2.01 MB / 1.51 GB, free: 0.5837 GB / 1.029 GB Notification: Performance of SimCode: time 1.463e-06/2.364, allocations: 1.656 kB / 1.51 GB, free: 0.5837 GB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.541/7.905, allocations: 182.9 MB / 1.689 GB, free: 447.9 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/7.905, allocations: 283.5 kB / 1.689 GB, free: 447.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/15.05, allocations: 0 / 1.689 GB, free: 447.5 MB / 1.029 GB (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 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) 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) Reference file matches