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.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.001902/0.001902, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002884/0.002884, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.814/1.814, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 1.086/1.086, allocations: 94.62 MB / 407.1 MB, free: 8.84 MB / 318.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/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_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: 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.002739/0.002739, allocations: 92.69 kB / 0.555 GB, free: 38.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2223, allocations: 73.05 MB / 0.6263 GB, free: 160 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 2.238/2.46, allocations: 0.4944 GB / 1.121 GB, free: 316 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.08139/2.541, allocations: 43.95 MB / 1.164 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008722/2.55, allocations: 309.8 kB / 1.164 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01382/2.564, allocations: 3.457 MB / 1.167 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.07976/2.644, allocations: 18.87 MB / 1.186 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02835/2.672, allocations: 6.602 MB / 1.192 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0219/2.694, allocations: 9.272 MB / 1.201 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004601/2.699, allocations: 1.337 MB / 1.203 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01885/2.717, allocations: 4.828 MB / 1.207 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01299/2.73, allocations: 3.826 MB / 1.211 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.004543/2.735, allocations: 0.6013 MB / 1.212 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09665/2.832, allocations: 29.55 MB / 1.24 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.006333/2.838, allocations: 1.952 MB / 1.242 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.01173/2.85, allocations: 2.693 MB / 1.245 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.09734/2.947, allocations: 22.08 MB / 1.267 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/2.947, allocations: 3.938 kB / 1.267 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.452e-06/2.947, allocations: 3.984 kB / 1.267 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0005286/2.948, allocations: 0 / 1.267 GB, free: 11.1 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.04339/2.991, allocations: 10.26 MB / 1.277 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001013/2.991, allocations: 8.031 kB / 1.277 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00353/2.995, allocations: 0.5996 MB / 1.277 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005456/3, allocations: 0.7513 MB / 1.278 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/3.017, allocations: 4.322 MB / 1.282 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006365/3.017, allocations: 325.3 kB / 1.282 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002625/3.02, allocations: 444 kB / 1.283 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/3.045, allocations: 7.418 MB / 1.29 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002303/3.045, allocations: 3.938 kB / 1.29 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001853/3.047, allocations: 181.7 kB / 1.29 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008677/3.048, allocations: 412.8 kB / 1.291 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02168/3.069, allocations: 8.417 MB / 1.299 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06864/3.138, allocations: 19.34 MB / 1.318 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/3.148, allocations: 3.951 MB / 1.322 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007205/3.155, allocations: 3.157 MB / 1.325 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004558/3.16, allocations: 1.074 MB / 1.326 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/3.16, allocations: 82.5 kB / 1.326 GB, free: 14.54 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 1.765e-05/3.16, allocations: 4 kB / 1.326 GB, free: 14.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=480): time 0.06599/3.226, allocations: 19.39 MB / 1.345 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/3.226, allocations: 125.1 kB / 1.345 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009146/3.236, allocations: 3.252 MB / 1.348 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.001662/3.237, allocations: 106.5 kB / 1.348 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002849/3.24, allocations: 2.095 MB / 1.35 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00386/3.244, allocations: 1.68 MB / 1.352 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004997/3.249, allocations: 0.7369 MB / 1.353 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002418/3.249, allocations: 309.1 kB / 1.353 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006355/3.255, allocations: 2.549 MB / 1.355 GB, free: 244 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007899/3.263, allocations: 2.819 MB / 1.358 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/3.277, allocations: 5.789 MB / 1.364 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.649e-05/3.277, allocations: 0 / 1.364 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01715/3.294, allocations: 7.361 MB / 1.371 GB, free: 244 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/3.294, allocations: 6.031 kB / 1.371 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/3.294, allocations: 4 kB / 1.371 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007475/3.302, allocations: 1.742 MB / 1.373 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/3.306, allocations: 0.7022 MB / 1.373 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/3.325, allocations: 11.84 MB / 1.385 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004939/3.33, allocations: 113.2 kB / 1.385 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002091/3.332, allocations: 266.9 kB / 1.385 GB, free: 1.211 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.006048/3.338, allocations: 1.266 MB / 1.387 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003473/3.342, allocations: 0.493 MB / 1.387 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0316/3.373, allocations: 10.97 MB / 1.398 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002527/3.374, allocations: 48 kB / 1.398 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.7e-05/3.374, allocations: 12 kB / 1.398 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002024/3.374, allocations: 23.92 kB / 1.398 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04454/3.418, allocations: 14.16 MB / 1.412 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.097e-05/3.418, allocations: 4.125 kB / 1.412 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003901/3.422, allocations: 0.671 MB / 1.412 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008126/3.43, allocations: 1.777 MB / 1.414 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001701/3.432, allocations: 180.3 kB / 1.414 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01949/3.452, allocations: 11.87 MB / 1.426 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/3.452, allocations: 3.938 kB / 1.426 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03301/3.485, allocations: 11.7 MB / 1.437 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002743/3.487, allocations: 444.7 kB / 1.438 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002726/3.49, allocations: 93.31 kB / 1.438 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004836/3.495, allocations: 107.5 kB / 1.438 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001774/3.497, allocations: 381.6 kB / 1.438 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001729/3.498, allocations: 255.4 kB / 1.438 GB, free: 10.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.006846/3.505, allocations: 2.315 MB / 1.441 GB, free: 8.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/3.505, allocations: 0 / 1.441 GB, free: 8.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01871/3.524, allocations: 3.499 MB / 1.444 GB, free: 4.621 MB / 1.029 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.5729/4.097, allocations: 16.32 MB / 1.46 GB, free: 0.5257 GB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01808/4.115, allocations: 6.751 MB / 1.467 GB, free: 0.5232 GB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/4.115, allocations: 0 / 1.467 GB, free: 0.5232 GB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.008236/4.123, allocations: 3.885 MB / 1.47 GB, free: 0.5217 GB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/4.134, allocations: 1.624 MB / 1.472 GB, free: 0.5212 GB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09735/4.231, allocations: 45.45 MB / 1.516 GB, free: 0.4952 GB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/4.234, allocations: 2.816 MB / 1.519 GB, free: 0.4926 GB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.007234/4.242, allocations: 2.894 MB / 1.522 GB, free: 0.49 GB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004342/4.246, allocations: 2.495 MB / 1.524 GB, free: 499.3 MB / 1.029 GB Notification: Performance of SimCode: time 2.635e-06/4.246, allocations: 0 / 1.524 GB, free: 499.3 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.339/4.585, allocations: 204.6 MB / 1.724 GB, free: 295.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.93/32.51, allocations: 3.938 kB / 1.724 GB, free: 295.5 MB / 1.029 GB " [Timeout remaining time 627] (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/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: 38.62342788791284]