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.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.001845/0.001845, 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.002324/0.002324, allocations: 210.9 kB / 22.24 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8184/0.8184, allocations: 100.9 MB / 413.3 MB, free: 2.906 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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: 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.002662/0.002662, allocations: 87.95 kB / 0.5641 GB, free: 35.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1364, allocations: 74.62 MB / 0.637 GB, free: 6.5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.513/1.649, allocations: 0.4944 GB / 1.131 GB, free: 212 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05046/1.699, allocations: 43.97 MB / 1.174 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005809/1.705, allocations: 315.9 kB / 1.175 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0114/1.717, allocations: 3.449 MB / 1.178 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04732/1.764, allocations: 18.89 MB / 1.196 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01647/1.78, allocations: 6.6 MB / 1.203 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01241/1.793, allocations: 9.309 MB / 1.212 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002615/1.796, allocations: 1.345 MB / 1.213 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009956/1.805, allocations: 4.852 MB / 1.218 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007872/1.813, allocations: 3.832 MB / 1.222 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001833/1.815, allocations: 0.5989 MB / 1.222 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06687/1.882, allocations: 29.56 MB / 1.251 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00447/1.887, allocations: 1.958 MB / 1.253 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008377/1.895, allocations: 2.685 MB / 1.256 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.06314/1.958, allocations: 22.06 MB / 1.277 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.958, allocations: 0 / 1.277 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/1.958, allocations: 0 / 1.277 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003333/1.958, allocations: 0 / 1.277 GB, free: 1.164 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.03007/1.988, allocations: 10.26 MB / 1.287 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.988, allocations: 9.469 kB / 1.287 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002293/1.991, allocations: 0.601 MB / 1.288 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/1.995, allocations: 0.7514 MB / 1.289 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/2.006, allocations: 4.33 MB / 1.293 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004206/2.007, allocations: 327.5 kB / 1.293 GB, free: 1 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001922/2.009, allocations: 446 kB / 1.294 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/2.023, allocations: 7.424 MB / 1.301 GB, free: 9.102 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.98e-05/2.023, allocations: 0 / 1.301 GB, free: 9.102 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/2.024, allocations: 178.4 kB / 1.301 GB, free: 8.941 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005301/2.024, allocations: 408.8 kB / 1.301 GB, free: 8.535 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/2.039, allocations: 8.421 MB / 1.31 GB, free: 92 kB / 0.8888 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0438/2.083, allocations: 19.34 MB / 1.329 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00765/2.09, allocations: 3.951 MB / 1.332 GB, free: 8.891 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005558/2.096, allocations: 3.164 MB / 1.335 GB, free: 5.719 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003494/2.1, allocations: 1.077 MB / 1.337 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.614e-05/2.1, allocations: 78.56 kB / 1.337 GB, free: 4.555 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 1.193e-05/2.1, allocations: 0 / 1.337 GB, free: 4.555 MB / 0.92 GB Notification: Performance of matching and sorting (n=480): time 0.0404/2.14, allocations: 19.38 MB / 1.356 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/2.14, allocations: 125.1 kB / 1.356 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004867/2.145, allocations: 3.257 MB / 1.359 GB, free: 13.71 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0009143/2.146, allocations: 102.4 kB / 1.359 GB, free: 13.61 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.001783/2.148, allocations: 2.091 MB / 1.361 GB, free: 11.51 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.001917/2.15, allocations: 1.688 MB / 1.363 GB, free: 9.848 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/2.151, allocations: 0.7418 MB / 1.363 GB, free: 9.113 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001296/2.151, allocations: 305.1 kB / 1.364 GB, free: 8.812 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004211/2.155, allocations: 2.549 MB / 1.366 GB, free: 6.262 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/2.161, allocations: 2.807 MB / 1.369 GB, free: 3.453 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/2.171, allocations: 5.789 MB / 1.375 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/2.171, allocations: 0 / 1.375 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01375/2.184, allocations: 7.363 MB / 1.382 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/2.184, allocations: 4 kB / 1.382 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/2.184, allocations: 0 / 1.382 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006741/2.191, allocations: 1.75 MB / 1.383 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003294/2.194, allocations: 0.7061 MB / 1.384 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/2.21, allocations: 11.85 MB / 1.396 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/2.214, allocations: 110.4 kB / 1.396 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/2.215, allocations: 262.7 kB / 1.396 GB, free: 7.234 MB / 0.9825 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.003702/2.219, allocations: 1.277 MB / 1.397 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002481/2.221, allocations: 496.8 kB / 1.398 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02175/2.243, allocations: 10.97 MB / 1.408 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001407/2.243, allocations: 48 kB / 1.409 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.873e-05/2.243, allocations: 12 kB / 1.409 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.741e-05/2.243, allocations: 23.91 kB / 1.409 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02897/2.272, allocations: 14.16 MB / 1.422 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/2.272, allocations: 4 kB / 1.422 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002935/2.275, allocations: 0.667 MB / 1.423 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006974/2.282, allocations: 1.778 MB / 1.425 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000947/2.283, allocations: 172.5 kB / 1.425 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6189/2.902, allocations: 11.86 MB / 1.437 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.902, allocations: 1.281 kB / 1.437 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02293/2.925, allocations: 11.7 MB / 1.448 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/2.926, allocations: 447 kB / 1.448 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/2.927, allocations: 94.14 kB / 1.448 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/2.929, allocations: 107.2 kB / 1.449 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007397/2.93, allocations: 380.4 kB / 1.449 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005436/2.931, allocations: 253.1 kB / 1.449 GB, free: 165.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003256/2.934, allocations: 2.313 MB / 1.451 GB, free: 165.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/2.934, allocations: 0 / 1.451 GB, free: 165.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.01184/2.946, allocations: 3.498 MB / 1.455 GB, free: 165.1 MB / 1.014 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.03124/2.977, allocations: 16.33 MB / 1.471 GB, free: 163.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01261/2.99, allocations: 6.756 MB / 1.477 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/2.99, allocations: 0 / 1.477 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.006936/2.997, allocations: 3.884 MB / 1.481 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007353/3.004, allocations: 1.638 MB / 1.483 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07936/3.083, allocations: 45.43 MB / 1.527 GB, free: 156.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003295/3.087, allocations: 2.816 MB / 1.53 GB, free: 156.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00635/3.093, allocations: 2.895 MB / 1.533 GB, free: 156.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003781/3.097, allocations: 2.497 MB / 1.535 GB, free: 155.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.242e-06/3.097, allocations: 0 / 1.535 GB, free: 155.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2692/3.366, allocations: 204.6 MB / 1.735 GB, free: 13.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.61/27.98, allocations: 7.125 kB / 1.735 GB, free: 13.64 MB / 1.061 GB " [Timeout remaining time 632] (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 --stepSize=0.001 --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/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: 33.22512718802318]