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.001384/0.001385, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001369/0.001369, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.291/1.291, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7189/0.7189, allocations: 91.2 MB / 381.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 81.38 kB / 459.9 MB, free: 23.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 67.7 MB / 0.5152 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.097/1.215, allocations: 0.5559 GB / 1.071 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5257/1.741, allocations: 48.53 MB / 1.119 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005933/1.747, allocations: 245.2 kB / 1.119 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009479/1.756, allocations: 3.619 MB / 1.122 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.05045/1.807, allocations: 17.27 MB / 1.139 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01749/1.824, allocations: 5.983 MB / 1.145 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01441/1.839, allocations: 9.15 MB / 1.154 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003987/1.843, allocations: 2.731 MB / 1.157 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/1.853, allocations: 4.604 MB / 1.161 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00712/1.86, allocations: 4.058 MB / 1.165 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009739/1.861, allocations: 0.5999 MB / 1.166 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06644/1.928, allocations: 37.6 MB / 1.202 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003837/1.932, allocations: 1.931 MB / 1.204 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.009675/1.941, allocations: 3.34 MB / 1.208 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.06276/2.004, allocations: 24.16 MB / 1.231 GB, free: 5.262 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/2.004, allocations: 0 / 1.231 GB, free: 5.262 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.164e-06/2.004, allocations: 0 / 1.231 GB, free: 5.262 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003224/2.004, allocations: 0 / 1.231 GB, free: 5.262 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: 1158 * Number of variables: 1158 Notification: Performance of Generate backend data structure: time 0.0287/2.033, allocations: 9.975 MB / 1.241 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/2.033, allocations: 8.031 kB / 1.241 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001651/2.035, allocations: 0.6036 MB / 1.241 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/2.037, allocations: 0.6484 MB / 1.242 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006131/2.043, allocations: 4.018 MB / 1.246 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/2.043, allocations: 329.9 kB / 1.246 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006358/2.044, allocations: 440.9 kB / 1.247 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/2.054, allocations: 7.336 MB / 1.254 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-05/2.054, allocations: 0 / 1.254 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000394/2.054, allocations: 177 kB / 1.254 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004361/2.055, allocations: 412.5 kB / 1.255 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/2.066, allocations: 8.303 MB / 1.263 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04529/2.111, allocations: 30.95 MB / 1.293 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007506/2.119, allocations: 4.346 MB / 1.297 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00534/2.124, allocations: 3.532 MB / 1.301 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007124/2.131, allocations: 8.105 MB / 1.308 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.062e-05/2.132, allocations: 89.66 kB / 1.309 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=476): time 1.04e-05/2.132, allocations: 0 / 1.309 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=480): time 0.04113/2.173, allocations: 20.42 MB / 1.328 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.578e-05/2.173, allocations: 129.1 kB / 1.329 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005385/2.178, allocations: 3.21 MB / 1.332 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003529/2.179, allocations: 98.39 kB / 1.332 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/2.18, allocations: 2.053 MB / 1.334 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/2.182, allocations: 1.598 MB / 1.335 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/2.183, allocations: 0.7428 MB / 1.336 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001026/2.183, allocations: 302.3 kB / 1.336 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003919/2.187, allocations: 2.557 MB / 1.339 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/2.192, allocations: 2.818 MB / 1.342 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008858/2.201, allocations: 5.789 MB / 1.347 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/2.201, allocations: 4 kB / 1.347 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01285/2.213, allocations: 7.38 MB / 1.355 GB, free: 11.21 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/2.213, allocations: 8 kB / 1.355 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/2.214, allocations: 4 kB / 1.355 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007141/2.221, allocations: 1.753 MB / 1.356 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/2.224, allocations: 0.7181 MB / 1.357 GB, free: 8.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/2.239, allocations: 12.21 MB / 1.369 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004623/2.243, allocations: 319.3 kB / 1.369 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/2.245, allocations: 266.2 kB / 1.369 GB, free: 11.61 MB / 0.9356 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.00478/2.25, allocations: 1.283 MB / 1.371 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002148/2.252, allocations: 470 kB / 1.371 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02034/2.272, allocations: 11.04 MB / 1.382 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001123/2.272, allocations: 55.94 kB / 1.382 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.724e-05/2.272, allocations: 11.98 kB / 1.382 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-05/2.273, allocations: 19.92 kB / 1.382 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02657/2.299, allocations: 15.32 MB / 1.397 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/2.299, allocations: 4 kB / 1.397 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/2.302, allocations: 0.6812 MB / 1.398 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00663/2.308, allocations: 1.796 MB / 1.399 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004839/2.309, allocations: 176.4 kB / 1.4 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/2.323, allocations: 12.23 MB / 1.411 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/2.323, allocations: 0 / 1.411 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/2.344, allocations: 11.78 MB / 1.423 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/2.345, allocations: 0.4952 MB / 1.423 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/2.346, allocations: 97.12 kB / 1.424 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/2.35, allocations: 323.1 kB / 1.424 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007551/2.35, allocations: 371.2 kB / 1.424 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006603/2.351, allocations: 262 kB / 1.424 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003902/2.355, allocations: 2.286 MB / 1.427 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.31e-07/2.355, allocations: 0 / 1.427 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01059/2.366, allocations: 3.513 MB / 1.43 GB, free: 13.29 MB / 0.9981 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.03095/2.397, allocations: 16.48 MB / 1.446 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02345/2.42, allocations: 9.681 MB / 1.456 GB, free: 3.539 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/2.42, allocations: 4 kB / 1.456 GB, free: 3.535 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007832/2.428, allocations: 4.219 MB / 1.46 GB, free: 15.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008549/2.436, allocations: 1.645 MB / 1.461 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3286/2.765, allocations: 58.21 MB / 1.518 GB, free: 0.5671 GB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/2.767, allocations: 3.31 MB / 1.522 GB, free: 0.566 GB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.005213/2.773, allocations: 2.895 MB / 1.524 GB, free: 0.5659 GB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002778/2.775, allocations: 2.521 MB / 1.527 GB, free: 0.564 GB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/2.775, allocations: 0 / 1.527 GB, free: 0.564 GB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.251/4.026, allocations: 199.8 MB / 1.722 GB, free: 402.6 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/4.026, allocations: 292.3 kB / 1.722 GB, free: 402.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/12.13, allocations: 8 kB / 1.722 GB, free: 402.2 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